× 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.



On 7/5/2017 10:18 AM,
SReeves@xxxxxxxxxxxxxxxxxx wrote:

After a bunch of testing and trying to figure out if I had the right
username I ended up going back to the original program, and that would
stop for the Service Entry Point. So I added some free code in it, and it
still worked.

This describes my environment. I have RPG III-style code that I add
fully-free specs into. I can't ever recall a problem with the debugger
not stopping due to a mix of specs.

I then changed one line of code in the main C specs to free
form (a call subroutine), and it stopped working again. So I changed that
line back to fixed format and it still would not go into debug.

This implies:
Save
Compile *PGM
SEP > Refresh
CALL *PGM (or SBMJOB...)
*PGM runs to completion and debugger does not stop it

Is that correct?

So, I
then went back to the original program and recompiled under a new program
name and that new version worked again.

So, a new *PGM? This has two implications that I can think of:
1) Never been put in debug
2) Not in QRPLOBJ library (as it would be with *REPLACE)

Again I changed that call
subroutine and it stopped loading in debug.

Several things to look at:
1) Is the original program call terminating? That sounds odd, but if
it's in a named activation group and no LR, then the program may not yet
have terminated.

2) In Preferences > IBMi Debug is the box called 'Terminate session on
program termination' selected?

3) In the RDi Debug View, when you've debugged as much as you want to
(eg you want to change the source, recompile and try again) there is a
red square (Run > Terminate). If that red square is clickable, the
original debug session is running, pointing to a program that is now in
QRPLOBJ. Click that Terminate icon, then SEP > Refresh and see if that
cures this.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.