diff options
author | Jeffrey Stedfast <jeff@xamarin.com> | 2012-09-07 01:53:47 +0400 |
---|---|---|
committer | Jeffrey Stedfast <jeff@xamarin.com> | 2012-09-07 01:57:12 +0400 |
commit | 9ba4baaf13228355dd828b78873ea12b5b4a5c81 (patch) | |
tree | cbf89ee648a3d6438e5ae456be3967921a320c65 /extras/MonoDevelop.Debugger.Gdb | |
parent | 453497ce9b7d2a65a2ee88d294dcad9ce4526bd8 (diff) |
[Debugger] Reverted IObjectValueSource.HasChildren()
For some reason, this seems to cause problems when requesting the children
from ObjectValues. For example, List<int> variables would expand and show
an error message about the current stack frame being invalid.
Diffstat (limited to 'extras/MonoDevelop.Debugger.Gdb')
-rw-r--r-- | extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs b/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs index 92fff095b0..ccb7a7990c 100644 --- a/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs +++ b/extras/MonoDevelop.Debugger.Gdb/GdbBacktrace.cs @@ -240,14 +240,6 @@ namespace MonoDevelop.Debugger.Gdb return val; } - public bool HasChildren (ObjectPath path, EvaluationOptions options) - { - session.SelectThread (threadId); - GdbCommandResult res = session.RunCommand ("-var-info-num-children", path.Join (".")); - - return res.GetInt ("numchild") > 0; - } - public ObjectValue[] GetChildren (ObjectPath path, int index, int count, EvaluationOptions options) { List<ObjectValue> children = new List<ObjectValue> (); |