diff --git a/src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.csproj b/src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.csproj
index c85b9a7750..ac44279858 100644
--- a/src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.csproj
+++ b/src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.csproj
@@ -1,4 +1,5 @@
-
+
+
Debug
AnyCPU
@@ -354,7 +355,7 @@
-
+
@@ -423,4 +424,4 @@
xcopy "$(ProjectDir)Visualizers\Graph\Graphviz\*.*" "$(TargetDir)" /Y
-
+
\ No newline at end of file
diff --git a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/NodeControlResources.xaml b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/NodeControlResources.xaml
new file mode 100644
index 0000000000..4981b58bce
--- /dev/null
+++ b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/NodeControlResources.xaml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/PlusToggleButton.xaml b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/PlusToggleButton.xaml
deleted file mode 100644
index c5838354ca..0000000000
--- a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/PlusToggleButton.xaml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/PositionedGraphNodeControl.xaml b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/PositionedGraphNodeControl.xaml
index 6dce2ae41f..d1c22fb132 100644
--- a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/PositionedGraphNodeControl.xaml
+++ b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Drawing/PositionedGraphNodeControl.xaml
@@ -7,21 +7,9 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/ContentPropertyNode.cs b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/ContentPropertyNode.cs
index a5dd009e13..70fbd38ec2 100644
--- a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/ContentPropertyNode.cs
+++ b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/Layout/ContentPropertyNode.cs
@@ -5,6 +5,7 @@
// $Revision$
//
using System;
+using System.ComponentModel;
namespace Debugger.AddIn.Visualizers.Graph.Layout
{
@@ -49,9 +50,8 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout
{
get
{
- // show expand button when appropriate
+ // show expand button for non-null non-atomic objects
return (!this.positionedProperty.IsAtomic && !this.positionedProperty.IsNull);
- //return true;
}
}
@@ -63,7 +63,9 @@ namespace Debugger.AddIn.Visualizers.Graph.Layout
PropertyNode sourcePropertyNode = source as PropertyNode;
this.Name = sourcePropertyNode.Property.Name;
- this.Text = sourcePropertyNode.Property.Value; // evaluated in Evaluate()
+ // Important to set Text here, as we might be just building new view over existing (evaluated) model.
+ // Evaluated also in Evaluate() if needed.
+ this.Text = sourcePropertyNode.Property.Value;
this.IsNested = false;
this.IsExpanded = false; // always false, property content nodes are never expanded
this.positionedProperty = new PositionedNodeProperty(
diff --git a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/IListNode.cs b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/IListNode.cs
index 48bccfe32d..82d5450dab 100644
--- a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/IListNode.cs
+++ b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/IListNode.cs
@@ -29,6 +29,6 @@ namespace Debugger.AddIn.TreeModel
public override bool HasChildNodes {
get { return this.count > 0; }
- }
+ }
}
}
diff --git a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Utils/AtomicType.cs b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Utils/AtomicType.cs
index 8cd2c46ad9..d45d3ab541 100644
--- a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Utils/AtomicType.cs
+++ b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Utils/AtomicType.cs
@@ -23,7 +23,8 @@ namespace Debugger.AddIn.Visualizers.Utils
/// True if expression's type is atomic, False otherwise.
public static bool IsAtomic(this DebugType type)
{
- return !(type.IsClass || type.IsValueType /* = struct in C# */);
+ // class is complex, String has IsClass == true but we want to treat it like atomic
+ return !type.IsClass || type.FullName == "System.String";
}
///