Customizing the Debugging Configuration for a Program

A debugging configuration is a collection of information used for debugging a particular process or core file. dbxtool uses a default configuration for debugging a program unless you define a custom configuration. When you are debugging a program, the settings in the debugging configuration for the program override the global debugging options that you can set in the Options window (see Setting Global Debugging Options). You can customize the debugging configuration for a program on the Debugging tab in the Debug Executable, Configure Current Debugged Session, and Edit Debug Target dialog boxes.

To modify the default debugging configuration and save a custom configuration for debugging a program:

  1. If you are starting a debug session by choosing Debug > Debug Executable, you can modify the configuration in the Debug Executable dialog box.
  2. If the program is paused during a debugging session, choose Debug > Configure Current Session.
  3. If you do not have a current debug session but want to modify the debugging configuration of a program you have previously debugged, choose Debug > Recent > Edit Debug Target, and select the program from the list in Edit Debug Target dialog box.
  4. On the Running Tab:
    1. Type any run arguments in the Arguments text field or click the browse button to type the arguments in Running-Arguments dialog box.
    2. Specify the run directory by:
      • Typing a path name in the Run Directory field.
      • Clicking the browse button and then clicking the Browse button in the Running-Run Directory dialog box, selecting the directory in the Run Directory dialog box and clicking Select, and clicking OK in the Running-Run Directory dialog box.
    3. Specify any environment variables by clicking the browse button, typing the settings in Running-Environment dialog box. Click OK.
  5. Set Debugging Options for the debugging session on the Debugging tab.
  6. If you want to do memory access, or memory leak and usage testing, set Runtime Checking Options on the RunTime Memory Checking tab.

The custom debugging configuration for a program persists for subsequent debugging sessions on that program.


Legal Notices