View previous topic :: View next topic |
Author |
Message |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 620 Topics: 173 Location: Stockholm, Sweden
|
Posted: Fri Mar 05, 2021 3:05 am Post subject: Debug Tool. Set breakpoint in program "lower down" |
|
|
This must (?) be possible, but how?
Assume I'm debugging and at the start of program A. A calls B which calls C.
How do I "load" C into the source window so I can scroll through it and set a breakpoint in it. qualify program-name gives the impression that that will do it, but I can't get it to work. Any ideas? _________________ Michael |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Fri Mar 05, 2021 10:55 am Post subject: |
|
|
misi01,
Did you Issue the command CU ? or AT CALL ? Make sure the sub programs you want to debug are compiled with right DEBUG options.
Assuming you are debugging COBOL modules, check the chapters 22 and 23 in the User's guide
IBM z/OS Debugger User Guide _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
misi01 Advanced
Joined: 02 Dec 2002 Posts: 620 Topics: 173 Location: Stockholm, Sweden
|
Posted: Mon Mar 08, 2021 10:57 am Post subject: |
|
|
I found the answer.
The first line in the source code being displayed (by default, a green line ?) shows the text
Quote: |
SOURCE: CURRPRG -1----+----2 etc etc
|
Tab to CURRPRG and overwrite this with the program code you want to review amd press Enter. That program will now be shown in the source window.
Once you've inserted any breakpoints, return to where you were via the command
_________________ Michael |
|
Back to top |
|
|
|
|