Skip to main content

Servers   >   Mainframe servers   >   z/OS   >  

Hints and tips

Hints and tips
This is a list of hidden useful dbx information. These things may be removed at a future time, changed or break since they are not usually tested.

stop{}
On the stop command, you can add up to two commands that dbx will execute when the stop point is reached. For example:
stop in func1
{print "a=",a," b=",b}

stop at "fred.c":52 {clear 52; stop at 75}
debug37
After your program is running, at least stopped in main(), then you can set a "trace func" for every function in your program that dbx knows about by entering: debug 37.

debug38
After your program is running, at least stopped in main(), then you can set a "stop in func" for every function in your program that dbx knows about by entering: debug 38.