General Debugger Framework

Niko Sams niko.sams at gmail.com
Mon Mar 23 20:03:39 UTC 2009


Hi,

To support more debuggers than just gdb we need a generic debugger
framework with
a common UI. I started this with a first patch
(http://reviewboard.kde.org/r/379/) - you can't
call it framework :D it's just a bunch of common actions - as this is
the most annoying if
you have those actions for every debugger duplicated in the gui.
I'm currently also working on a XDebug (http://xdebug.org a php
debugger) debugger implementation
that uses the dbgp protocol - a generic protocol.

So a few things have to be cleared:
- what debugger will get ported to that framework?
- is this planned after the first kdevelop release?
- general direction of the debugger framework
   apaku proposed the debugger plugin should not have access to
   any gui components. That would mean we have to think about models
   for stack/variable-view/breakpoints and so on. Advantage is a common UI
   that just has to be implemented once.
   However not all debuggers have the same features (gdb can show memory stuff
   where xdebug won't do that)

Niko




More information about the KDevelop-devel mailing list