Browse Source

Debugger tests - less verbose - do not show properties that have a default value (false, 0, null, {})

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4491 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 17 years ago
parent
commit
846fe05dfe
  1. 27
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTestsBase.cs
  2. 28
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.cs
  3. 10
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Breakpoint.cs
  4. 15
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Callstack.cs
  5. 220
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/DebugTypes.cs
  6. 6
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/DefinedTypes.cs
  7. 25
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Expressions.cs
  8. 36
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.cs
  9. 12
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.cs
  10. 10
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.cs
  11. 15
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.cs
  12. 33
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/GenericDictionary.cs
  13. 130
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Generics.cs
  14. 35
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/MainThreadExit.cs
  15. 236
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Metadata.cs
  16. 24
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ObjectValue.cs
  17. 39
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/PrimitiveValue.cs
  18. 32
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ThreadName.cs
  19. 13
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ValueType.cs

27
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTestsBase.cs

@ -274,15 +274,34 @@ namespace Debugger.Tests @@ -274,15 +274,34 @@ namespace Debugger.Tests
while(e.InnerException != null) e = e.InnerException;
val = "{Exception: " + e.Message + "}";
}
if (val == null) val = "null";
if (val is IEnumerable && !(val is string)) {
List<string> vals = new List<string>();
foreach(object o in (IEnumerable)val) {
vals.Add(o.ToString());
}
container.SetAttribute(property.Name, "{" + string.Join(", ", vals.ToArray()) + "}");
if (vals.Count != 0) {
container.SetAttribute(property.Name, "{" + string.Join(", ", vals.ToArray()) + "}");
}
} else {
container.SetAttribute(property.Name, val.ToString());
bool isDefault = false;
if (property.PropertyType == typeof(bool)) {
isDefault = false.Equals(val);
} else if (property.PropertyType == typeof(string)) {
isDefault = val == null;
} else if (property.PropertyType == typeof(int)) {
isDefault = 0.Equals(val);
} else if (property.PropertyType == typeof(uint)) {
isDefault = ((uint)0).Equals(val);
} else {
isDefault = val == null;
}
if (val == null) val = "null";
if (!isDefault) {
container.SetAttribute(property.Name, val.ToString());
}
}
@ -344,7 +363,7 @@ namespace Debugger.Tests @@ -344,7 +363,7 @@ namespace Debugger.Tests
compParams.IncludeDebugInformation = true;
compParams.ReferencedAssemblies.Add("System.dll");
compParams.OutputAssembly = exeFilename;
compParams.CompilerOptions = "/unsafe";
compParams.CompilerOptions = "/unsafe /target:winexe";
compParams.ReferencedAssemblies.Add(typeof(TestFixtureAttribute).Assembly.Location);
CSharpCodeProvider compiler = new CSharpCodeProvider();

28
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.cs

