Sun Studio 12: Debugging a Program With dbx

Initialization File Sample

Here is a sample .dbxrc file:

dbxenv input_case_sensitive false
catch FPE

The first line changes the default setting for the case sensitivity control:

The next line is a debugging command, catch, which adds a system signal, FPE, to the default list of signals to which dbx responds, stopping the program.