EvalResult("Rest","(0, 0, 0, 0, 0, 0, 0, 0)","(int, int Seventeen, int Eighteen, int, int, int TwentyOne, int TwentyTwo, int)","o.F.Rest",DkmEvaluationResultFlags.Expandable));
EvalResult(
"Raw View",
"(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)","(int One, int Two, int, int, int Five, int Six, int, int, int Nine, int Ten, int, int, int Thirteen, int Fourteen, int)",
EvalResult("Rest","(0, 0, 0, 0, 0, 0, 0, 0)","(int, int Seventeen, int Eighteen, int, int, int TwentyOne, int TwentyTwo, int)","o.F.Rest, raw",DkmEvaluationResultFlags.Expandable));
EvalResult("Item2","'o.F.Item2' threw an exception of type 'System.InvalidOperationException'","int {System.InvalidOperationException}","o.F.Item2",DkmEvaluationResultFlags.Expandable|DkmEvaluationResultFlags.ExceptionThrown),
EvalResult("Item3","3","int","o.F.Item3"));
children=GetChildren(children[2]);
EvalResult("Item3","3","int","o.F.Item3"),
EvalResult("Raw View","(1, {System.InvalidOperationException: Unable to evaluate}, 3)","(object A, int, int)","o.F, raw",DkmEvaluationResultFlags.Expandable|DkmEvaluationResultFlags.ReadOnly));
children=GetChildren(children[1]);
Assert.True(children.Length>0);
Assert.Null(children[0].FullName);// FullName null for members of thrown Exception.
}
...
...
@@ -1119,6 +1194,10 @@ class E : System.Exception
Verify(children,
EvalResult("Item1","1","int",null),
EvalResult("B","2","int",null),
EvalResult("Raw View","(1, 2)","(int, int B)",null,DkmEvaluationResultFlags.Expandable|DkmEvaluationResultFlags.ReadOnly));
publicreadonlystringDisplayValue;// overrides the "Value" text displayed for certain kinds of DataItems (errors, invalid pointer dereferences, etc)...not to be confused with DebuggerDisplayAttribute Value...
EvalResult("Y","(Nothing, {B(Of (Object, Object)).S})","(E As Object, H As B(Of (F As Object, G As Object)).S)","o.G.F.Item2",DkmEvaluationResultFlags.Expandable),
EvalResult("Item2","(Nothing, {B(Of (Object, Object)).S})","(E As Object, H As B(Of (F As Object, G As Object)).S)","o.G.F.Item2",DkmEvaluationResultFlags.Expandable))
moreChildren=GetChildren(moreChildren(3))
EvalResult("Raw View","(Nothing, (Nothing, {B(Of (Object, Object)).S}))","(X As Object, Y As (E As Object, H As B(Of (F As Object, G As Object)).S))","o.G.F, raw",DkmEvaluationResultFlags.ExpandableOrDkmEvaluationResultFlags.ReadOnly))
EvalResult("H","{B(Of (Object, Object)).S}","B(Of (F As Object, G As Object)).S","o.G.F.Item2.Item2"),
EvalResult("Item2","{B(Of (Object, Object)).S}","B(Of (F As Object, G As Object)).S","o.G.F.Item2.Item2"))
EvalResult("Raw View","(Nothing, {B(Of (Object, Object)).S})","(E As Object, H As B(Of (F As Object, G As Object)).S)","o.G.F.Item2, raw",DkmEvaluationResultFlags.ExpandableOrDkmEvaluationResultFlags.ReadOnly))