User forums > Help
How to use "watch"?
TheUnusualGuy:
Weird, I've also just realized that I'm unable to type anything in the command: field as well.
oBFusCATed:
--- Code: ---Starting debugger: C:\Program Files\CodeBlocks\MinGW\gdb32\bin\gdb32.exe -G -lines -2 -y C:/Users/glf4tim/Desktop/double1/double1/; -srcpath C:/Users/glf4tim/Desktop/double1/double1/; C:/Users/glf4tim/Desktop/double1/double1/bin/Debug/double1.exe
done
[debug]C:\Program Files\CodeBlocks\MinGW\gdb32\bin\gdb32.exe: unrecognized option `-G'
[debug]Use `C:\Program Files\CodeBlocks\MinGW\gdb32\bin\gdb32.exe --help' for a complete list of options.
--- End code ---
Obviously this is your problem. I guess you've set some options to gdb which you shouldn't have done.
Inspect the options in Settings -> Debugger and remove the things that won't work.
TheUnusualGuy:
--- Quote from: oBFusCATed on October 17, 2019, 07:55:50 pm ---
--- Code: ---Starting debugger: C:\Program Files\CodeBlocks\MinGW\gdb32\bin\gdb32.exe -G -lines -2 -y C:/Users/glf4tim/Desktop/double1/double1/; -srcpath C:/Users/glf4tim/Desktop/double1/double1/; C:/Users/glf4tim/Desktop/double1/double1/bin/Debug/double1.exe
done
[debug]C:\Program Files\CodeBlocks\MinGW\gdb32\bin\gdb32.exe: unrecognized option `-G'
[debug]Use `C:\Program Files\CodeBlocks\MinGW\gdb32\bin\gdb32.exe --help' for a complete list of options.
--- End code ---
Obviously this is your problem. I guess you've set some options to gdb which you shouldn't have done.
Inspect the options in Settings -> Debugger and remove the things that won't work.
--- End quote ---
Thanks! It seems that I just had the wrong debugger type chosen!
Is this how the debugger log should appear to be? https://www.heypasteit.com/clip/0ITAK7
oBFusCATed:
Yes, the log looks fine.
Navigation
[0] Message Index
[*] Previous page
Go to full version