Browse Source

The 'System.Object' type does not have any children - do not show 'plus' for it

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2909 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 18 years ago
parent
commit
076c583040
  1. 6
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ChildNodesOfObject.cs

6
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ChildNodesOfObject.cs

@ -51,7 +51,11 @@ namespace Debugger.AddIn.TreeModel
this.Image = DebuggerIcons.ImageList.Images[0]; // Class this.Image = DebuggerIcons.ImageList.Images[0]; // Class
this.Name = StringParser.Parse("${res:MainWindow.Windows.Debug.LocalVariables.BaseClass}"); this.Name = StringParser.Parse("${res:MainWindow.Windows.Debug.LocalVariables.BaseClass}");
this.Type = shownType.FullName; this.Type = shownType.FullName;
this.ChildNodes = Utils.GetChildNodesOfObject(targetObject, shownType); if (shownType.FullName == "System.Object") {
this.ChildNodes = null;
} else {
this.ChildNodes = Utils.GetChildNodesOfObject(targetObject, shownType);
}
} }
} }

Loading…
Cancel
Save