|
https://www.itjungle.com/2012/10/03/fhg100312-story01/
Am 02.02.2024 um 01:59 schrieb Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>:
Liam,
SEP (Service Entry Points) basically pause the program when it reaches the breakpoint and then sends the correct STRSRVJOB command to you.
The system debugger and RDi will automatically receive the STRSRVJOB command (you don't even see it) and automatically start the debugger at that point. In green-screen you have to do it manually, but in either case it's handy.
Imagine a situation where your program starts in a batch job, runs, then ends. How do you debug it if you don't know the job id, and the job ends immediately if something doesn't stop it?
SEP makes that easy because it stops the program AND either opens the debugger (in GUI) or sends you the job id (in green-screen) so you don't have to worry about trying to figure it out somehow. It saves a lot of effort. Especially with network servers where it's normal for a new job to be spawned, a program run, and then the job ended.
If you read the rest of the thread, there are articles about how to use it, etc that are linked.
-SK
On 2/1/2024 6:18 PM, liam henderson wrote:--
Sorry for my ignorance, but what is SEP?
I’m all green screen and use STRSRVJOB and STRDBG all the time
On Thu, 1 Feb 2024 at 22:09, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
wrote:
Service Entry Points are available in all of:
- Green Screen Debugger
- System Debugger (which you were just telling us about)
- RDi debugger
Sadly, VS Code does not (yet) have support for SEPs. Personally I find
the System Debugger so buggy that it isn't usable, and I find RDi slow
and cumbersome. So I typically use the green-screen debugger. I use
SEPs almost every day, and they've been around for ages. I find it odd
that soooo many people in this conversation don't know about them.
On 2/1/2024 3:20 PM, Daniel Gross wrote:
The System Debugger is integrated in iACS and completely independentfrom RDi - with this you can remotely debug any job.
I don't know if the "service entry point" debugging is RDi exclusive,but I didn't find it anywhere else until now.
HTHa
Daniel
Am 01.02.2024 um 22:04 schrieb Brad Stone <bvstone@xxxxxxxxx>:
Here ya go.. been doing it for years:
https://www.fieldexit.com/forum/display?threadid=48
On Thu, Feb 1, 2024 at 2:54 PM <vforbes@xxxxxxxxx> wrote:
I have a web service & I need to be able to put the job into debug.
I remember that RDi could put a put a like on a program such that when
relatedjob calls it that job is put into remote debug. I don't have RDi. ☹
Is there a way I can do it without RDi. Maybe VScode?
Vincent Forbes
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.questions.--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.