Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse C/C++ Developer Guide
Previous Page Home Next Page

Attaching or removing breakpoint actions

You can attach one or more breakpoint actions to a single breakpoint. For example, when the breakpoint is hit you could both log a message and play a sound. Actions are executed in the order they appear in the Actions for this breakpoint list.

To attach or remove a breakpoint action from a breakpoint:

  1. In the Breakpoints view, right-click the breakpoint, and select Properties.
  2. In the Properties for C/C++ Breakpoint dialog box, click Actions.
    Actions page in Breakpoint Properties Dialog Box
  3. In the Available actions list:
    • Select an action and click Attach to link it to the breakpoint. Repeat as required.
    • To add a new breakpoint action, click New.
    • To edit the selected breakpoint action, click Edit.
    • To delete the selected action, click Delete.

      NOTE: Deleting a breakpoint action removes it from the workspace.

  4. In the Actions for this breakpoint list you can:
    • Click Remove to delete the selected action from the list.
    • Click Up to move the selected action up in the list.
    • Click Down to move the selected action down in the list.
  5. Click OK.

Related tasks
Using breakpoints, watchpoints, and breakpoint actions

Related reference
Debug preferences

Nokia Copyright Statement

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire