Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Run Eclipse from command line as GDB frontend
icon5.gif  Run Eclipse from command line as GDB frontend [message #1220768] Fri, 13 December 2013 13:44 Go to next message
Serg Ponomarenko is currently offline Serg PonomarenkoFriend
Messages: 3
Registered: December 2012
Junior Member
Hello CDT Guys!
My task is to run Eclipse/CDT from command line (actually, unit test), like DDD or other GDB frontends, in the following way:
1) Start Eclipse/CDT from scratch.
2) Attach to specified application (e.g. by PID, passed in args)
3) Set breakpoint to the specified place (passed in args)

Did anyone perform such tricks?

It can be done with GDB/DDD pretty easily. But with Eclipse... I've already been looking for the approach for about 1.5 years.

Thanks in advance,
With a hope,
Serg.

[Updated on: Fri, 13 December 2013 13:47]

Report message to a moderator

Re: Run Eclipse from command line as GDB frontend [message #1220771 is a reply to message #1220768] Fri, 13 December 2013 14:07 Go to previous messageGo to next message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
There is an ongoing effort to have a CDT Sandalone debugger which would do what you are looking for.
But it may be available in the next release of Eclipse (June)

https://wiki.eclipse.org/CDT/StandaloneDebugger
Re: Run Eclipse from command line as GDB frontend [message #1220775 is a reply to message #1220771] Fri, 13 December 2013 14:15 Go to previous message
Serg Ponomarenko is currently offline Serg PonomarenkoFriend
Messages: 3
Registered: December 2012
Junior Member
Thanks, Marc!
I'll try it!
Previous Topic:CDT Headless builder modifies .cproject file for project under build
Next Topic:An internal error occurred during: "Launching..."
Goto Forum:
  


Current Time: Wed Apr 24 14:23:41 GMT 2024

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

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

Back to the top