Skip to main content


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 19:15 Go to next message
chenna varri is currently offline chenna varriFriend
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 14:01 Go to previous message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
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 Apr 26 11:09:06 GMT 2024

Powered by FUDForum. Page generated in 0.02431 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top