× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

Cheers
Vern

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*


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.