GDB
settings->debuger
executable path: gdb路径
Debugger initalization commands
source $(TARGET_COMPILER_DIR)etc\gdbinit
主要作用是用来看stl
evaluate expression under cursor可以勾选

点击Debug->Debug windows->watches
效果

参考:
https://forums.codeblocks.org/index.php?topic=23898.0