Sun Studio 12: Debugging a Program With dbx

prog Command

The prog command manages programs being debugged and their attributes. It has identical syntax and identical functionality in native mode and Java mode.

Syntax

prog -readsyms

Read symbolic information which was postponed by having set the dbx run_quick environment variable to on.

prog -executable

Prints the full path of the executable, - if the program was attached to using -.

prog -argv

Prints the whole argv, including argv[0].

prog -args

Prints the argv, excluding argv[0].

prog -stdin

Prints < filename or empty if stdin is used.

prog -stdout

Prints > filename or >> filename or empty if stdout is used. The outputs of -args, -stdin, -stdout are designed so that the strings can be combined and reused with the run command (see run Command).