Adding breakpoint actions

To add a new breakpoint action:

  1. Click Window > Preferences.
  2. Expand C/C++ > Debug and click Breakpoint Actions.

    Breakpoint Actions preference dialog

  3. In the Breakpoint Actions page, click New.

    New Breakpoint Action dialog

  4. In the New Breakpoint Action dialog box, type a name for the action in the Action name box.
  5. Select an action from the Action type list.
  6. Set the action's attributes:
    • For a sound action, select a sound file.
    • For a log action, type the message to appear in the Log Action Messages console.
    • For a resume action, set the Resume after time in seconds.
    • For an external tool action, click Choose to select a program.
  7. Click OK.

The new breakpoint actions appears in the Actions available for any breakpoint in the workspace list.

Related concepts
C/C++ Development perspective

Related tasks
Using breakpoints, watchpoints, and breakpoint actions

Related reference
Debug preferences

Nokia Copyright Statement