User forums > Help

Can't debug with CodeBlocks

<< < (2/4) > >>

Urxae:
Wait, what compiler are you using? Compilers other than MinGW/GCC (depending on whether you're using Windows or Linux/Unix) may not be supported by the GDB debugger...
For other compilers you may have to use an external debugger or wait until Code::Blocks supports more debuggers :(.
Well, that or switch compilers, ofcourse :mrgreen:.

realruntime:
Hello,
      Thanks, I really Microsoft C++ 2003 compiler so it appears that it's not compatible with gdb. can you tell me what debugger can I use now with MS compiler?!
Thanks,
Mustafa ELBanna

grv575:
download the platform sdk.
make sure produce debugging symbols is checked
add /debug to extra link options :\
rebuild
psdk->install debugging tools for windows
debug with windbg
this gives you source level debugging.
windbg tutorial here: http://www.codeproject.com/debug/windbg_part1.asp

realruntime:
Hello,
      Command window of WinDbg opens and this message generates for me
"Could not create process 'w -annotate=2 -silent', Win32 error 2
The system cannot find the file specified"
!!??
Thanks,
Mustafa ELBanna

rickg22:

--- Quote from: realruntime on August 29, 2005, 03:09:13 pm ---Hello,
      Thanks, I really Microsoft C++ 2003 compiler so it appears that it's not compatible with gdb.

--- End quote ---

 :roll: Why, oh why, didn't we add a "Debugging is only supported for GCC and compatibles" message?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version