|Re: How to set GDB breakpoint actions? [message #1231483 is a reply to message #1231183]
||Tue, 14 January 2014 14:47
| Marc Khouzam
Registered: July 2009
There is no support in the Eclipse/CDT UI to set GDB actions on breakpoints. CDT has it's own small set of actions that can be run when a breakpoint is hit. You can right-click on a breakpoint and choose "Breakpoint Properties... -> Actions" to see what is available. Press "New" to create a new action.|
As for using the gdb console, it should allow you to set GDB actions yourself. I just tried it:
Breakpoint 5 at 0x4007e9: file test.cc, line 11.
> echo "do something useful"
"do something useful"
Make sure you are in the actual gdb console an not the process console or the gdb traces console.
Powered by FUDForum
. Page generated in 0.01857 seconds