User forums > Help
Problem pausing debugger using TDM-GCC64, C::B v13.12
ollydbg:
I find the reason, see: MinGW-w64 - for 32 and 64 bit Windows / Discussion / Help:DebugBreakProcess fails
C::B is currently 32bit
Maybe, we can learn from QTcreator:
https://qt.gitorious.org/qt-creator/qt-creator-leppa/commit/2bc24b7a25ba7faf523166bbb75e36a9e7528124
glindsey:
Interesting -- thanks for looking into the problem. For the time being I can work fine setting breakpoints before running the program; heck, it's better than what I have at work, where I usually don't have a debugger and have to trace code execution with cout statements!
Since I assume porting C::B to 64 bits is a pretty big project, maybe in the meantime the existing app could call some sort of small 64-bit "shim" app which could pause the running process? I'm just shooting in the dark here...
oBFusCATed:
What an unpleasant situation. :(
The second executable seems like the only choice, but this requires some work and lots of testing.
I have no time to do it so patches are welcome! I'll try to review and push them with priority!
C::B is buildable in 64bit mode, but I'm not sure how well does it work on windows.
Vuki:
I've compiled SVN 9744 in 64 bit mode with TDM 4.8.1-3. Pausing the debugger works - sort of. It does not return control to the program, so you can pause the process, but you cannot resume it or debug code.
--- Code: ---Trying to interrupt process with pid: 2432; child pid: 2432 gdb pid: 3560
Program received signal SIGTRAP, Trace/breakpoint trap.
In ?? () ()
--- End code ---
oBFusCATed:
Can you post the full log from the debugger?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version