MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debug Tool. Set breakpoint in program "lower down"

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 620
Topics: 173
Location: Stockholm, Sweden

PostPosted: Fri Mar 05, 2021 3:05 am    Post subject: Debug Tool. Set breakpoint in program "lower down" Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Fri Mar 05, 2021 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
misi01
Advanced


Joined: 02 Dec 2002
Posts: 620
Topics: 173
Location: Stockholm, Sweden

PostPosted: Mon Mar 08, 2021 10:57 am    Post subject: Reply with quote

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
Quote:

qual res

_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group