User forums > Help
Need help how to setup for debugger in CB16.01
papagym:
This post is kind of wordy and I apologize. This info may also be beneficial to other users. I'm using Windows 10 64 pro, mingw GNU W64, and CB 16.01
The code::blocks wiki is of little use on how to setup and uses the debugger in version 16.01 since the last version show in there is 12xx. Then the 16xx dialog box for the compiler setting it totally different. I have attempted to use the debugger may times without success and searched many websites for help. I'm adding a screen snip of my complies settings and a copy of the data shown in the debugger screen after trying to run a (debug version) of my project. Can you please check to make sure I have the setting boxes checked right. Any help you will give me to get the debugger working will be appreciated, Thanks. A current hyperlink would help.
Info from Debugger window:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0
Compiler Settings:
oBFusCATed:
--- Quote from: papagym on July 09, 2016, 11:45:23 pm ---Starting the debuggee failed: No executable specified, use `target exec'.
--- End quote ---
My guess is that you're using path with spaces or other non-ascii-alphabet characters.
But you have to paste full debugger log to make sure this is the case. You can enable this log in Settings -> Debugger.
papagym:
If my project compiled ok with the path I used shouldn't it work with the debugger as well? I have all my projects under D:\CB-Projects but Code::Blocks is under D:\Program Files (x86)\CodeBlocks.
I have the compiler flag Debugger symbols [-g] box checked. But the old wiki shows another box checked below it checked. I don't know if I need it or not in CB16.01, since I can't expand the wiki picture to read what it says. I'm not sure if I need? The wiki says something about a switch. Is this available on 16.01 and where? I know I can resize the compiler settings window to make it bigger.
I'll send in a log once I have ever thing set properly in 16.01.
papagym:
Why did part of my post got crossed out? It shouldn't be.
stahta01:
--- Quote from: papagym on July 13, 2016, 02:57:56 am ---Why did part of my post got crossed out? It shouldn't be.
--- End quote ---
Likely because you did it. Please look at the B I U S buttons; you likely hit the S button.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version