diff options
-rw-r--r-- | Mono.Debugging/Mono.Debugging.Evaluation/ValueReference.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Mono.Debugging/Mono.Debugging.Evaluation/ValueReference.cs b/Mono.Debugging/Mono.Debugging.Evaluation/ValueReference.cs index b82161b..ace3ba4 100644 --- a/Mono.Debugging/Mono.Debugging.Evaluation/ValueReference.cs +++ b/Mono.Debugging/Mono.Debugging.Evaluation/ValueReference.cs @@ -226,13 +226,7 @@ namespace Mono.Debugging.Evaluation try { var ctx = GetChildrenContext (options); - var child = ctx.Adapter.CreateObjectValueAsync (Name, ObjectValueFlags.EvaluatingGroup, delegate { - var children = ctx.Adapter.GetObjectValueChildren (ctx, this, GetValue (ctx), index, count); - - return DC.ObjectValue.CreateArray (null, path, "", children.Length, ObjectValueFlags.EvaluatingGroup, children); - }); - - return new ObjectValue[1] { child }; + return ctx.Adapter.GetObjectValueChildren (ctx, this, GetValue (ctx), index, count); } catch (Exception ex) { return new [] { DC.ObjectValue.CreateFatalError ("", ex.Message, ObjectValueFlags.ReadOnly) }; } |