The .dbxrc File | Converting an Old .dbxinit File into a .dbxrc File |
Useful Aliases in a .dbxrc File | Useful Functions in a .dbxrc File |
The following are typical entries in a .dbxrc file. After creating a .dbxrc file as described in Creating a .dbxrc File, uncomment the appropriate lines in the file to enable the entries you want.
set +o path | Uncomment this line to disable $PATH searching. |
set -o ignoresuspend | Uncomment this line to cause dbx to ignore ^Z. |
set -o emacs | Uncomment this line to enable emacs-style command editing. |
set -o vi | Uncomment this line for vi-style editing. |
dbxenv output_short_file_name on | Uncomment this line to print short pathnames for files . |
dbxenv scope_look_aside o | Uncomment this line to find file static symbols even when not in scope. |
dbxenv output_dynamic_type on | Uncomment this line to cause -d to be the default for printing and displaying (C++). |
dbxenv stack_verbose off | Uncomment this line to suppress printing of arguments and line numbers in where (improves performance). |
button ignore step up | Uncomment this line to add a step up button to the Custom Button Window in Sun WorkShop Debugging. |
Enable dbx journaling to help Sun support personnel diagnose bugs in the field. If you are debugging on a sparcv9 machine running a 64-bit kernel, uncomment the following two commands:
import /opt/SUNWspro/lib/v9/debugging.so >/dev/null
log -default -start
Otherwise, uncomment these two commands:
import /opt/SUNWspro/lib/debugging.so >/dev/null
log -default -start