Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Breakpoint command not sent to gdb when debugging attached program(Breakpoint command not sent to gdb when debugging attached program)
Breakpoint command not sent to gdb when debugging attached program [message #988756] Sun, 02 December 2012 20:07
Armond Paiva is currently offline Armond PaivaFriend
Messages: 3
Registered: March 2011
Junior Member
Linux, Juno sr1, CDT 1.31.1

Folks,

Attempting to debug by attaching to an application using gdb/gdb-server.

I'm able to connect up and run the application to completion, however I can not set breakpoints. When the breakpoint is set (double clicking in the source window), no gdb-mi command is sent according to the console. Otherwise the gdb-mi console looks fine... threads reported Ok, no errors, and so on.

(The program is compiled with debug info, I'm able to break as expected directly in GDB and even DDD. This only seems to be an issue under CDT)


The debug configuration is of type "Attach to application" with the GDB (DSF) launcher, I've selected gdb server, set the server name and port, and also specified the correct executable (which does match up with what the server is reporting in the gdb-mi console.)

Any suggestions on how to proceed?

Thanks.
Previous Topic:Indexer "crashes" at simple example
Next Topic:typename keyword is not completes
Goto Forum:
  


Current Time: Mon Nov 24 12:30:46 GMT 2014

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

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