nemiver r593 - in trunk: . src/dbgengine src/persp/dbgperspective
- From: dodji svn gnome org
- To: svn-commits-list gnome org
- Subject: nemiver r593 - in trunk: . src/dbgengine src/persp/dbgperspective
- Date: Sun, 18 Nov 2007 00:25:38 +0000 (GMT)
Author: dodji
Date: 2007-11-18 00:25:37 +0000 (Sun, 18 Nov 2007)
New Revision: 593
ViewCVS link: http://svn.gnome.org/viewcvs/nemiver?rev=593&view=rev
Added:
trunk/src/persp/dbgperspective/nmv-var-inspector2.cc
trunk/src/persp/dbgperspective/nmv-var-inspector2.h
trunk/src/persp/dbgperspective/nmv-variables-utils2.cc
trunk/src/persp/dbgperspective/nmv-variables-utils2.h
Modified:
trunk/ChangeLog
trunk/src/dbgengine/nmv-var-walker.cc
trunk/src/persp/dbgperspective/Makefile.am
trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc
trunk/src/persp/dbgperspective/nmv-local-vars-inspector2.cc
trunk/src/persp/dbgperspective/nmv-var-inspector-dialog.cc
trunk/src/persp/dbgperspective/nmv-var-inspector-dialog.h
trunk/src/persp/dbgperspective/nmv-var-inspector.cc
trunk/src/persp/dbgperspective/nmv-var-inspector.h
Log:
turn VarInspector2 to use IVarWalker
* src/dbgengine/nmv-var-walker.cc: make VarWalker extend sigc::trackable
so that it automatically disconnects from signals it connected to
- e.g: IDebugger signals - at destruction time. Otherwise, its signal
handlers connected to IDebugger get called even after the walker instance is
destroyed leading to crashes.
* a/src/persp/dbgperspective/nmv-local-vars-inspector2.cc:
remove code from here and put it into nmv-variables-utils2.cc instead.
That allows code sharing with nmv-var-inspector2.cc.
* src/persp/dbgperspective/nmv-var-inspector-dialog.cc: use either
VarInspector of VarInspector2, based on the VARS_INSPECTOR2 macro.
* src/persp/dbgperspective/nmv-var-inspector.cc,h: Change the interface of
VarInspector::VarInspector() to take an IDebuggerSafePtr& instead of an
IDebugger&. This make VarInspector api be in par with VarInspector2.
* src/persp/dbgperspective/nmv-dbg-perspective.cc,
nmv-var-inspector-dialog.cc,h: propagate the change in VarInspector
iface to VarInspectorDialog and DBGPerspective types.
* src/persp/dbgperspective/nmv-var-inspector2.cc,h: added VarInspector2
type. It uses IVarWalker. It works now. The only thing that is not yet
implemented is variable dereferencing.
* src/persp/dbgperspective/nmv-variables-utils2.cc,h: add this utils
to help add/update variables into a treeview that looks like a
variable inspector. VarInspector2 and LocalVarsInspector use this
utility function set.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]