Revision 746588
Go back to digest for 16th December 2007Features in Development Tools
Initial working version of model/view based variable viewer.
- ported to model/view: new class VariableCollection, owned by the controller, doubles as the model
- new abstract base class AbstractVariableItem replaces TrimmableItem
- reworked implementations of subclasses; moved MI command requests into subclasses + away from viewing widget
- currently disabled special views for variables like QString; I plan to create a new interface for special view plugins to be able to make this much more
customizable (including things like easy access to items in Qt's tulip classes)
Current breakage includes:
- a new toplevel item is created for each thread/frame. It seems to be a feature of the previous code that got removed - was this accidental or not? Anyway,
still need to make the latest frame auto-expand
- not very heavily tested (only about 2 hours of testing so far)
Other miscellaneous small changes
- move event_t from controller to global namespace
- remove newlines from debug statements
- fix access to out of bounds characters in strings
- remove some deprecated calls
File Changes
- /trunk/KDE/kdevelop/languages/cpp/debugger
- /.kateconfig
- /abstractvariableitem.cpp
- /abstractvariableitem.h
- /frameitem.cpp
- /frameitem.h
- /watchitem.cpp
- /watchitem.h
- /trunk/KDE/kdevelop/languages/cpp/debugger
- /breakpoint.cpp
- /CMakeLists.txt
- /debuggerplugin.cpp
- /debuggerplugin.h
- /framestackwidget.cpp
- /framestackwidget.h
- /gdbbreakpointwidget.cpp
- /gdbbreakpointwidget.h
- /gdbcontroller.cpp
- /gdbcontroller.h
- /gdbglobal.h
- /gdbparser.cpp
- /gdbparser.h
- /variablecollection.cpp
- /variablecollection.h
- /variableitem.cpp
- /variableitem.h
- /variablewidget.cpp
- /variablewidget.h