News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Pending breakpoints for debugging plugins?

Started by rickg22, August 01, 2005, 05:43:36 PM

Previous topic - Next topic

rickg22

Quote from: mandrav on August 01, 2005, 10:32:54 AM
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.

I was wondering. Wouldn't it be a good idea to have a list of "pending" breakpoints (those which couldn't be set due to the location not found) so, at every program pause (breakpoint, run to cursor) C::B would try to reactivate them? And when one or more of these are effectively set, we could get a nice info box saying "The following breakpoints have been activated: program, line."

This would save us from the trouble of having to set breakpoints AFTER starting the program. What do you think Yiannis? Is it realizable (so I can submit a RFE)?

mandrav

Quote from: rickg22 on August 01, 2005, 05:43:36 PM
This would save us from the trouble of having to set breakpoints AFTER starting the program. What do you think Yiannis? Is it realizable (so I can submit a RFE)?
Sure, submit a RFE about it.
On a sidenote, I personally use F4 a lot (run to cursor) instead of using breakpoints...

Yiannis.
Be patient!
This bug will be fixed soon...