16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

dbx: source<br />

Description<br />

The source subcommand reads dbx subcommands from the file specified by the<br />

file argument.<br />

Usage Note<br />

The source subcommand can be run only while the dbx debug program is running.<br />

Example<br />

To read the dbx subcommands in the cmdfile file, enter:<br />

source cmdfile<br />

status subcommand for dbx: Display the active trace and stop<br />

subcommands<br />

Format<br />

status [>file]<br />

Description<br />

The status subcommand displays the trace and stop subcommands currently<br />

active. The > option sends the output of the status subcommand to a file specified<br />

in the file argument.<br />

Option<br />

>file Redirects output to file.<br />

Usage Note<br />

The status subcommand can be run only while the dbx debug program is running.<br />

Examples<br />

1. To display the currently active trace and stop subcommands, enter:<br />

status<br />

2. To stop at line 52 only when thread $t2 reaches that line, enter:<br />

stop at 52 if $t2==$current<br />

Related Information<br />

The clear, delete, stop, and trace subcommands.<br />

step subcommand for dbx: Run one or more source lines<br />

Format<br />

step [number]<br />

Description<br />

The step subcommand runs source lines of the program. Specify the number of<br />

lines to be run with the number argument. If the number argument is omitted, it<br />

defaults to a value of 1.<br />

Usage notes<br />

1. The step subcommand can be run only while the dbx debug program is<br />

running.<br />

2. If the $hold_next variable is defined, dbx holds all threads except the focus<br />

thread during a step subcommand. Then dbx unholds the threads after the<br />

step subcommand finishes.<br />

220 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!