Debugging a Program With dbx

Command Reference

Syntax

$ dbx [-options] [program_name [corefile | process_id]]

Start-up Options

-c cmds

Execute cmds before prompting for input and after loading the program

-C

Preload the runtime checking library  

-d

Used with -s, removes file after reading

-f

Force loading of corefile, even if it doesn't appear to match 

-F

Enable Cfront demangling 

-h

Print the usage help on dbx

-I dir

Add dir to pathmap set

-k

Save and restore keyboard translation state 

-q

Suppress messages about reading stabs 

-r

Run program; if program exits normally, quit dbx

-R

Print the README file on dbx

-s file

Use file instead of .dbxrc or .dbxinit as the startup file

-S

Suppress reading of the installation startup file 

-V 

Print the version of dbx

-w n

Skip n frames on where command

-- 

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