@ -62,8 +62,6 @@ namespace Debugger.Tests { @@ -62,8 +62,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.Int32[]}"
Expression="array"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32[]" />
@ -76,9 +74,6 @@ namespace Debugger.Tests { @@ -76,9 +74,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="array[0]"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="0"
Type="System.Int32" />
</Item>
@ -89,9 +84,6 @@ namespace Debugger.Tests { @@ -89,9 +84,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="array[1]"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="1"
Type="System.Int32" />
</Item>
@ -102,9 +94,6 @@ namespace Debugger.Tests { @@ -102,9 +94,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="array[2]"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="2"
Type="System.Int32" />
</Item>
@ -115,9 +104,6 @@ namespace Debugger.Tests { @@ -115,9 +104,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="array[3]"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="3"
Type="System.Int32" />
</Item>
@ -128,9 +114,6 @@ namespace Debugger.Tests { @@ -128,9 +114,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="array[4]"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="4"
Type="System.Int32" />
</Item>
@ -140,28 +123,20 @@ namespace Debugger.Tests { @@ -140,28 +123,20 @@ namespace Debugger.Tests {
BaseType="System.Array"
ElementType="System.Int32"
FullName="System.Int32[]"
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}"
Name="Int32[]">
<BaseType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Array"
GenericArguments="{}"
Interfaces="{System.ICloneable, System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable}"
Kind="Class"
Module="mscorlib.dll"
Name="Array">
<BaseType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -179,9 +154,6 @@ namespace Debugger.Tests { @@ -179,9 +154,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="5"
Expression="array.Length"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="5"
Type="System.Int32" />
</array.Length>

10
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Breakpoint.cs

@ -68,8 +68,6 @@ namespace Debugger.Tests { @@ -68,8 +68,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break Breakpoint.cs:16,4-16,40</DebuggingPaused>
<Breakpoint1>
<Breakpoint
CheckSum="null"
Column="0"
Enabled="True"
FileName="Breakpoint.cs"
IsSet="True"
@ -78,8 +76,6 @@ namespace Debugger.Tests { @@ -78,8 +76,6 @@ namespace Debugger.Tests {
</Breakpoint1>
<Breakpoint2>
<Breakpoint
CheckSum="null"
Column="0"
Enabled="True"
FileName="Breakpoint.cs"
IsSet="True"
@ -97,21 +93,15 @@ namespace Debugger.Tests { @@ -97,21 +93,15 @@ namespace Debugger.Tests {
<ProcessExited />
<Breakpoint1>
<Breakpoint
CheckSum="null"
Column="0"
Enabled="True"
FileName="Breakpoint.cs"
IsSet="False"
Line="18"
OriginalLocation="Breakpoint.cs:18,4-18,49" />
</Breakpoint1>
<Breakpoint2>
<Breakpoint
CheckSum="null"
Column="0"
Enabled="True"
FileName="Breakpoint.cs"
IsSet="False"
Line="19"
OriginalLocation="Breakpoint.cs:20,4-20,49" />
</Breakpoint2>

15
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Callstack.cs

@ -61,31 +61,24 @@ namespace Debugger.Tests { @@ -61,31 +61,24 @@ namespace Debugger.Tests {
<Callstack>
<Item>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="2"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Sub2"
NextStatement="Callstack.cs:26,4-26,40" />
</Item>
<Item>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Sub1"
NextStatement="Callstack.cs:21,4-21,11" />
</Item>
<Item>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="0"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Main"
NextStatement="Callstack.cs:16,4-16,11" />
</Item>
@ -94,21 +87,16 @@ namespace Debugger.Tests { @@ -94,21 +87,16 @@ namespace Debugger.Tests {
<Callstack>
<Item>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Sub1"
NextStatement="Callstack.cs:21,4-21,11" />
</Item>
<Item>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="0"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Main"
NextStatement="Callstack.cs:16,4-16,11" />
</Item>
@ -117,11 +105,8 @@ namespace Debugger.Tests { @@ -117,11 +105,8 @@ namespace Debugger.Tests {
<Callstack>
<Item>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="0"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Main"
NextStatement="Callstack.cs:16,4-16,11" />
</Item>

220
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/DebugTypes.cs

@ -118,7 +118,6 @@ namespace Debugger.Tests { @@ -118,7 +118,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="nullMyClass"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -126,10 +125,7 @@ namespace Debugger.Tests { @@ -126,10 +125,7 @@ namespace Debugger.Tests {
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="MyClass"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="DebugTypes.exe"
Name="MyClass">
@ -145,18 +141,13 @@ namespace Debugger.Tests { @@ -145,18 +141,13 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="nullObject"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Object">
<Type>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -172,18 +163,13 @@ namespace Debugger.Tests { @@ -172,18 +163,13 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="nullString"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="null"
Type="System.String">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.String"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="String">
@ -199,18 +185,12 @@ namespace Debugger.Tests { @@ -199,18 +185,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="obj"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Object">
<Type>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -226,18 +206,12 @@ namespace Debugger.Tests { @@ -226,18 +206,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="42"
Expression="loc"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="42"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -253,18 +227,12 @@ namespace Debugger.Tests { @@ -253,18 +227,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="43"
Expression="locByRef"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="43"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -280,28 +248,20 @@ namespace Debugger.Tests { @@ -280,28 +248,20 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="locPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32*">
<Type>
<DebugType
BaseType="null"
ElementType="System.Int32"
FullName="System.Int32*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -319,28 +279,20 @@ namespace Debugger.Tests { @@ -319,28 +279,20 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="locPtrByRef"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32*">
<Type>
<DebugType
BaseType="null"
ElementType="System.Int32"
FullName="System.Int32*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -358,38 +310,27 @@ namespace Debugger.Tests { @@ -358,38 +310,27 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32**}"
Expression="locPtrPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32**">
<Type>
<DebugType
BaseType="null"
ElementType="System.Int32*"
FullName="System.Int32**"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32**">
<ElementType>
<DebugType
BaseType="null"
ElementType="System.Int32"
FullName="System.Int32*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -409,28 +350,19 @@ namespace Debugger.Tests { @@ -409,28 +350,19 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Void*}"
Expression="locVoidPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Void*">
<Type>
<DebugType
BaseType="null"
ElementType="System.Void"
FullName="System.Void*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Void*">
<ElementType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Void"
GenericArguments="{}"
Interfaces="{}"
Kind="Void"
Module="{Exception: The type is not a class or value type.}"
Name="Void">
@ -448,18 +380,12 @@ namespace Debugger.Tests { @@ -448,18 +380,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="locObj"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Object">
<Type>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -475,18 +401,12 @@ namespace Debugger.Tests { @@ -475,18 +401,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="locObjByRef"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Object">
<Type>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -502,8 +422,6 @@ namespace Debugger.Tests { @@ -502,8 +422,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.Char[]}"
Expression="locSZArray"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Char[]">
@ -512,18 +430,13 @@ namespace Debugger.Tests { @@ -512,18 +430,13 @@ namespace Debugger.Tests {
BaseType="System.Array"
ElementType="System.Char"
FullName="System.Char[]"
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}"
Name="Char[]">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Char"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Char">
@ -541,8 +454,6 @@ namespace Debugger.Tests { @@ -541,8 +454,6 @@ namespace Debugger.Tests {
ArrayRank="2"
AsString="{System.Char[,]}"
Expression="locArray"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Char[,]">
@ -551,18 +462,13 @@ namespace Debugger.Tests { @@ -551,18 +462,13 @@ namespace Debugger.Tests {
BaseType="System.Array"
ElementType="System.Char"
FullName="System.Char[,]"
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}"
Name="Char[,]">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Char"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Char">
@ -580,18 +486,12 @@ namespace Debugger.Tests { @@ -580,18 +486,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Point}"
Expression="locStruct"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Point">
<Type>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Point"
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe"
Name="Point">
@ -607,28 +507,20 @@ namespace Debugger.Tests { @@ -607,28 +507,20 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Point*}"
Expression="locStructPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Point*">
<Type>
<DebugType
BaseType="null"
ElementType="Point"
FullName="Point*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Point*">
<ElementType>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Point"
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe"
Name="Point">
@ -646,17 +538,13 @@ namespace Debugger.Tests { @@ -646,17 +538,13 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32}"
Expression="box"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="40"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{System.IComparable, System.IFormattable, System.IConvertible, System.IComparable&lt;System.Int32&gt;, System.IEquatable&lt;System.Int32&gt;}"
Kind="ValueType"
Module="mscorlib.dll"
@ -673,15 +561,12 @@ namespace Debugger.Tests { @@ -673,15 +561,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{MyInterfaceImpl&lt;System.Int32&gt;}"
Expression="myInterfaceImpl"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="MyInterfaceImpl&lt;System.Int32&gt;">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="MyInterfaceImpl&lt;System.Int32&gt;"
GenericArguments="{System.Int32}"
Interfaces="{MyInterface&lt;System.String,System.Collections.Generic.IEnumerable&lt;System.Int32&gt;,MyClass&gt;}"
@ -700,15 +585,12 @@ namespace Debugger.Tests { @@ -700,15 +585,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{MyInterfaceImpl&lt;System.Int32&gt;}"
Expression="myInterface"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="MyInterfaceImpl&lt;System.Int32&gt;">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="MyInterfaceImpl&lt;System.Int32&gt;"
GenericArguments="{System.Int32}"
Interfaces="{MyInterface&lt;System.String,System.Collections.Generic.IEnumerable&lt;System.Int32&gt;,MyClass&gt;}"
@ -732,18 +614,12 @@ namespace Debugger.Tests { @@ -732,18 +614,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="42"
Expression="arg"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="42"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -759,18 +635,12 @@ namespace Debugger.Tests { @@ -759,18 +635,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="43"
Expression="argByRef"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="43"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -786,28 +656,20 @@ namespace Debugger.Tests { @@ -786,28 +656,20 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="argPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32*">
<Type>
<DebugType
BaseType="null"
ElementType="System.Int32"
FullName="System.Int32*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -825,28 +687,20 @@ namespace Debugger.Tests { @@ -825,28 +687,20 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="argPtrByRef"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32*">
<Type>
<DebugType
BaseType="null"
ElementType="System.Int32"
FullName="System.Int32*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -864,38 +718,27 @@ namespace Debugger.Tests { @@ -864,38 +718,27 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32**}"
Expression="argPtrPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32**">
<Type>
<DebugType
BaseType="null"
ElementType="System.Int32*"
FullName="System.Int32**"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32**">
<ElementType>
<DebugType
BaseType="null"
ElementType="System.Int32"
FullName="System.Int32*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
@ -915,28 +758,19 @@ namespace Debugger.Tests { @@ -915,28 +758,19 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Void*}"
Expression="argVoidPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Void*">
<Type>
<DebugType
BaseType="null"
ElementType="System.Void"
FullName="System.Void*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Void*">
<ElementType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Void"
GenericArguments="{}"
Interfaces="{}"
Kind="Void"
Module="{Exception: The type is not a class or value type.}"
Name="Void">
@ -954,18 +788,12 @@ namespace Debugger.Tests { @@ -954,18 +788,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="argObj"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Object">
<Type>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -981,18 +809,12 @@ namespace Debugger.Tests { @@ -981,18 +809,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="argObjByRef"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Object">
<Type>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -1008,8 +830,6 @@ namespace Debugger.Tests { @@ -1008,8 +830,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.Char[]}"
Expression="argSZArray"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Char[]">
@ -1018,18 +838,13 @@ namespace Debugger.Tests { @@ -1018,18 +838,13 @@ namespace Debugger.Tests {
BaseType="System.Array"
ElementType="System.Char"
FullName="System.Char[]"
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}"
Name="Char[]">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Char"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Char">
@ -1047,8 +862,6 @@ namespace Debugger.Tests { @@ -1047,8 +862,6 @@ namespace Debugger.Tests {
ArrayRank="2"
AsString="{System.Char[,]}"
Expression="argArray"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Char[,]">
@ -1057,18 +870,13 @@ namespace Debugger.Tests { @@ -1057,18 +870,13 @@ namespace Debugger.Tests {
BaseType="System.Array"
ElementType="System.Char"
FullName="System.Char[,]"
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}"
Name="Char[,]">
<ElementType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Char"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Char">
@ -1086,18 +894,12 @@ namespace Debugger.Tests { @@ -1086,18 +894,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Point}"
Expression="argStruct"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Point">
<Type>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Point"
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe"
Name="Point">
@ -1113,18 +915,12 @@ namespace Debugger.Tests { @@ -1113,18 +915,12 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Point}"
Expression="argStructByRef"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Point">
<Type>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Point"
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe"
Name="Point">
@ -1140,28 +936,20 @@ namespace Debugger.Tests { @@ -1140,28 +936,20 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Point*}"
Expression="argStructPtr"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Point*">
<Type>
<DebugType
BaseType="null"
ElementType="Point"
FullName="Point*"
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}"
Name="Point*">
<ElementType>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Point"
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe"
Name="Point">
@ -1179,17 +967,13 @@ namespace Debugger.Tests { @@ -1179,17 +967,13 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32}"
Expression="argBox"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="40"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{System.IComparable, System.IFormattable, System.IConvertible, System.IComparable&lt;System.Int32&gt;, System.IEquatable&lt;System.Int32&gt;}"
Kind="ValueType"
Module="mscorlib.dll"
@ -1206,17 +990,13 @@ namespace Debugger.Tests { @@ -1206,17 +990,13 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32}"
Expression="argBoxByRef"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="40"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{System.IComparable, System.IFormattable, System.IConvertible, System.IComparable&lt;System.Int32&gt;, System.IEquatable&lt;System.Int32&gt;}"
Kind="ValueType"
Module="mscorlib.dll"

6
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/DefinedTypes.cs

@ -68,10 +68,7 @@ namespace Debugger.Tests { @@ -68,10 +68,7 @@ namespace Debugger.Tests {
<Item>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.DefinedTypes_Class"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="DefinedTypes.exe"
Name="DefinedTypes_Class" />
@ -79,10 +76,7 @@ namespace Debugger.Tests { @@ -79,10 +76,7 @@ namespace Debugger.Tests {
<Item>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.DefinedTypes_Struct"
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DefinedTypes.exe"
Name="DefinedTypes_Struct" />

25
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Expressions.cs

@ -87,8 +87,6 @@ namespace Debugger.Tests { @@ -87,8 +87,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="argValue"
Expression="arg"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="argValue"
Type="System.String" />
@ -104,9 +102,6 @@ namespace Debugger.Tests { @@ -104,9 +102,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="i"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="0"
Type="System.Int32" />
</Item>
@ -117,8 +112,6 @@ namespace Debugger.Tests { @@ -117,8 +112,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.String[]}"
Expression="array"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.String[]" />
@ -130,8 +123,6 @@ namespace Debugger.Tests { @@ -130,8 +123,6 @@ namespace Debugger.Tests {
ArrayRank="2"
AsString="{System.String[,]}"
Expression="array2"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.String[,]" />
@ -145,8 +136,6 @@ namespace Debugger.Tests { @@ -145,8 +136,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="derived name"
Expression="this.name"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="derived name"
Type="System.String" />
@ -158,8 +147,6 @@ namespace Debugger.Tests { @@ -158,8 +147,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="derived value"
Expression="this.Value"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="derived value"
Type="System.String" />
@ -171,8 +158,6 @@ namespace Debugger.Tests { @@ -171,8 +158,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="field value"
Expression="this.field"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="field value"
Type="System.String" />
@ -184,8 +169,6 @@ namespace Debugger.Tests { @@ -184,8 +169,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.String[]}"
Expression="this.array"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.String[]" />
@ -197,8 +180,6 @@ namespace Debugger.Tests { @@ -197,8 +180,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="base name"
Expression="this.name"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="base name"
Type="System.String" />
@ -210,8 +191,6 @@ namespace Debugger.Tests { @@ -210,8 +191,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="base value"
Expression="this.Value"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="base value"
Type="System.String" />
@ -223,8 +202,6 @@ namespace Debugger.Tests { @@ -223,8 +202,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="derived name"
Expression="this.Name"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="derived name"
Type="System.String" />
@ -236,8 +213,6 @@ namespace Debugger.Tests { @@ -236,8 +213,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="base name"
Expression="this.Name"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="base name"
Type="System.String" />

36
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.cs

@ -104,9 +104,6 @@ namespace Debugger.Tests { @@ -104,9 +104,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="i"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="1"
Type="System.Int32" />
</Item>
@ -117,8 +114,6 @@ namespace Debugger.Tests { @@ -117,8 +114,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="A"
Expression="s"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="A"
Type="System.String" />
@ -130,10 +125,8 @@ namespace Debugger.Tests { @@ -130,10 +125,8 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="s_null"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="null"
Type="System.String" />
</Item>
<Item>
@ -143,9 +136,6 @@ namespace Debugger.Tests { @@ -143,9 +136,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="ref_i"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="2"
Type="System.Int32" />
</Item>
@ -156,9 +146,6 @@ namespace Debugger.Tests { @@ -156,9 +146,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="out_i"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="3"
Type="System.Int32" />
</Item>
@ -169,9 +156,6 @@ namespace Debugger.Tests { @@ -169,9 +156,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="out_i2"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="0"
Type="System.Int32" />
</Item>
@ -182,8 +166,6 @@ namespace Debugger.Tests { @@ -182,8 +166,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="B"
Expression="ref_s"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="B"
Type="System.String" />
@ -195,9 +177,6 @@ namespace Debugger.Tests { @@ -195,9 +177,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Nullable&lt;System.Int32&gt;}"
Expression="iNull"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Nullable&lt;System.Int32&gt;" />
</Item>
@ -208,9 +187,6 @@ namespace Debugger.Tests { @@ -208,9 +187,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Nullable&lt;System.Int32&gt;}"
Expression="iNull_null"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Nullable&lt;System.Int32&gt;" />
</Item>
@ -222,12 +198,9 @@ namespace Debugger.Tests { @@ -222,12 +198,9 @@ namespace Debugger.Tests {
<Item>
<Value
ArrayDimensions="{0}"
ArrayLength="0"
ArrayRank="1"
AsString="{System.String[]}"
Expression="args"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.String[]" />
@ -244,8 +217,6 @@ namespace Debugger.Tests { @@ -244,8 +217,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.String[]}"
Expression="args"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.String[]" />
@ -262,8 +233,6 @@ namespace Debugger.Tests { @@ -262,8 +233,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.String[]}"
Expression="args"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.String[]" />
@ -280,9 +249,6 @@ namespace Debugger.Tests { @@ -280,9 +249,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="i"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="1"
Type="System.Int32" />
</Item>
@ -293,8 +259,6 @@ namespace Debugger.Tests { @@ -293,8 +259,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="A"
Expression="s"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="A"
Type="System.String" />

12
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.cs

@ -77,7 +77,6 @@ namespace Debugger.Tests { @@ -77,7 +77,6 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Function"
NextStatement="FunctionLifetime.cs:22,4-22,40" />
</SelectedStackFrame>
@ -88,17 +87,14 @@ namespace Debugger.Tests { @@ -88,17 +87,14 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Function"
NextStatement="FunctionLifetime.cs:23,4-23,18" />
</Old_StackFrame>
<SelectedStackFrame>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="2"
HasSymbols="True"
IsInvalid="False"
MethodInfo="SubFunction"
NextStatement="FunctionLifetime.cs:29,4-29,40" />
</SelectedStackFrame>
@ -109,7 +105,6 @@ namespace Debugger.Tests { @@ -109,7 +105,6 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Function"
NextStatement="FunctionLifetime.cs:24,4-24,40" />
</Old_StackFrame>
@ -119,18 +114,14 @@ namespace Debugger.Tests { @@ -119,18 +114,14 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Function"
NextStatement="FunctionLifetime.cs:24,4-24,40" />
</SelectedStackFrame>
<DebuggingPaused>Break FunctionLifetime.cs:17,4-17,40</DebuggingPaused>
<Main>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="0"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Main"
NextStatement="FunctionLifetime.cs:17,4-17,40" />
</Main>
@ -146,11 +137,8 @@ namespace Debugger.Tests { @@ -146,11 +137,8 @@ namespace Debugger.Tests {
</Old_StackFrame>
<SelectedStackFrame>
<StackFrame
ArgumentCount="0"
ChainIndex="1"
FrameIndex="0"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Main"
NextStatement="FunctionLifetime.cs:17,4-17,40" />
</SelectedStackFrame>

10
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.cs

@ -59,9 +59,6 @@ namespace Debugger.Tests { @@ -59,9 +59,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="i"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="0"
Type="System.Int32" />
</Item>
@ -72,8 +69,6 @@ namespace Debugger.Tests { @@ -72,8 +69,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="S"
Expression="s"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="S"
Type="System.String" />
@ -85,8 +80,6 @@ namespace Debugger.Tests { @@ -85,8 +80,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.String[]}"
Expression="args"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.String[]" />
@ -98,7 +91,6 @@ namespace Debugger.Tests { @@ -98,7 +91,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="n"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -111,8 +103,6 @@ namespace Debugger.Tests { @@ -111,8 +103,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="o"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Object" />

15
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.cs

@ -106,9 +106,6 @@ namespace Debugger.Tests { @@ -106,9 +106,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="argument"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="1"
Type="System.Int32" />
</argument>
@ -119,9 +116,6 @@ namespace Debugger.Tests { @@ -119,9 +116,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="local"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="2"
Type="System.Int32" />
</local>
@ -132,9 +126,6 @@ namespace Debugger.Tests { @@ -132,9 +126,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="this.class"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="3"
Type="System.Int32" />
</_x0040_class>
@ -185,9 +176,6 @@ namespace Debugger.Tests { @@ -185,9 +176,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="localInSubFunction"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="4"
Type="System.Int32" />
</localInSubFunction>
@ -304,9 +292,6 @@ namespace Debugger.Tests { @@ -304,9 +292,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="localInSubFunction"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="4"
Type="System.Int32" />
</localInSubFunction_x0028_new_x0029_>

33
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/GenericDictionary.cs

@ -59,8 +59,6 @@ namespace Debugger.Tests { @@ -59,8 +59,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;}"
Expression="dict"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;" />
@ -73,8 +71,6 @@ namespace Debugger.Tests { @@ -73,8 +71,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{System.Int32[]}"
Expression="dict.buckets"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Int32[]" />
@ -86,8 +82,6 @@ namespace Debugger.Tests { @@ -86,8 +82,6 @@ namespace Debugger.Tests {
ArrayRank="1"
AsString="{Entry&lt;System.String,System.Int32&gt;[]}"
Expression="dict.entries"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Entry&lt;System.String,System.Int32&gt;[]" />
@ -99,9 +93,6 @@ namespace Debugger.Tests { @@ -99,9 +93,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="dict.count"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="3"
Type="System.Int32" />
</Item>
@ -112,9 +103,6 @@ namespace Debugger.Tests { @@ -112,9 +103,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="dict.version"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="3"
Type="System.Int32" />
</Item>
@ -125,9 +113,6 @@ namespace Debugger.Tests { @@ -125,9 +113,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="-1"
Expression="dict.freeList"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="-1"
Type="System.Int32" />
</Item>
@ -138,9 +123,6 @@ namespace Debugger.Tests { @@ -138,9 +123,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="dict.freeCount"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="0"
Type="System.Int32" />
</Item>
@ -151,8 +133,6 @@ namespace Debugger.Tests { @@ -151,8 +133,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Collections.Generic.GenericEqualityComparer&lt;System.String&gt;}"
Expression="dict.comparer"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Collections.Generic.GenericEqualityComparer&lt;System.String&gt;" />
@ -164,7 +144,6 @@ namespace Debugger.Tests { @@ -164,7 +144,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="dict.keys"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -177,7 +156,6 @@ namespace Debugger.Tests { @@ -177,7 +156,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="dict.values"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -190,7 +168,6 @@ namespace Debugger.Tests { @@ -190,7 +168,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="dict._syncRoot"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -203,7 +180,6 @@ namespace Debugger.Tests { @@ -203,7 +180,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="dict.m_siInfo"
IsInvalid="False"
IsNull="True"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -216,8 +192,6 @@ namespace Debugger.Tests { @@ -216,8 +192,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Collections.Generic.GenericEqualityComparer&lt;System.String&gt;}"
Expression="dict.Comparer"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="System.Collections.Generic.GenericEqualityComparer&lt;System.String&gt;" />
@ -229,9 +203,6 @@ namespace Debugger.Tests { @@ -229,9 +203,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="dict.Count"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="3"
Type="System.Int32" />
</Item>
@ -242,8 +213,6 @@ namespace Debugger.Tests { @@ -242,8 +213,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{KeyCollection&lt;System.String,System.Int32&gt;}"
Expression="dict.Keys"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="KeyCollection&lt;System.String,System.Int32&gt;" />
@ -255,8 +224,6 @@ namespace Debugger.Tests { @@ -255,8 +224,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{ValueCollection&lt;System.String,System.Int32&gt;}"
Expression="dict.Values"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="ValueCollection&lt;System.String,System.Int32&gt;" />

130
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Generics.cs

@ -138,32 +138,23 @@ namespace Debugger.Tests { @@ -138,32 +138,23 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Metod"
NextStatement="Generics.cs:48,4-48,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.Metod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="Generics.exe"
Name="Metod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.String"
StepOver="False">
ReturnType="System.String">
<DeclaringType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
@ -182,9 +173,6 @@ namespace Debugger.Tests { @@ -182,9 +173,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="1"
Type="System.Int32" />
</Item>
@ -195,8 +183,6 @@ namespace Debugger.Tests { @@ -195,8 +183,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="1!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="1!"
Type="System.String" />
@ -209,32 +195,23 @@ namespace Debugger.Tests { @@ -209,32 +195,23 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="GenericMethod"
NextStatement="Generics.cs:54,4-54,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.GenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="Generics.exe"
Name="GenericMethod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.Object"
StepOver="False">
ReturnType="System.Object">
<DeclaringType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
@ -253,9 +230,6 @@ namespace Debugger.Tests { @@ -253,9 +230,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="2"
Type="System.Int32" />
</Item>
@ -266,8 +240,6 @@ namespace Debugger.Tests { @@ -266,8 +240,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="2!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="2!"
Type="System.String" />
@ -280,32 +252,24 @@ namespace Debugger.Tests { @@ -280,32 +252,24 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="StaticMetod"
NextStatement="Generics.cs:60,4-60,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticMetod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="Generics.exe"
Name="StaticMetod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.String"
StepOver="False">
ReturnType="System.String">
<DeclaringType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
@ -324,9 +288,6 @@ namespace Debugger.Tests { @@ -324,9 +288,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="3"
Type="System.Int32" />
</Item>
@ -337,8 +298,6 @@ namespace Debugger.Tests { @@ -337,8 +298,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="3!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="3!"
Type="System.String" />
@ -351,32 +310,24 @@ namespace Debugger.Tests { @@ -351,32 +310,24 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="StaticGenericMethod"
NextStatement="Generics.cs:66,4-66,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticGenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="Generics.exe"
Name="StaticGenericMethod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.Object"
StepOver="False">
ReturnType="System.Object">
<DeclaringType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
@ -395,9 +346,6 @@ namespace Debugger.Tests { @@ -395,9 +346,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="4"
Type="System.Int32" />
</Item>
@ -408,8 +356,6 @@ namespace Debugger.Tests { @@ -408,8 +356,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="4!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="4!"
Type="System.String" />
@ -422,32 +368,23 @@ namespace Debugger.Tests { @@ -422,32 +368,23 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="Metod"
NextStatement="Generics.cs:75,4-75,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.Metod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="Generics.exe"
Name="Metod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.String"
StepOver="False">
ReturnType="System.String">
<DeclaringType>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
@ -466,9 +403,6 @@ namespace Debugger.Tests { @@ -466,9 +403,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="5"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="5"
Type="System.Int32" />
</Item>
@ -479,8 +413,6 @@ namespace Debugger.Tests { @@ -479,8 +413,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="5!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="5!"
Type="System.String" />
@ -493,32 +425,23 @@ namespace Debugger.Tests { @@ -493,32 +425,23 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="GenericMethod"
NextStatement="Generics.cs:81,4-81,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.GenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="Generics.exe"
Name="GenericMethod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.Object"
StepOver="False">
ReturnType="System.Object">
<DeclaringType>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
@ -537,9 +460,6 @@ namespace Debugger.Tests { @@ -537,9 +460,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="6"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="6"
Type="System.Int32" />
</Item>
@ -550,8 +470,6 @@ namespace Debugger.Tests { @@ -550,8 +470,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="6!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="6!"
Type="System.String" />
@ -564,32 +482,24 @@ namespace Debugger.Tests { @@ -564,32 +482,24 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="StaticMetod"
NextStatement="Generics.cs:87,4-87,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticMetod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="Generics.exe"
Name="StaticMetod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.String"
StepOver="False">
ReturnType="System.String">
<DeclaringType>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
@ -608,9 +518,6 @@ namespace Debugger.Tests { @@ -608,9 +518,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="7"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="7"
Type="System.Int32" />
</Item>
@ -621,8 +528,6 @@ namespace Debugger.Tests { @@ -621,8 +528,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="7!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="7!"
Type="System.String" />
@ -635,32 +540,24 @@ namespace Debugger.Tests { @@ -635,32 +540,24 @@ namespace Debugger.Tests {
ChainIndex="1"
FrameIndex="1"
HasSymbols="True"
IsInvalid="False"
MethodInfo="StaticGenericMethod"
NextStatement="Generics.cs:93,4-93,40">
<MethodInfo>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticGenericMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="Generics.exe"
Name="StaticGenericMethod"
ParameterCount="2"
ParameterTypes="{System.Int32, System.String}"
ReturnType="System.Object"
StepOver="False">
ReturnType="System.Object">
<DeclaringType>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;"
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
@ -679,9 +576,6 @@ namespace Debugger.Tests { @@ -679,9 +576,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="8"
Expression="v"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="8"
Type="System.Int32" />
</Item>
@ -692,8 +586,6 @@ namespace Debugger.Tests { @@ -692,8 +586,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="8!"
Expression="k"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="8!"
Type="System.String" />
@ -707,9 +599,6 @@ namespace Debugger.Tests { @@ -707,9 +599,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="gClass.Prop"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="0"
Type="System.Int32" />
</Prop>
@ -720,9 +609,6 @@ namespace Debugger.Tests { @@ -720,9 +609,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticProp"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="0"
Type="System.Int32" />
</StaticProp>

35
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/MainThreadExit.cs

@ -65,39 +65,28 @@ namespace Debugger.Tests { @@ -65,39 +65,28 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="True"
IsInValidState="True"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="Debugger.Tests.TestPrograms.MainThreadExit.Main"
MostRecentStackFrameWithLoadedSymbols="Debugger.Tests.TestPrograms.MainThreadExit.Main"
Name=""
OldestStackFrame="Debugger.Tests.TestPrograms.MainThreadExit.Main"
Priority="Normal"
RuntimeValue="? = {System.Threading.Thread}"
SelectedStackFrame="Debugger.Tests.TestPrograms.MainThreadExit.Main"
Suspended="False" />
SelectedStackFrame="Debugger.Tests.TestPrograms.MainThreadExit.Main" />
</Item>
<Item>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="True"
IsInValidState="True"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="System.Threading.WaitHandle.InternalWaitOne"
MostRecentStackFrameWithLoadedSymbols="Debugger.Tests.TestPrograms.MainThreadExit.WaitForALongTime"
Name="Worker thread"
OldestStackFrame="System.Threading.ThreadHelper.ThreadStart"
Priority="Normal"
RuntimeValue="? = {System.Threading.Thread}"
SelectedStackFrame="null"
Suspended="False" />
RuntimeValue="? = {System.Threading.Thread}" />
</Item>
</ThreadsBeforeExit>
<DebuggingPaused>ForcedBreak MainThreadExit.cs:29,4-29,26</DebuggingPaused>
@ -105,39 +94,23 @@ namespace Debugger.Tests { @@ -105,39 +94,23 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="False"
IsInValidState="False"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="null"
MostRecentStackFrameWithLoadedSymbols="null"
Name=""
OldestStackFrame="null"
Priority="Normal"
RuntimeValue="{Exception: The state of the thread is invalid. (Exception from HRESULT: 0x8013132D)}"
SelectedStackFrame="null"
Suspended="False" />
RuntimeValue="{Exception: The state of the thread is invalid. (Exception from HRESULT: 0x8013132D)}" />
</Item>
<Item>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="True"
IsInValidState="True"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="System.Threading.WaitHandle.InternalWaitOne"
MostRecentStackFrameWithLoadedSymbols="Debugger.Tests.TestPrograms.MainThreadExit.WaitForALongTime"
Name="Worker thread"
OldestStackFrame="System.Threading.ThreadHelper.ThreadStart"
Priority="Normal"
RuntimeValue="? = {System.Threading.Thread}"
SelectedStackFrame="Debugger.Tests.TestPrograms.MainThreadExit.WaitForALongTime"
Suspended="False" />
SelectedStackFrame="Debugger.Tests.TestPrograms.MainThreadExit.WaitForALongTime" />
</Item>
</ThreadsAfterExit>
<ProcessExited />

236
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Metadata.cs

@ -84,12 +84,7 @@ namespace Debugger.Tests { @@ -84,12 +84,7 @@ namespace Debugger.Tests {
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.privateField"
IsInternal="False"
IsLiteral="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="privateField"
Type="System.Int16" />
@ -98,12 +93,7 @@ namespace Debugger.Tests { @@ -98,12 +93,7 @@ namespace Debugger.Tests {
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.publicField"
IsInternal="False"
IsLiteral="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsStatic="False"
Module="Metadata.exe"
Name="publicField"
Type="System.Int16" />
@ -112,12 +102,7 @@ namespace Debugger.Tests { @@ -112,12 +102,7 @@ namespace Debugger.Tests {
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.protectedField"
IsInternal="False"
IsLiteral="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="protectedField"
Type="System.Int16" />
@ -127,11 +112,6 @@ namespace Debugger.Tests { @@ -127,11 +112,6 @@ namespace Debugger.Tests {
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.internalField"
IsInternal="True"
IsLiteral="False"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="internalField"
Type="System.Int16" />
@ -140,11 +120,7 @@ namespace Debugger.Tests { @@ -140,11 +120,7 @@ namespace Debugger.Tests {
<FieldInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.staticField"
IsInternal="False"
IsLiteral="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="True"
Module="Metadata.exe"
Name="staticField"
@ -154,204 +130,111 @@ namespace Debugger.Tests { @@ -154,204 +130,111 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_privateProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_privateProperty"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Int32"
StepOver="False" />
ReturnType="System.Int32" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_publicProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_publicProperty"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Int32"
StepOver="False" />
ReturnType="System.Int32" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_protectedProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_protectedProperty"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Int32"
StepOver="False" />
ReturnType="System.Int32" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_internalProperty"
IsInternal="True"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name="get_internalProperty"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Int32"
StepOver="False" />
ReturnType="System.Int32" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.get_staticProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="True"
IsStatic="True"
Module="Metadata.exe"
Name="get_staticProperty"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Int32"
StepOver="False" />
ReturnType="System.Int32" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.privateMethod"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="privateMethod"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="False" />
Name="privateMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.publicMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="publicMethod"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="False" />
Name="publicMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.protectedMethod"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="protectedMethod"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="False" />
Name="protectedMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.internalMethod"
IsInternal="True"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="Metadata.exe"
Name="internalMethod"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="False" />
Name="internalMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.staticMethod"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="True"
Module="Metadata.exe"
Name="staticMethod"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="False" />
Name="staticMethod" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.Main"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="Metadata.exe"
Name="Main"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="False" />
Name="Main" />
</Item>
<Item>
<MethodInfo
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata..ctor"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="True"
IsStatic="False"
Module="Metadata.exe"
Name=".ctor"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="True" />
</Item>
<Item>
@ -359,14 +242,9 @@ namespace Debugger.Tests { @@ -359,14 +242,9 @@ namespace Debugger.Tests {
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.privateProperty"
GetMethod="get_privateProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="privateProperty"
SetMethod="null"
Type="System.Int32" />
</Item>
<Item>
@ -374,14 +252,9 @@ namespace Debugger.Tests { @@ -374,14 +252,9 @@ namespace Debugger.Tests {
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.publicProperty"
GetMethod="get_publicProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsStatic="False"
Module="Metadata.exe"
Name="publicProperty"
SetMethod="null"
Type="System.Int32" />
</Item>
<Item>
@ -389,14 +262,9 @@ namespace Debugger.Tests { @@ -389,14 +262,9 @@ namespace Debugger.Tests {
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.protectedProperty"
GetMethod="get_protectedProperty"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="protectedProperty"
SetMethod="null"
Type="System.Int32" />
</Item>
<Item>
@ -405,13 +273,8 @@ namespace Debugger.Tests { @@ -405,13 +273,8 @@ namespace Debugger.Tests {
FullName="Debugger.Tests.TestPrograms.Metadata.internalProperty"
GetMethod="get_internalProperty"
IsInternal="True"
IsPrivate="False"
IsProtected="False"
IsPublic="False"
IsStatic="False"
Module="Metadata.exe"
Name="internalProperty"
SetMethod="null"
Type="System.Int32" />
</Item>
<Item>
@ -419,47 +282,29 @@ namespace Debugger.Tests { @@ -419,47 +282,29 @@ namespace Debugger.Tests {
DeclaringType="Debugger.Tests.TestPrograms.Metadata"
FullName="Debugger.Tests.TestPrograms.Metadata.staticProperty"
GetMethod="get_staticProperty"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsStatic="True"
Module="Metadata.exe"
Name="staticProperty"
SetMethod="null"
Type="System.Int32" />
</Item>
<Item>
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object..ctor"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="True"
IsStatic="False"
Module="mscorlib.dll"
Name=".ctor"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="True" />
</Item>
<Item>
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.ToString"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="ToString"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.String"
StepOver="True" />
</Item>
@ -467,12 +312,7 @@ namespace Debugger.Tests { @@ -467,12 +312,7 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.Equals"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="Equals"
ParameterCount="1"
@ -484,11 +324,7 @@ namespace Debugger.Tests { @@ -484,11 +324,7 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.Equals"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="mscorlib.dll"
Name="Equals"
@ -501,11 +337,7 @@ namespace Debugger.Tests { @@ -501,11 +337,7 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.ReferenceEquals"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="True"
Module="mscorlib.dll"
Name="ReferenceEquals"
@ -518,16 +350,9 @@ namespace Debugger.Tests { @@ -518,16 +350,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.GetHashCode"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="GetHashCode"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Int32"
StepOver="True" />
</Item>
@ -535,16 +360,9 @@ namespace Debugger.Tests { @@ -535,16 +360,9 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.GetType"
IsInternal="False"
IsPrivate="False"
IsProtected="False"
IsPublic="True"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="GetType"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Type"
StepOver="True" />
</Item>
@ -552,33 +370,18 @@ namespace Debugger.Tests { @@ -552,33 +370,18 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.Finalize"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="Finalize"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="null"
StepOver="True" />
</Item>
<Item>
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.MemberwiseClone"
IsInternal="False"
IsPrivate="False"
IsProtected="True"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="MemberwiseClone"
ParameterCount="0"
ParameterTypes="{}"
ReturnType="System.Object"
StepOver="True" />
</Item>
@ -586,46 +389,29 @@ namespace Debugger.Tests { @@ -586,46 +389,29 @@ namespace Debugger.Tests {
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.FieldSetter"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="FieldSetter"
ParameterCount="3"
ParameterTypes="{System.String, System.String, System.Object}"
ReturnType="null"
StepOver="True" />
</Item>
<Item>
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.FieldGetter"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="FieldGetter"
ParameterCount="3"
ParameterTypes="{System.String, System.String, System.Object}"
ReturnType="null"
StepOver="True" />
</Item>
<Item>
<MethodInfo
DeclaringType="System.Object"
FullName="System.Object.GetFieldInfo"
IsInternal="False"
IsPrivate="True"
IsProtected="False"
IsPublic="False"
IsSpecialName="False"
IsStatic="False"
Module="mscorlib.dll"
Name="GetFieldInfo"
ParameterCount="2"

24
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ObjectValue.cs

@ -80,8 +80,6 @@ namespace Debugger.Tests { @@ -80,8 +80,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Debugger.Tests.TestPrograms.ObjectValue}"
Expression="val"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Debugger.Tests.TestPrograms.ObjectValue" />
@ -94,8 +92,6 @@ namespace Debugger.Tests { @@ -94,8 +92,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="c"
Expression="val.privateField"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="c"
Type="System.String" />
@ -107,8 +103,6 @@ namespace Debugger.Tests { @@ -107,8 +103,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="d"
Expression="val.publicFiled"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="d"
Type="System.String" />
@ -120,8 +114,6 @@ namespace Debugger.Tests { @@ -120,8 +114,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="a"
Expression="val.basePublic"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="a"
Type="System.String" />
@ -133,8 +125,6 @@ namespace Debugger.Tests { @@ -133,8 +125,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="b"
Expression="val.basePrivate"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="b"
Type="System.String" />
@ -146,8 +136,6 @@ namespace Debugger.Tests { @@ -146,8 +136,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="c"
Expression="val.PublicProperty"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="c"
Type="System.String" />
@ -161,8 +149,6 @@ namespace Debugger.Tests { @@ -161,8 +149,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Debugger.Tests.TestPrograms.ObjectValue}"
Expression="val"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Debugger.Tests.TestPrograms.ObjectValue" />
@ -175,8 +161,6 @@ namespace Debugger.Tests { @@ -175,8 +161,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="new private"
Expression="val.privateField"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="new private"
Type="System.String" />
@ -188,8 +172,6 @@ namespace Debugger.Tests { @@ -188,8 +172,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="d"
Expression="val.publicFiled"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="d"
Type="System.String" />
@ -201,8 +183,6 @@ namespace Debugger.Tests { @@ -201,8 +183,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="a"
Expression="val.basePublic"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="a"
Type="System.String" />
@ -214,8 +194,6 @@ namespace Debugger.Tests { @@ -214,8 +194,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="b"
Expression="val.basePrivate"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="b"
Type="System.String" />
@ -227,8 +205,6 @@ namespace Debugger.Tests { @@ -227,8 +205,6 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="new private"
Expression="val.PublicProperty"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="new private"
Type="System.String" />

39
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/PrimitiveValue.cs

@ -66,28 +66,18 @@ namespace Debugger.Tests { @@ -66,28 +66,18 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="True"
Expression="b"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="True"
Type="System.Boolean">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Boolean"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Boolean">
<BaseType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -105,28 +95,18 @@ namespace Debugger.Tests { @@ -105,28 +95,18 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="5"
Expression="i"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="5"
Type="System.Int32">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Int32"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<BaseType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -144,28 +124,19 @@ namespace Debugger.Tests { @@ -144,28 +124,19 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="five"
Expression="s"
IsInvalid="False"
IsNull="False"
IsReference="True"
PrimitiveValue="five"
Type="System.String">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.String"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="String">
<BaseType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">
@ -183,28 +154,18 @@ namespace Debugger.Tests { @@ -183,28 +154,18 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="5.5"
Expression="d"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="5.5"
Type="System.Double">
<Type>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.Double"
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}"
Name="Double">
<BaseType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">

32
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ThreadName.cs

@ -56,78 +56,54 @@ namespace Debugger.Tests { @@ -56,78 +56,54 @@ namespace Debugger.Tests {
<ModuleLoaded>mscorlib.dll (No symbols)</ModuleLoaded>
<ThreadStartedEvent>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="True"
IsInValidState="True"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="System.AppDomain.SetupDomain"
MostRecentStackFrameWithLoadedSymbols="null"
Name=""
OldestStackFrame="System.AppDomain.SetupDomain"
Priority="Normal"
RuntimeValue="? = null"
SelectedStackFrame="null"
Suspended="False" />
RuntimeValue="? = null" />
</ThreadStartedEvent>
<ModuleLoaded>ThreadName.exe (Has symbols)</ModuleLoaded>
<DebuggingPaused>Break ThreadName.cs:17,4-17,40</DebuggingPaused>
<Thread>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="True"
IsInValidState="True"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main"
MostRecentStackFrameWithLoadedSymbols="Debugger.Tests.TestPrograms.ThreadName.Main"
Name=""
OldestStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main"
Priority="AboveNormal"
RuntimeValue="? = {System.Threading.Thread}"
SelectedStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main"
Suspended="False" />
SelectedStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main" />
</Thread>
<DebuggingPaused>Break ThreadName.cs:19,4-19,40</DebuggingPaused>
<Thread>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="True"
IsInValidState="True"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main"
MostRecentStackFrameWithLoadedSymbols="Debugger.Tests.TestPrograms.ThreadName.Main"
Name="ThreadName"
OldestStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main"
Priority="AboveNormal"
RuntimeValue="? = {System.Threading.Thread}"
SelectedStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main"
Suspended="False" />
SelectedStackFrame="Debugger.Tests.TestPrograms.ThreadName.Main" />
</Thread>
<ThreadStartedEvent>
<Thread
CurrentException="null"
CurrentExceptionIsUnhandled="False"
CurrentExceptionType="0"
HasExited="False"
IsAtSafePoint="True"
IsInValidState="True"
IsMostRecentStackFrameNative="False"
MostRecentStackFrame="System.Threading.ReaderWriterLock.Finalize"
MostRecentStackFrameWithLoadedSymbols="null"
Name=""
OldestStackFrame="System.Threading.ReaderWriterLock.Finalize"
Priority="Normal"
RuntimeValue="? = null"
SelectedStackFrame="null"
Suspended="False" />
RuntimeValue="? = null" />
</ThreadStartedEvent>
<ProcessExited />
</Test>

13
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ValueType.cs

@ -60,38 +60,25 @@ namespace Debugger.Tests { @@ -60,38 +60,25 @@ namespace Debugger.Tests {
ArrayRank="{Exception: Value is not an array}"
AsString="{Debugger.Tests.ValueType}"
Expression="this"
IsInvalid="False"
IsNull="False"
IsReference="False"
PrimitiveValue="{Exception: Value is not a primitive type}"
Type="Debugger.Tests.ValueType">
<Type>
<DebugType
BaseType="System.ValueType"
ElementType="null"
FullName="Debugger.Tests.ValueType"
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="ValueType.exe"
Name="ValueType">
<BaseType>
<DebugType
BaseType="System.Object"
ElementType="null"
FullName="System.ValueType"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="ValueType">
<BaseType>
<DebugType
BaseType="null"
ElementType="null"
FullName="System.Object"
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll"
Name="Object">

Loading…
Cancel
Save