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. 4
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ChildNodesOfObject.cs

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

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

Loading…
Cancel
Save