What I do to debug C::B plugins is:
1) open app.cpp, position the cursor on HideSplashScreen() in CodeBlocksApp::InitFrame() (currently line 180)
2) press F4 (starts debugging and breaks on the above line).
When it breaks, the plugins have loaded so any breakpoints you set in plugins, will be valid.
Debug

Yiannis.