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 15:07
Armond Paiva is currently offline Armond Paiva
Messages: 3
Registered: March 2011
Junior Member
Linux, Juno sr1, CDT 1.31.1


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?

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

Current Time: Fri Aug 22 19:49:01 EDT 2014

Powered by FUDForum. Page generated in 0.09463 seconds