User forums > Using Code::Blocks
Debugging with TDM GCC 32bit + CodeBlocks- can't find member variables
TobiasA:
No way... I followed a rather old instruction somewhere in some forum when setting up CodeBlocks. On this, all hooks in the debugger settings were checked except the last three.
..which is totally wrong... :o
Sooo.... The path to get it working is quite simple:
- Use the latest TDM GCC
- Settings -> Debugger... -> GDB/CDB Debugger -> Default -> Enable watch scripts -> Set to "off"
- Settings -> Debugger... -> GDB/CDB Debugger -> Default -> Disable startup scripts (-nx) (GDB only) -> Set to "off"
So the startup scripts (read: .gdbinit) were disabled in my setup, effectively disabling the pretty printing of STL containers :o
It prints literally everything! Thank you sooo much!
This solution might work for the guy from the other thread as well... Should I drop a note over there?
Navigation
[0] Message Index
[*] Previous page
Go to full version