Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Pending breakpoints for debugging plugins?

(1/1)

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.

--- End quote ---

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)?

--- End quote ---
Sure, submit a RFE about it.
On a sidenote, I personally use F4 a lot (run to cursor) instead of using breakpoints...

Yiannis.

Navigation

[0] Message Index

Go to full version