Thanks Vern - good point.  However, I signed off and on after compiling, so I don't think that's the problem.

On 8/9/2018 8:08 AM, Vernon Hamberg wrote:
I'm not sure this has been brought up, and I might be a little off in the details.

Anyhow, a replaced program can end up being confusing when debugging - you have the option to replace the program, and if that program is in use in a job, it is "moved" to QRPLOBJ. It is still resolved to the copy of that program that was loaded into memory.

If your debug session is active and open to that program, it would continue using the old version. The *LIST display option would be of the old source, the *SOURCE display option would be the new source, and you would not have expected progress when stepping through.

I usually try to be sure to end the program and end debug before compiling changes - and maybe get lucky if I've done the compile, then end program and debug.

In extreme cases, I end the job and start clean.


On 8/9/2018 8:57 AM, Voris, John wrote:
Are there any /COPY copybooks in the RPGLE pgm or module ?
Are there any CL doing any kind of OVR*** commands ?

Also, I always Exit with F12 and then invoke the program with a CALL.  I do not use F10.

When I started debug, it showed the correct source, then I pressed F10 to get back to the command line and invoked the program.? The first place it broke was not only not *inzsr, it was about 200
statements into the program - not even close to the first statement.
*Peter Dow*

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].