Several annoying problems with Cygwin GDB [message #722401] |
Mon, 05 September 2011 16:37 |
Laurent Haas Messages: 3 Registered: August 2011 |
Junior Member |
|
|
Hi
I'm battling for few days against GDB Cygwin debugger in Eclipse, on a non-managed project (ie with an existing makefile).
I'm currently using Eclipse 3.7.0 (I20110613-1736) on WinXP, CDT 8.0.0.201106081058, and the latest Cygwin 1.7.9 with GDB 7.3.50.20110821-cvs (cygwin-special)
The most annoying bugs I have are :
1/ Unable to suspend while the code is running. Hitting the button in the Debug pane just does nothing, except you can't Resume afterwards (the button is disabled), and the only way is to terminate !
2/ Setting a breakpoint while the code is running is just impossible : It generates a yellow sign "Breakpoint attribute problem: Installation failed". The gdb traces console does not reflect this action. The only way is to terminate your program, set the breakpoint, and restart the debugging procedure !
3/ If by chance you can set a breakpoint at the right place, and the Disassembly window is opened, the Step Over command doesn't work. The gdb traces console says :
412,640 (gdb)
414,031 125-exec-next --thread 6 1
414,031 125^error,msg="Warning:\nCannot insert breakpoint -192.\nError accessing memory address 0x7c\
343646: Input/Output error.\n"
and now, you're stuck. Closing the disassembly window afterwards is useless. You can only Resume (or Terminate)...
It is almost impossible to debug anything without spending hours on it.
Seriously, am I the only one to face these very annoying issues ? Or did I missed something ?
Thanks !
[Updated on: Mon, 05 September 2011 16:40] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03159 seconds