Defining debug settings

Select a debugger to use when debugging an application.

To select a debugger:

  1. In the C/C++ Projects view, select a project.
  2. Click Run > Run or Run > Debug.
  3. In the Configurations box, expand C/C++ Local.
  4. Select a run or debug configuration.
  5. Click the Debugger tab..
    Screen Capture of Run Debugger dialog box
  6. Select a debugger from the Debugger list.
  7. To be prompted to select a process from a list at run-time, select Attach to running process.
  8. To let your program run until you interrupt it manually, or until it hits a breakpoint, clear the Stop at main() on startup check box .
  9. Specify debug options in the Debugger Options box.
  10. Click Run or do the following, as required:

Related concepts
CDT Projects
Project file views
Debug overview
Debug information

Related tasks
Creating or editing a run configuration

Related reference
Run and Debug dialog box

IBM Copyright Statement