Sun Studio 12 Update 1: Debugging a Program With dbx

Options

For both native mode and Java mode, options are the following options:

-B

Suppress all messages; return with exit code of program being debugged. 

-c commands

Execute commands before prompting for input.

-C

Preload the Runtime Checking library (see check Command).

-d

Used with -s, removes file after reading.

-e

Echo input commands. 

-f

Force loading of core file, even if it doesn’t match. 

-h

Print the usage help on dbx.

-I dir

Add dir to pathmap set (see pathmap Command).

-k

Save and restore keyboard translation state. 

-q

Suppress messages about reading stabs. 

-r

Run program; if program exits normally, exit. 

-R

Print the readme file on dbx.

-s file

Use file instead of /current_directory/.dbxrc or $HOME/.dbxrc as the startup file

-S

Suppress reading of initialization file /installation_directory/lib/dbxrc.

-V

Print the version of dbx.

-w n

Skip n frames on where command.

-x exec32

Run the 32-bit dbx binary instead of the 64-bit dbx binary that runs by default on systems running a 64-bit OS.

--

Marks the end of the option list; use this if the program name starts with a dash.