Sun Studio 12 Update 1: Debugging a Program With dbx

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).