Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: uriotcea on June 08, 2010, 09:43:26 am
-
hello,
I just installed MingW-w64 with gdb7 and when I tried to use debugging gdb staring correctly but never catch breakpoint and C::B is frozen
Thnak in advance for your help
-
Please specify some software version, os, cb, compiler?
Have you read this page: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks ?
-
C::B version is 8.02, but in fact in think my trouble comes because I try to debug a 32bit C++ code with a 64bit compilator and debugger, gcc4.5 with gdb7. I don't know why, but my 64bis compilor is not able to debug 32bits source
-
Compilers don't debug, debuggers are used for this task!
OK, if you have a 64bit compiler and debugger, can you debug 64bit apps?
-
Yes, debug and compile my application perfectely works when I used -m64 options for compilor an llinker. When I replace by -m32, I can compiler and link and my application works but I can't debug. I think that come from a gdb bug
-
Or gdb is build to debug only 64bit apps?
So this is not a C::B's problem.
Please ask the gdb people or the guys you've got the debugger.
-
Yes I think that as I wrote it in my second message !