Whenever I have encountered this situation, I usually recompile the program in question, sign off, sign back on again, and start the debug over again
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
‘If you're going through hell, keep going.’
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Peter Dow
Sent: Wednesday, August 08, 2018 4:23 PM
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Subject: [EXTERNAL] STRDBG source not matching using *LIST view
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.
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx> pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD