User forums > Help
enable debugger in code::blocks 16.01
(1/1)
MortalChip:
I install a code::blocks with debugger, but when I try to use him I receive next errors in debugger window:
"[debug]gcc.exe: error: unrecognized command line option '-quiet'
[debug]gcc.exe: error: unrecognized command line option '-nx'
[debug]gcc.exe: error: unrecognized command line option '-fullname'
[debug]gcc.exe: error: unrecognized command line option '-args'
Debugger finished with status 1"
What I do wrong? :-\
Jenna:
It looks like gcc.exe is set as your debugger executable.
For MinGW/GCC it should be gdb.exe (on windows).
MortalChip:
--- Quote from: jens on December 28, 2016, 11:35:13 pm ---It looks like gcc.exe is set as your debugger executable.
For MinGW/GCC it should be gdb.exe (on windows).
--- End quote ---
Thanks you a lot! ;D
I set gdb.exe, but now I heve different problem :-\
After I setup denugger as gdb.exe debugger start to run, but no matter where I set breakpoint, after debugger run and reaching breakpoint, I have next error:
--- Code: ---In ?? () ()
[debug]> info locals
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No symbol table info available.
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0 0x0009e0d8 in ?? ()
[debug]#1 0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:
Cannot find bounds of current function
[debug]> next
[debug]Cannot find bounds of current function
[debug]>>>>>>cb_gdb:
Cannot find bounds of current function
--- End code ---
Even if this "next line" work fine when breakpoint is after it.
I forget to set something? :/
SOLVED: I should to choose gbc32.exe. :-[
Navigation
[0] Message Index
Go to full version