View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
How do I set a breakpoint before every CALL statement in COBOL? Also which manual provides information about this? Thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
What if you set the Breakpoint to the first line of executable code in the Called sub-program?
Is it the Caller you're concerned with or the Called sub-program? |
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
This still requires me to manually set the breakpoints one at a time. I am debugging a mainline program that calls a lot of subroutines. I want to execute the subroutine and then check the results immediately afterwards. There doesn't seem to be an easy way to do this. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
xpeditor? intertest? debug tool? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Xpediter allows BEFORE ALL CALL but since you didn't tell us which product you are using, I'm not sure if that is relevant. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
For xpeditor,
i wrote a rexx to scan thru a compiler listing,
that way I had the correct pg/ln
for my scripts containing
BEFORE and AFTER BREAK points. |
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
We have Xpediter/TSO 9.0
I might try the rexx idea and generate a script |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
another way:
when in source mode,
x all, find all "call",
A newline
A newline
A newline
A newline |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
B newline,
since they are for BEFORE breaks. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Robert:
Quote: |
Xpediter allows BEFORE ALL CALL but since you didn't tell us which product you are using, I'm not sure if that is relevant.
|
Jerryte:
Quote: |
We have Xpediter/TSO 9.0
I might try the rexx idea and generate a script |
Huh? |
|
Back to top |
|
|
|