Browse Source

Value.Array* return 0/null instead of throwing exception for non-arrays

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4806 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 17 years ago
parent
commit
d0cfba4f9e
  1. 6
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Values/Value.Array.cs
  2. 18
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.cs
  3. 93
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/DebugTypes.cs
  4. 30
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Expressions.cs
  5. 33
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.cs
  6. 12
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.cs
  7. 60
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.cs
  8. 42
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/GenericDictionary.cs
  9. 54
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Generics.cs
  10. 36
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ObjectValue.cs
  11. 12
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/PrimitiveValue.cs
  12. 3
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ValueType.cs

6
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Values/Value.Array.cs

@ -31,8 +31,10 @@ namespace Debugger @@ -31,8 +31,10 @@ namespace Debugger
/// Gets the number of elements in the array.
/// eg new object[4,5] returns 20
/// </summary>
/// <returns> 0 for non-arrays </returns>
public int ArrayLength {
get {
if (!this.Type.IsArray) return 0;
return (int)CorArrayValue.Count;
}
}
@ -41,15 +43,19 @@ namespace Debugger @@ -41,15 +43,19 @@ namespace Debugger
/// Gets the number of dimensions of the array.
/// eg new object[4,5] returns 2
/// </summary>
/// <returns> 0 for non-arrays </returns>
public int ArrayRank {
get {
if (!this.Type.IsArray) return 0;
return (int)CorArrayValue.Rank;
}
}
/// <summary> Gets the dimensions of the array </summary>
/// <returns> null for non-arrays </returns>
public ArrayDimensions ArrayDimensions {
get {
if (!this.Type.IsArray) return null;
int rank = this.ArrayRank;
uint[] baseIndicies;
if (CorArrayValue.HasBaseIndicies() == 1) {

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

@ -69,9 +69,6 @@ namespace Debugger.Tests { @@ -69,9 +69,6 @@ namespace Debugger.Tests {
<array_elements>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="(array)[(System.Int32)0]"
PrimitiveValue="0"
@ -79,9 +76,6 @@ namespace Debugger.Tests { @@ -79,9 +76,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="(array)[(System.Int32)1]"
PrimitiveValue="1"
@ -89,9 +83,6 @@ namespace Debugger.Tests { @@ -89,9 +83,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="(array)[(System.Int32)2]"
PrimitiveValue="2"
@ -99,9 +90,6 @@ namespace Debugger.Tests { @@ -99,9 +90,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="(array)[(System.Int32)3]"
PrimitiveValue="3"
@ -109,9 +97,6 @@ namespace Debugger.Tests { @@ -109,9 +97,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="(array)[(System.Int32)4]"
PrimitiveValue="4"
@ -149,9 +134,6 @@ namespace Debugger.Tests { @@ -149,9 +134,6 @@ namespace Debugger.Tests {
</type>
<array.Length>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="5"
Expression="((System.Array)(array)).Length"
PrimitiveValue="5"

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

@ -273,9 +273,6 @@ namespace Debugger.Tests { @@ -273,9 +273,6 @@ namespace Debugger.Tests {
Count="20">
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="nullMyClass"
IsNull="True"
@ -296,9 +293,6 @@ namespace Debugger.Tests { @@ -296,9 +293,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="nullObject"
IsNull="True"
@ -318,9 +312,6 @@ namespace Debugger.Tests { @@ -318,9 +312,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="nullString"
IsNull="True"
@ -340,9 +331,6 @@ namespace Debugger.Tests { @@ -340,9 +331,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="obj"
IsReference="True"
@ -361,9 +349,6 @@ namespace Debugger.Tests { @@ -361,9 +349,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{MyClass}"
Expression="myClass"
IsReference="True"
@ -383,9 +368,6 @@ namespace Debugger.Tests { @@ -383,9 +368,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="42"
Expression="loc"
PrimitiveValue="42"
@ -404,9 +386,6 @@ namespace Debugger.Tests { @@ -404,9 +386,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="43"
Expression="locByRef"
PrimitiveValue="43"
@ -425,9 +404,6 @@ namespace Debugger.Tests { @@ -425,9 +404,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="locPtr"
IsReference="True"
@ -456,9 +432,6 @@ namespace Debugger.Tests { @@ -456,9 +432,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="locPtrByRef"
IsReference="True"
@ -487,9 +460,6 @@ namespace Debugger.Tests { @@ -487,9 +460,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32**}"
Expression="locPtrPtr"
IsReference="True"
@ -527,9 +497,6 @@ namespace Debugger.Tests { @@ -527,9 +497,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Void*}"
Expression="locVoidPtr"
IsReference="True"
@ -557,9 +524,6 @@ namespace Debugger.Tests { @@ -557,9 +524,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="locObj"
IsReference="True"
@ -578,9 +542,6 @@ namespace Debugger.Tests { @@ -578,9 +542,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="locObjByRef"
IsReference="True"
@ -663,9 +624,6 @@ namespace Debugger.Tests { @@ -663,9 +624,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Point}"
Expression="locStruct"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -684,9 +642,6 @@ namespace Debugger.Tests { @@ -684,9 +642,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Point*}"
Expression="locStructPtr"
IsReference="True"
@ -715,9 +670,6 @@ namespace Debugger.Tests { @@ -715,9 +670,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32}"
Expression="box"
IsReference="True"
@ -738,9 +690,6 @@ namespace Debugger.Tests { @@ -738,9 +690,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{MyInterfaceImpl&lt;System.Int32&gt;}"
Expression="myInterfaceImpl"
IsReference="True"
@ -762,9 +711,6 @@ namespace Debugger.Tests { @@ -762,9 +711,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{MyInterfaceImpl&lt;System.Int32&gt;}"
Expression="myInterface"
IsReference="True"
@ -791,9 +737,6 @@ namespace Debugger.Tests { @@ -791,9 +737,6 @@ namespace Debugger.Tests {
Count="15">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="42"
Expression="arg"
PrimitiveValue="42"
@ -812,9 +755,6 @@ namespace Debugger.Tests { @@ -812,9 +755,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="43"
Expression="argByRef"
PrimitiveValue="43"
@ -833,9 +773,6 @@ namespace Debugger.Tests { @@ -833,9 +773,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="argPtr"
IsReference="True"
@ -864,9 +801,6 @@ namespace Debugger.Tests { @@ -864,9 +801,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32*}"
Expression="argPtrByRef"
IsReference="True"
@ -895,9 +829,6 @@ namespace Debugger.Tests { @@ -895,9 +829,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32**}"
Expression="argPtrPtr"
IsReference="True"
@ -935,9 +866,6 @@ namespace Debugger.Tests { @@ -935,9 +866,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Void*}"
Expression="argVoidPtr"
IsReference="True"
@ -965,9 +893,6 @@ namespace Debugger.Tests { @@ -965,9 +893,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="argObj"
IsReference="True"
@ -986,9 +911,6 @@ namespace Debugger.Tests { @@ -986,9 +911,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="argObjByRef"
IsReference="True"
@ -1071,9 +993,6 @@ namespace Debugger.Tests { @@ -1071,9 +993,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Point}"
Expression="argStruct"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -1092,9 +1011,6 @@ namespace Debugger.Tests { @@ -1092,9 +1011,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Point}"
Expression="argStructByRef"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -1113,9 +1029,6 @@ namespace Debugger.Tests { @@ -1113,9 +1029,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Point*}"
Expression="argStructPtr"
IsReference="True"
@ -1144,9 +1057,6 @@ namespace Debugger.Tests { @@ -1144,9 +1057,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32}"
Expression="argBox"
IsReference="True"
@ -1167,9 +1077,6 @@ namespace Debugger.Tests { @@ -1167,9 +1077,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Int32}"
Expression="argBoxByRef"
IsReference="True"

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

@ -94,9 +94,6 @@ namespace Debugger.Tests { @@ -94,9 +94,6 @@ namespace Debugger.Tests {
Count="1">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="argValue"
Expression="arg"
IsReference="True"
@ -109,9 +106,6 @@ namespace Debugger.Tests { @@ -109,9 +106,6 @@ namespace Debugger.Tests {
Count="4">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="i"
PrimitiveValue="0"
@ -141,9 +135,6 @@ namespace Debugger.Tests { @@ -141,9 +135,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="baseClassString"
Expression="BaseClass"
IsReference="True"
@ -154,9 +145,6 @@ namespace Debugger.Tests { @@ -154,9 +145,6 @@ namespace Debugger.Tests {
<this>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="derived name"
Expression="((Debugger.Tests.TestPrograms.TestClass)(this)).name"
IsReference="True"
@ -165,9 +153,6 @@ namespace Debugger.Tests { @@ -165,9 +153,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="derived value"
Expression="((Debugger.Tests.TestPrograms.TestClass)(this)).Value"
IsReference="True"
@ -176,9 +161,6 @@ namespace Debugger.Tests { @@ -176,9 +161,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="field value"
Expression="((Debugger.Tests.TestPrograms.TestClass)(this)).field"
IsReference="True"
@ -198,9 +180,6 @@ namespace Debugger.Tests { @@ -198,9 +180,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="base name"
Expression="((Debugger.Tests.TestPrograms.BaseClass)(this)).name"
IsReference="True"
@ -209,9 +188,6 @@ namespace Debugger.Tests { @@ -209,9 +188,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="base value"
Expression="((Debugger.Tests.TestPrograms.BaseClass)(this)).Value"
IsReference="True"
@ -220,9 +196,6 @@ namespace Debugger.Tests { @@ -220,9 +196,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="derived name"
Expression="((Debugger.Tests.TestPrograms.TestClass)(this)).Name"
IsReference="True"
@ -231,9 +204,6 @@ namespace Debugger.Tests { @@ -231,9 +204,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="base name"
Expression="((Debugger.Tests.TestPrograms.BaseClass)(this)).Name"
IsReference="True"

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

@ -99,9 +99,6 @@ namespace Debugger.Tests { @@ -99,9 +99,6 @@ namespace Debugger.Tests {
Count="9">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="i"
PrimitiveValue="1"
@ -109,9 +106,6 @@ namespace Debugger.Tests { @@ -109,9 +106,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="A"
Expression="s"
IsReference="True"
@ -120,9 +114,6 @@ namespace Debugger.Tests { @@ -120,9 +114,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="s_null"
IsNull="True"
@ -131,9 +122,6 @@ namespace Debugger.Tests { @@ -131,9 +122,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="ref_i"
PrimitiveValue="2"
@ -141,9 +129,6 @@ namespace Debugger.Tests { @@ -141,9 +129,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="out_i"
PrimitiveValue="3"
@ -151,9 +136,6 @@ namespace Debugger.Tests { @@ -151,9 +136,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="out_i2"
PrimitiveValue="0"
@ -161,9 +143,6 @@ namespace Debugger.Tests { @@ -161,9 +143,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="B"
Expression="ref_s"
IsReference="True"
@ -172,9 +151,6 @@ namespace Debugger.Tests { @@ -172,9 +151,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Nullable&lt;System.Int32&gt;}"
Expression="iNull"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -182,9 +158,6 @@ namespace Debugger.Tests { @@ -182,9 +158,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Nullable&lt;System.Int32&gt;}"
Expression="iNull_null"
PrimitiveValue="{Exception: Value is not a primitive type}"
@ -244,9 +217,6 @@ namespace Debugger.Tests { @@ -244,9 +217,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="i"
PrimitiveValue="1"
@ -254,9 +224,6 @@ namespace Debugger.Tests { @@ -254,9 +224,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="A"
Expression="s"
IsReference="True"

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

@ -54,9 +54,6 @@ namespace Debugger.Tests { @@ -54,9 +54,6 @@ namespace Debugger.Tests {
Count="5">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="i"
PrimitiveValue="0"
@ -64,9 +61,6 @@ namespace Debugger.Tests { @@ -64,9 +61,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="S"
Expression="s"
IsReference="True"
@ -86,9 +80,6 @@ namespace Debugger.Tests { @@ -86,9 +80,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="n"
IsNull="True"
@ -98,9 +89,6 @@ namespace Debugger.Tests { @@ -98,9 +89,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Object}"
Expression="o"
IsReference="True"

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

@ -101,9 +101,6 @@ namespace Debugger.Tests { @@ -101,9 +101,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break FunctionVariablesLifetime.cs:25,4-25,40</DebuggingPaused>
<argument>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="argument"
PrimitiveValue="1"
@ -111,9 +108,6 @@ namespace Debugger.Tests { @@ -111,9 +108,6 @@ namespace Debugger.Tests {
</argument>
<local>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="local"
PrimitiveValue="2"
@ -121,9 +115,6 @@ namespace Debugger.Tests { @@ -121,9 +115,6 @@ namespace Debugger.Tests {
</local>
<_x0040_class>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="((Debugger.Tests.TestPrograms.FunctionVariablesLifetime)(this)).@class"
PrimitiveValue="3"
@ -132,9 +123,6 @@ namespace Debugger.Tests { @@ -132,9 +123,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break FunctionVariablesLifetime.cs:34,4-34,40</DebuggingPaused>
<argument>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="argument"
IsInvalid="True"
@ -145,9 +133,6 @@ namespace Debugger.Tests { @@ -145,9 +133,6 @@ namespace Debugger.Tests {
</argument>
<local>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="local"
IsInvalid="True"
@ -158,9 +143,6 @@ namespace Debugger.Tests { @@ -158,9 +143,6 @@ namespace Debugger.Tests {
</local>
<_x0040_class>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="((Debugger.Tests.TestPrograms.FunctionVariablesLifetime)(this)).@class"
IsInvalid="True"
@ -171,9 +153,6 @@ namespace Debugger.Tests { @@ -171,9 +153,6 @@ namespace Debugger.Tests {
</_x0040_class>
<localInSubFunction>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="localInSubFunction"
PrimitiveValue="4"
@ -182,9 +161,6 @@ namespace Debugger.Tests { @@ -182,9 +161,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break FunctionVariablesLifetime.cs:27,4-27,40</DebuggingPaused>
<argument>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="argument"
IsInvalid="True"
@ -195,9 +171,6 @@ namespace Debugger.Tests { @@ -195,9 +171,6 @@ namespace Debugger.Tests {
</argument>
<local>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="local"
IsInvalid="True"
@ -208,9 +181,6 @@ namespace Debugger.Tests { @@ -208,9 +181,6 @@ namespace Debugger.Tests {
</local>
<_x0040_class>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="((Debugger.Tests.TestPrograms.FunctionVariablesLifetime)(this)).@class"
IsInvalid="True"
@ -221,9 +191,6 @@ namespace Debugger.Tests { @@ -221,9 +191,6 @@ namespace Debugger.Tests {
</_x0040_class>
<localInSubFunction>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="localInSubFunction"
IsInvalid="True"
@ -235,9 +202,6 @@ namespace Debugger.Tests { @@ -235,9 +202,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break FunctionVariablesLifetime.cs:34,4-34,40</DebuggingPaused>
<argument>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="argument"
IsInvalid="True"
@ -248,9 +212,6 @@ namespace Debugger.Tests { @@ -248,9 +212,6 @@ namespace Debugger.Tests {
</argument>
<local>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="local"
IsInvalid="True"
@ -261,9 +222,6 @@ namespace Debugger.Tests { @@ -261,9 +222,6 @@ namespace Debugger.Tests {
</local>
<_x0040_class>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="((Debugger.Tests.TestPrograms.FunctionVariablesLifetime)(this)).@class"
IsInvalid="True"
@ -274,9 +232,6 @@ namespace Debugger.Tests { @@ -274,9 +232,6 @@ namespace Debugger.Tests {
</_x0040_class>
<localInSubFunction>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="localInSubFunction"
IsInvalid="True"
@ -287,9 +242,6 @@ namespace Debugger.Tests { @@ -287,9 +242,6 @@ namespace Debugger.Tests {
</localInSubFunction>
<localInSubFunction_x0028_new_x0029_>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="localInSubFunction"
PrimitiveValue="4"
@ -298,9 +250,6 @@ namespace Debugger.Tests { @@ -298,9 +250,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break FunctionVariablesLifetime.cs:19,4-19,40</DebuggingPaused>
<argument>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="argument"
IsInvalid="True"
@ -311,9 +260,6 @@ namespace Debugger.Tests { @@ -311,9 +260,6 @@ namespace Debugger.Tests {
</argument>
<local>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="local"
IsInvalid="True"
@ -324,9 +270,6 @@ namespace Debugger.Tests { @@ -324,9 +270,6 @@ namespace Debugger.Tests {
</local>
<_x0040_class>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="((Debugger.Tests.TestPrograms.FunctionVariablesLifetime)(this)).@class"
IsInvalid="True"
@ -337,9 +280,6 @@ namespace Debugger.Tests { @@ -337,9 +280,6 @@ namespace Debugger.Tests {
</_x0040_class>
<localInSubFunction>
<Value
ArrayDimensions="{Exception: Value is no longer valid}"
ArrayLength="{Exception: Value is no longer valid}"
ArrayRank="{Exception: Value is no longer valid}"
AsString="{Exception: Value is no longer valid}"
Expression="localInSubFunction"
IsInvalid="True"

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

@ -54,9 +54,6 @@ namespace Debugger.Tests { @@ -54,9 +54,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break GenericDictionary.cs:21,4-21,40</DebuggingPaused>
<dict>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;}"
Expression="dict"
IsReference="True"
@ -88,9 +85,6 @@ namespace Debugger.Tests { @@ -88,9 +85,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).count"
PrimitiveValue="3"
@ -98,9 +92,6 @@ namespace Debugger.Tests { @@ -98,9 +92,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).version"
PrimitiveValue="3"
@ -108,9 +99,6 @@ namespace Debugger.Tests { @@ -108,9 +99,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="-1"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).freeList"
PrimitiveValue="-1"
@ -118,9 +106,6 @@ namespace Debugger.Tests { @@ -118,9 +106,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).freeCount"
PrimitiveValue="0"
@ -128,9 +113,6 @@ namespace Debugger.Tests { @@ -128,9 +113,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Collections.Generic.GenericEqualityComparer&lt;System.String&gt;}"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).comparer"
IsReference="True"
@ -139,9 +121,6 @@ namespace Debugger.Tests { @@ -139,9 +121,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).keys"
IsNull="True"
@ -151,9 +130,6 @@ namespace Debugger.Tests { @@ -151,9 +130,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).values"
IsNull="True"
@ -163,9 +139,6 @@ namespace Debugger.Tests { @@ -163,9 +139,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict))._syncRoot"
IsNull="True"
@ -175,9 +148,6 @@ namespace Debugger.Tests { @@ -175,9 +148,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is null}"
ArrayLength="{Exception: Value is null}"
ArrayRank="{Exception: Value is null}"
AsString="null"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).m_siInfo"
IsNull="True"
@ -187,9 +157,6 @@ namespace Debugger.Tests { @@ -187,9 +157,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{System.Collections.Generic.GenericEqualityComparer&lt;System.String&gt;}"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).Comparer"
IsReference="True"
@ -198,9 +165,6 @@ namespace Debugger.Tests { @@ -198,9 +165,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).Count"
PrimitiveValue="3"
@ -208,9 +172,6 @@ namespace Debugger.Tests { @@ -208,9 +172,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{KeyCollection&lt;System.String,System.Int32&gt;}"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).Keys"
IsReference="True"
@ -219,9 +180,6 @@ namespace Debugger.Tests { @@ -219,9 +180,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{ValueCollection&lt;System.String,System.Int32&gt;}"
Expression="((System.Collections.Generic.Dictionary&lt;System.String, System.Int32&gt;)(dict)).Values"
IsReference="True"

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

@ -168,9 +168,6 @@ namespace Debugger.Tests { @@ -168,9 +168,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="1"
Expression="v"
PrimitiveValue="1"
@ -178,9 +175,6 @@ namespace Debugger.Tests { @@ -178,9 +175,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="1!"
Expression="k"
IsReference="True"
@ -225,9 +219,6 @@ namespace Debugger.Tests { @@ -225,9 +219,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="2"
Expression="v"
PrimitiveValue="2"
@ -235,9 +226,6 @@ namespace Debugger.Tests { @@ -235,9 +226,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="2!"
Expression="k"
IsReference="True"
@ -283,9 +271,6 @@ namespace Debugger.Tests { @@ -283,9 +271,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3"
Expression="v"
PrimitiveValue="3"
@ -293,9 +278,6 @@ namespace Debugger.Tests { @@ -293,9 +278,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="3!"
Expression="k"
IsReference="True"
@ -341,9 +323,6 @@ namespace Debugger.Tests { @@ -341,9 +323,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="4"
Expression="v"
PrimitiveValue="4"
@ -351,9 +330,6 @@ namespace Debugger.Tests { @@ -351,9 +330,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="4!"
Expression="k"
IsReference="True"
@ -398,9 +374,6 @@ namespace Debugger.Tests { @@ -398,9 +374,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="5"
Expression="v"
PrimitiveValue="5"
@ -408,9 +381,6 @@ namespace Debugger.Tests { @@ -408,9 +381,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="5!"
Expression="k"
IsReference="True"
@ -455,9 +425,6 @@ namespace Debugger.Tests { @@ -455,9 +425,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="6"
Expression="v"
PrimitiveValue="6"
@ -465,9 +432,6 @@ namespace Debugger.Tests { @@ -465,9 +432,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="6!"
Expression="k"
IsReference="True"
@ -513,9 +477,6 @@ namespace Debugger.Tests { @@ -513,9 +477,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="7"
Expression="v"
PrimitiveValue="7"
@ -523,9 +484,6 @@ namespace Debugger.Tests { @@ -523,9 +484,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="7!"
Expression="k"
IsReference="True"
@ -571,9 +529,6 @@ namespace Debugger.Tests { @@ -571,9 +529,6 @@ namespace Debugger.Tests {
Count="2">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="8"
Expression="v"
PrimitiveValue="8"
@ -581,9 +536,6 @@ namespace Debugger.Tests { @@ -581,9 +536,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="8!"
Expression="k"
IsReference="True"
@ -594,9 +546,6 @@ namespace Debugger.Tests { @@ -594,9 +546,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break Generics.cs:28,4-28,40</DebuggingPaused>
<Prop>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="((Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32, System.String&gt;)(gClass)).Prop"
PrimitiveValue="0"
@ -604,9 +553,6 @@ namespace Debugger.Tests { @@ -604,9 +553,6 @@ namespace Debugger.Tests {
</Prop>
<StaticProp>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="0"
Expression="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32, System.String&gt;.StaticProp"
PrimitiveValue="0"

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

@ -75,9 +75,6 @@ namespace Debugger.Tests { @@ -75,9 +75,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break ObjectValue.cs:32,4-32,40</DebuggingPaused>
<val>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Debugger.Tests.TestPrograms.ObjectValue}"
Expression="val"
IsReference="True"
@ -87,9 +84,6 @@ namespace Debugger.Tests { @@ -87,9 +84,6 @@ namespace Debugger.Tests {
<val_members>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="c"
Expression="((Debugger.Tests.TestPrograms.ObjectValue)(val)).privateField"
IsReference="True"
@ -98,9 +92,6 @@ namespace Debugger.Tests { @@ -98,9 +92,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="d"
Expression="((Debugger.Tests.TestPrograms.ObjectValue)(val)).publicFiled"
IsReference="True"
@ -109,9 +100,6 @@ namespace Debugger.Tests { @@ -109,9 +100,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="a"
Expression="((Debugger.Tests.TestPrograms.BaseClass2)(val)).basePublic"
IsReference="True"
@ -120,9 +108,6 @@ namespace Debugger.Tests { @@ -120,9 +108,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="b"
Expression="((Debugger.Tests.TestPrograms.BaseClass2)(val)).basePrivate"
IsReference="True"
@ -131,9 +116,6 @@ namespace Debugger.Tests { @@ -131,9 +116,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="c"
Expression="((Debugger.Tests.TestPrograms.ObjectValue)(val)).PublicProperty"
IsReference="True"
@ -144,9 +126,6 @@ namespace Debugger.Tests { @@ -144,9 +126,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break ObjectValue.cs:34,4-34,40</DebuggingPaused>
<val>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Debugger.Tests.TestPrograms.ObjectValue}"
Expression="val"
IsReference="True"
@ -156,9 +135,6 @@ namespace Debugger.Tests { @@ -156,9 +135,6 @@ namespace Debugger.Tests {
<val_members>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="new private"
Expression="((Debugger.Tests.TestPrograms.ObjectValue)(val)).privateField"
IsReference="True"
@ -167,9 +143,6 @@ namespace Debugger.Tests { @@ -167,9 +143,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="d"
Expression="((Debugger.Tests.TestPrograms.ObjectValue)(val)).publicFiled"
IsReference="True"
@ -178,9 +151,6 @@ namespace Debugger.Tests { @@ -178,9 +151,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="a"
Expression="((Debugger.Tests.TestPrograms.BaseClass2)(val)).basePublic"
IsReference="True"
@ -189,9 +159,6 @@ namespace Debugger.Tests { @@ -189,9 +159,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="b"
Expression="((Debugger.Tests.TestPrograms.BaseClass2)(val)).basePrivate"
IsReference="True"
@ -200,9 +167,6 @@ namespace Debugger.Tests { @@ -200,9 +167,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="new private"
Expression="((Debugger.Tests.TestPrograms.ObjectValue)(val)).PublicProperty"
IsReference="True"

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

@ -61,9 +61,6 @@ namespace Debugger.Tests { @@ -61,9 +61,6 @@ namespace Debugger.Tests {
Count="4">
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="True"
Expression="b"
PrimitiveValue="True"
@ -90,9 +87,6 @@ namespace Debugger.Tests { @@ -90,9 +87,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="5"
Expression="i"
PrimitiveValue="5"
@ -119,9 +113,6 @@ namespace Debugger.Tests { @@ -119,9 +113,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="five"
Expression="s"
IsReference="True"
@ -149,9 +140,6 @@ namespace Debugger.Tests { @@ -149,9 +140,6 @@ namespace Debugger.Tests {
</Item>
<Item>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="5.5"
Expression="d"
PrimitiveValue="5.5"

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

@ -55,9 +55,6 @@ namespace Debugger.Tests { @@ -55,9 +55,6 @@ namespace Debugger.Tests {
<DebuggingPaused>Break ValueType.cs:21,4-21,40</DebuggingPaused>
<this>
<Value
ArrayDimensions="{Exception: Value is not an array}"
ArrayLength="{Exception: Value is not an array}"
ArrayRank="{Exception: Value is not an array}"
AsString="{Debugger.Tests.ValueType}"
Expression="this"
PrimitiveValue="{Exception: Value is not a primitive type}"

Loading…
Cancel
Save