Debugging an Executable

See Also 

To debug an executable:

  1. Choose Debug > Debug Executable.
  2. In the Debug dialog box, select the development host from the Host drop-down list.

    To add a new development host, click Hosts to open the Remote Host Settings dialog box.

  3. Type the full path to the executable in the Executable text field, or click the Browse button and navigate to the executable in the Select Executable 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.
  7. Click Debug.
  8. The program you selected is loaded into dbxtool but is not started. The debugging session is put into the Paused state. If you have saved a debugging configuration for the program, the Debugger uses that configuration. Otherwise, it uses the default debugging configuration. To run the program, click Start or Continue on the toolbar.
See Also
Starting a Debugging Session

Legal Notices