Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » breakpoint commands list (Trying to execute a set of commands after hitting a breakpoint)
breakpoint commands list [message #859693] Fri, 27 April 2012 15:15 Go to next message
chenna varri is currently offline chenna varri
Messages: 1
Registered: April 2012
Junior Member
Hi All,

I am trying to execute a set of commands when a breakpoint is hit. i.e.to place a set of commands in breakpoint properties in Eclipse, something as described here for GDB

ofb.net/gnu/gdb/gdb_35.html

For now I can only place breakpoint conditions but not a list of commands to execute when the condition becomes true
Is anyone aware of the syntax or does Eclipse even have this feature?

Thanks for any help,

-Red [CentOS x64, Eclipse Helios CDT]
Re: breakpoint commands list [message #865647 is a reply to message #859693] Mon, 30 April 2012 10:01 Go to previous message
Marc Khouzam is currently offline Marc Khouzam
Messages: 274
Registered: July 2009
Senior Member
CDT does not currently support this in the UI but it shouldn't be very hard. Please refer to:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291766

You can achieve what you want by using the Eclipse gdb console, where you can type your commands as a real gdb command-line

Marc
Previous Topic:Cannot access memory at address 0x1 - Error
Next Topic:configure GDB for eclipse to use jlink edu
Goto Forum:
  


Current Time: Fri Aug 29 20:31:07 EDT 2014

Powered by FUDForum. Page generated in 0.01593 seconds