User forums > Using Code::Blocks
How do I use the mingw64 gdb debugger?
lucky7456969:
Hello,
I wonder how do I use the mingw64 gdb debugger instead of the
mingw32 provided by the codeblocks package.
I start up a debuggee, and it goes away immediately. I point to the C:\mingw64\bin\gdb.exe in the debugger
setting menu. The program runs fine, but I just can't make it stop at the breakpoints.
Thanks
Jack
--- Code: ---[debug]Starting program:
[debug]>>>>>>cb_gdb:
Starting the debuggee failed: No executable specified, use `target exec'.
--- End code ---
oBFusCATed:
Do you have a project?
And post the full log from the debugger please.
lucky7456969:
Where can I find such files? I have enable full logging,
but there isn't any .log file existed in my project folder.
Thanks
Jack
oBFusCATed:
Log and Others -> Debugger -> Right click -> Copy to clipboard
lucky7456969:
Thanks for helping!
Jack
--- Code: ---Build started on: 07-04-2014 at 03:30.44
Build ended on: 07-04-2014 at 03:30.47
-------------- Build: Debug in PerfectSim (compiler: mingw64 - nonunicode)---------------
x86_64-w64-mingw32-g++.exe -Wall -g -g -Wall -g -IE:\Software\Q\qt-4.7.4\4.7.4-qt-x64\include -IE:\Software\Q\qt-4.7.4\4.7.4-qt-x64\include\QtGui -c "E:\Jacky\Documents\Code Blocks Projects\PerfectSim\Camera\Camera.cpp" -o obj\Debug\Camera\Camera.o
x86_64-w64-mingw32-g++.exe -Wall -g -g -Wall -g -IE:\Software\Q\qt-4.7.4\4.7.4-qt-x64\include -IE:\Software\Q\qt-4.7.4\4.7.4-qt-x64\include\QtGui -c "E:\Jacky\Documents\Code Blocks Projects\PerfectSim\main.cpp" -o obj\Debug\main.o
x86_64-w64-mingw32-g++.exe -Wall -g -g -Wall -g -IE:\Software\Q\qt-4.7.4\4.7.4-qt-x64\include -IE:\Software\Q\qt-4.7.4\4.7.4-qt-x64\include\QtGui -c "E:\Jacky\Documents\Code Blocks Projects\PerfectSim\OpenGLWidget.cpp" -o obj\Debug\OpenGLWidget.o
x86_64-w64-mingw32-g++.exe -LE:\Software\Q\qt-4.7.4\4.7.4-qt-x64\lib -o bin\Debug\PerfectSim.exe obj\Debug\Camera\Camera.o obj\Debug\main.o obj\Debug\OpenGLWidget.o -lQtCore4 -lQtGui4 "C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x64\d3dx9d.lib" E:\Software\Q\qt-4.7.4\4.7.4-qt-x64\lib\libQtCored4.a E:\Software\Q\qt-4.7.4\4.7.4-qt-x64\lib\libQtGuid4.a E:\Software\Q\qt-4.7.4\4.7.4-qt-x64\lib\libQtHelpd4.a E:\Software\Q\qt-4.7.4\4.7.4-qt-x64\lib\libqtmaind.a D:\mingw64\x86_64-w64-mingw32\lib\libuser32.a D:\mingw64\x86_64-w64-mingw32\lib\libkernel32.a D:\mingw64\x86_64-w64-mingw32\lib\libgdi32.a D:\mingw64\x86_64-w64-mingw32\lib\libgdiplus.a D:\mingw64\x86_64-w64-mingw32\lib\libd3dx9.a -mwindows
Output file is bin\Debug\PerfectSim.exe with size 549.12 KB
Process terminated with status 0 (0 minute(s), 2 second(s))
0 error(s), 0 warning(s) (0 minute(s), 2 second(s))
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version