- Which function of debugging plugin is the top function that is connected to C::B and where in C::B it is called.
not sure what you mean by "top function". base class?
look at debuggergdb.h in the src/plugins/debuggergdb folder - debuggergdb is inherited from a cbdebuggerplugin class that contains virtual overrides for handling add/remove breakpoints and syncing with editor changes. handlers for user requests to start, stop, move to the next instruction are also handled by this class (albeit delegated to other classes to do the actual work). when the plugin is initialized, the plugin mgr will call onAttach, so you could do some initialization here.
The best advice I can give you is to read through the debugger plugin's code and the relevant sdk code starting from the relevant event handlers. right click "find implementation of..." works like a charm
- Allso I would need to know which function does the drawing of the breakpoint circles and where is the mouse event function that calls the draw circle function.
good luck with this. As dje said, Breakpoint markings are handled by the cbEditor. You can get a handle to a particular editor window to pass it messages to add/remove breakpoints. AFAIK there is no way to customize the breakpoint tags without messing with the sdk, which you really don't want to do unless you do it in a sufficiently flexible and useful way that others would find it useful too. I think the big kahuna has plans to enhance the debugger portion of the sdk to make it a little more flexible. allowing for unique markers for different breakpoint types might be something you could request as part of this enhancement.