Debugging a Program With dbx

Command Reference

The syntax of the command is:


collector collector_commands

To stop collecting data, use one of these commands:


collector sample mode off
quit


collector show options

To show settings of one or more categories

options can be:

no option 

List setting options 

-profile

Show profile settings 

-sample

Show sample settings 

-store

Show store settings 

-working_set

Show working_set settings 

For example:


collector show

To specify profile options:


collector profile options

options can be:

-mode stack | pc_only | off

Specifies profile data collection mode 

-timer milliseconds

Stops collecting performance data 

For example:


collector profile mode stack

To specify one or more sample options:


collector sample options

options can be:

-mode continuous | manual | off

Specifies data collection mode 

-timer milliseconds

Specifies data collecting period 

For example:


collector sample timer 20

To inquire status about current experiment:


collector status

To find the directory or file name of the stored experiment:


collector store options

options can be:

-directory string

Specifies directory where experiment is stored 

-filename string

Specifies experiment file name 

For example:


collector store directory ".test.z.er"

To specify working_set options:


collector working_set options

options can be:

-mode on | off

Specifies data collection mode 

For example:


collector working_set mode off