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



Sounds like maybe there may be another version of PROGRAM3 earlier in the library list than the one you hope to debug.

"Jonathan Mason" <jonathan.mason@xxxxxxxxxxxxxxxx> wrote:

Hi All

A colleague of mine is having an issue trying to debug an OPM program
using the ILE Debugger and it has us both completely stumped.

He has set the debugger to start debugging at the first program in his
process and is then using F22 to step into each program as he reaches
them. For the second program this worked fine, but for the third
program the debugger just jumps straight to the next line of the
current
program rather than stepping into program three.

All of the programs are OPM (generated by Synon/2e) and he is using the
STRDBG command with OPMSRC(*YES) specified. Each of the programs has
been recompiled into a testing library with the *SRCDBG option set so
the debugger should pick it up.

In fact if he presses F14 within the source display and adds the third
program to the list of programs he can display the source and add
breakpoints. However the source doesn't get entered into.

The call to program three does carry an error indicator (*IN90) which
is
off when the next line is reached, also the default Synon return code
for the called program is blank indicating successful completion.

The correct version of Program Three is at the top of the library list,
but we can't see any reason why the debugger would appear to step over
the program call. When F10 (or F22) is pressed to step into the third
program the display does jump back to the *ENTRY parameter list of the
second program before another F10 moves it back to the line after the
call.

Any help would be gratefully appreciated.

All the best

Jonathan


_______________________________________________________
This message was sent using NOCC v1.14 webmail software
_______________________________________________________




--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

--
Sent from my Galaxy tablet phone with with K-9 Mail. Please excuse my brevity.

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.