Debugging Projects

When you use the New Bareboard Project wizard to create a new project, the wizard sets the debugger settings of the project's launch configurations to default values. You can change these default values based on your requirements.

To debug a project, perform these steps.

  1. Launch the IDE.
  2. From the main menu bar of the IDE, select Run > Debug Configurations . The IDE uses the settings in the launch configuration to generate debugging information and initiate communications with the target board.

    The DebugConfigurations dialog box appears. The left side of this dialog box has a list of debug configurations that apply to the current application.

    Note: For more information on how to use the debugger, refer to the CodeWarrior Common Features Guide and the Working with Debugger chapter of this manual.
  3. Expand the CodeWarrior Download configuration.
  4. From the expanded list, select the debug configuration that you want to modify.

    The figure below displays the Debug Configurations dialog box with the settings for the debug configuration you selected.

    Figure 1. Debug Configurations Dialog Box
    Debug Configurations Dialog Box
  5. Click the Debugger tab.

    The Debugger page appears in the area beneath the tabs.

    Figure 2. Debug Configurations Dialog Box - Debugger Page
    Debug Configurations Dialog Box - Debugger Page
  6. Change the settings on this page as per your requirements.
    Note: For more information on debugger, refer to the chapter Working with Debugger.
  7. Click Apply to save the new settings.
  8. Click Debug to start the debugging session.

    You just finished starting a debugging session and attaching the debugger to a process.

    Note: You can click Revert to undo any of the unsaved changes. The IDE restores the last set of saved settings to all pages of the Debug Configurations dialog box. Also, the IDE disables Revert until you make new pending changes.