|Breakpoint command not sent to gdb when debugging attached program [message #988756]
||Sun, 02 December 2012 20:07
| Armond Paiva
Registered: March 2011
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?
Powered by FUDForum
. Page generated in 0.01680 seconds