Breakpoints
Niko Sams
niko.sams at gmail.com
Sat Apr 4 15:21:20 UTC 2009
Hi,
For the generic debugger stuff we need a common breakpoints widget -
else every debugger
plugin would provide it's own breakpoints dock. (Do we agree on that?
Or could there be debugger
differencies that makes that difficult?)
To have breakpoints across debuggers I see two options:
1. every debugger has it's own Breakpoint-Model (BreakpointController)
and when the user adds a breakpoint
in the editor it is somehow decided what debugger plugin can handle
this breakpoint and that one adds it to it's model.
Then the Breakpoint-Widget needs either collect the Breakpoints from
all debuggers, or switch between
debuggers.
With this option the gdb Breakpoints can stay as they are.
2. a single debugger independet Breakpoint-Model all debuggers access.
NewBreakpoint::sendMaybe as to
be moved somewhere else then.
This option makes it difficult to add debugger specific features
(for example not every debugger
supports "Ignore __ next hits")
So what are your thoughts?
Niko
More information about the KDevelop-devel
mailing list