Bug 291766 - [breakpoints] Support breakpoint actions of the backend
Summary: [breakpoints] Support breakpoint actions of the backend
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 10:59 EDT by Marc Khouzam CLA
Modified: 2020-09-04 15:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2009-10-08 10:59:56 EDT
Currently we support breakpoint actions performed by eclipse.  These are such things as Resume, Play Sound, Log, etc.  More such commands can be contributed to Eclipse.

GDB supports breakpoint commands directly.  Such things as print, continue, calling a method, and many of the things GDB can do.  Supporting this would allow an eclipse user to have more possibilities for breakpoint actions.  Also, some of these actions would be more efficient to do in the backend than in eclipse, to avoid the communication delay.

Bug 284286 will be adding support for tracepoint actions in the backend, which is a specialized case of backend breakpoint actions.  Once tracepoints are in, this bug could be easy to solve.

With GDB 7.0 the new MI command -break-commands has been added to set commands for a breakpoint.