This is on v7r3, ptf group SF99876. I'm using STRDBG on PgmA, which calls PgmB.
Both PgmA and PgmB are RPGLE programs that have been compiled with DBGVIEW(*ALL), no optimization.
Using F10 to step through PgmA when it calls PgmB, the debugger switches to PgmB and shows a statement in the middle of the program, not the first statement in the *INZSR subroutine.
I used F15 to switch between all 3 available listings (source, list, copy) and they all show the same statement.
Call stack shows I'm in the correct programs.
The usual problem when I've encountered this before is I'm not in the right program, or the program pointing to the wrong source, or optimization has been done. None of these are the current situation.
*Peter Dow* /
Dow Software Services, Inc.
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /