|
----- Message from Buck Calabro <kc2hiz@xxxxxxxxx> on Thu, 3 Nov
2016 15:12:51 -0400 -----
To:
wdsci-l@xxxxxxxxxxxx
Subject:
Re: [WDSCI-L] Newbie: debug a program running in batch
On 11/3/2016 1:53 PM, Dan wrote:
I wonder how much of the issue can be attributed to Eclipse vs. IBM.
So, I guess my cheat sheet for debugging in RDi is:
1) Exit RDi
2) Delete workspace
3) Start RDi
4) Set the SEP(s), ensuring correct object library and user ID
5) On the i, start a brand new job, ensuring correct library list (or
qualify your program call)
I don't do anything like that, and never did.
theEven with all that, I find I'm still having problems. It appears that
set atfirst call to PGMA is "caught" by the debugger (I have a breakpoint
samethe first executable statement), but subsequent calls to PGMA in the
theCL program stream are not. I just now confirmed this by debugging in
getting togreen screen, which works properly. I've wasted most of my day
this point. Not happy.
Preferences > Run/Debug > IBM i Debug
Select the option to 'Terminate debug session on program completion' and
RDi will click that red button for you when the first CALL ends (and
every one after as well).
About the only 'change' I had to make to my workflow to accommodate the
SEP debugger was to click the 'Refresh' after a compile. That's it. I
haven't used green screen debug in maybe 10 years and literally the only
code I work on is green screen RPG.
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.