Browse Source

Update Debugger.Tests

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2766 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 18 years ago
parent
commit
ea9e8e66a2
  1. 12
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTests.cs
  2. 51
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.xml
  3. 72
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Callstack.xml
  4. 237
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.xml
  5. 104
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.xml
  6. 47
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.xml
  7. 200
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.xml
  8. 294
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/GenericDictionary.xml
  9. 200
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ObjectValue.xml
  10. 108
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Stepping.xml

12
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTests.cs

@ -216,10 +216,10 @@ namespace Debugger.Tests @@ -216,10 +216,10 @@ namespace Debugger.Tests
[Test]
public void FunctionVariablesLifetime()
{
NamedValue argument = null;
NamedValue local = null;
NamedValue localInSubFunction = null;
NamedValue @class = null;
Value argument = null;
Value local = null;
Value localInSubFunction = null;
Value @class = null;
StartTest("FunctionVariablesLifetime"); // 1 - Enter program
WaitForPause();
@ -271,7 +271,7 @@ namespace Debugger.Tests @@ -271,7 +271,7 @@ namespace Debugger.Tests
{
StartTest("ArrayValue");
WaitForPause();
NamedValue array = process.SelectedFunction.LocalVariables["array"];
Value array = process.SelectedFunction.LocalVariables["array"];
ObjectDump("array", array);
ObjectDump("array elements", array.GetArrayElements());
@ -283,7 +283,7 @@ namespace Debugger.Tests @@ -283,7 +283,7 @@ namespace Debugger.Tests
[Test]
public void ObjectValue()
{
NamedValue val = null;
Value val = null;
StartTest("ObjectValue");
WaitForPause();

51
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.xml

@ -6,8 +6,7 @@ @@ -6,8 +6,7 @@
<ModuleLoaded symbols="True">ArrayValue.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="array">
<LocalVariable>
<Name>array</Name>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>5</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -18,17 +17,17 @@ @@ -18,17 +17,17 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>array</Name>
<Expression>array</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32[]</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="array elements">
<NamedValueCollection>
<ValueCollection>
<Count>5</Count>
<Items>
<ArrayElement>
<Indicies>System.UInt32[]</Indicies>
<Name>[0]</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -39,12 +38,12 @@ @@ -39,12 +38,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Name>[0]</Name>
<Expression>parent[0u]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</ArrayElement>
<ArrayElement>
<Indicies>System.UInt32[]</Indicies>
<Name>[1]</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -55,12 +54,12 @@ @@ -55,12 +54,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>[1]</Name>
<Expression>parent[1u]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</ArrayElement>
<ArrayElement>
<Indicies>System.UInt32[]</Indicies>
<Name>[2]</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -71,12 +70,12 @@ @@ -71,12 +70,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Name>[2]</Name>
<Expression>parent[2u]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</ArrayElement>
<ArrayElement>
<Indicies>System.UInt32[]</Indicies>
<Name>[3]</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -87,12 +86,12 @@ @@ -87,12 +86,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Name>[3]</Name>
<Expression>parent[3u]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</ArrayElement>
<ArrayElement>
<Indicies>System.UInt32[]</Indicies>
<Name>[4]</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -103,11 +102,13 @@ @@ -103,11 +102,13 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>4</PrimitiveValue>
<Name>[4]</Name>
<Expression>parent[4u]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</ArrayElement>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</ObjectDump>
<ProcessExited />
</Test>

72
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Callstack.xml

@ -18,23 +18,23 @@ @@ -18,23 +18,23 @@
<NextStatement>Start=26,4 End=26,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
<Function>
@ -46,23 +46,23 @@ @@ -46,23 +46,23 @@
<NextStatement>Start=21,4 End=21,11</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
<Function>
@ -74,23 +74,23 @@ @@ -74,23 +74,23 @@
<NextStatement>Start=16,4 End=16,11</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</Items>
@ -110,23 +110,23 @@ @@ -110,23 +110,23 @@
<NextStatement>Start=21,4 End=21,11</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
<Function>
@ -138,23 +138,23 @@ @@ -138,23 +138,23 @@
<NextStatement>Start=16,4 End=16,11</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</Items>
@ -174,23 +174,23 @@ @@ -174,23 +174,23 @@
<NextStatement>Start=16,4 End=16,11</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</Items>

237
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.xml

@ -16,19 +16,17 @@ @@ -16,19 +16,17 @@
<NextStatement>Start=28,4 End=28,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>3</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>3</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -39,12 +37,12 @@ @@ -39,12 +37,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
<MethodArgument>
<Index>1</Index>
<Name>s</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -55,12 +53,12 @@ @@ -55,12 +53,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>S</PrimitiveValue>
<Name>s</Name>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MethodArgument>
<MethodArgument>
<Index>2</Index>
<Name>args</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>0</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -71,17 +69,19 @@ @@ -71,17 +69,19 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>args</Name>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -96,19 +96,17 @@ @@ -96,19 +96,17 @@
<NextStatement>Start=28,4 End=28,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>3</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>3</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -119,12 +117,12 @@ @@ -119,12 +117,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
<MethodArgument>
<Index>1</Index>
<Name>s</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -135,12 +133,12 @@ @@ -135,12 +133,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>S</PrimitiveValue>
<Name>s</Name>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MethodArgument>
<MethodArgument>
<Index>2</Index>
<Name>args</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>1</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -151,17 +149,19 @@ @@ -151,17 +149,19 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>args</Name>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -176,19 +176,17 @@ @@ -176,19 +176,17 @@
<NextStatement>Start=28,4 End=28,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>3</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>3</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -199,12 +197,12 @@ @@ -199,12 +197,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
<MethodArgument>
<Index>1</Index>
<Name>s</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -215,12 +213,12 @@ @@ -215,12 +213,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>s</Name>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MethodArgument>
<MethodArgument>
<Index>2</Index>
<Name>args</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>2</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -231,17 +229,19 @@ @@ -231,17 +229,19 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>args</Name>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -255,8 +255,7 @@ @@ -255,8 +255,7 @@
<HasExpired>False</HasExpired>
<NextStatement>Start=33,4 End=33,40</NextStatement>
<ThisValue>
<NamedValue>
<Name>this</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -267,24 +266,24 @@ @@ -267,24 +266,24 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>this</Name>
<Expression>this</Expression>
<HasExpired>False</HasExpired>
<Type>Debugger.Tests.TestPrograms.FunctionArgumentVariables</Type>
</NamedValue>
</Value>
</ThisValue>
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>3</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>3</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -295,12 +294,12 @@ @@ -295,12 +294,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
<MethodArgument>
<Index>1</Index>
<Name>s</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -311,12 +310,12 @@ @@ -311,12 +310,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>S</PrimitiveValue>
<Name>s</Name>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MethodArgument>
<MethodArgument>
<Index>2</Index>
<Name>args</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>0</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -327,17 +326,19 @@ @@ -327,17 +326,19 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>args</Name>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -351,8 +352,7 @@ @@ -351,8 +352,7 @@
<HasExpired>False</HasExpired>
<NextStatement>Start=33,4 End=33,40</NextStatement>
<ThisValue>
<NamedValue>
<Name>this</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -363,24 +363,24 @@ @@ -363,24 +363,24 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>this</Name>
<Expression>this</Expression>
<HasExpired>False</HasExpired>
<Type>Debugger.Tests.TestPrograms.FunctionArgumentVariables</Type>
</NamedValue>
</Value>
</ThisValue>
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>3</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>3</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -391,12 +391,12 @@ @@ -391,12 +391,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
<MethodArgument>
<Index>1</Index>
<Name>s</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -407,12 +407,12 @@ @@ -407,12 +407,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>S</PrimitiveValue>
<Name>s</Name>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MethodArgument>
<MethodArgument>
<Index>2</Index>
<Name>args</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>1</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -423,17 +423,19 @@ @@ -423,17 +423,19 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>args</Name>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -447,8 +449,7 @@ @@ -447,8 +449,7 @@
<HasExpired>False</HasExpired>
<NextStatement>Start=33,4 End=33,40</NextStatement>
<ThisValue>
<NamedValue>
<Name>this</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -459,24 +460,24 @@ @@ -459,24 +460,24 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>this</Name>
<Expression>this</Expression>
<HasExpired>False</HasExpired>
<Type>Debugger.Tests.TestPrograms.FunctionArgumentVariables</Type>
</NamedValue>
</Value>
</ThisValue>
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>3</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>3</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -487,12 +488,12 @@ @@ -487,12 +488,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
<MethodArgument>
<Index>1</Index>
<Name>s</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -503,12 +504,12 @@ @@ -503,12 +504,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>s</Name>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MethodArgument>
<MethodArgument>
<Index>2</Index>
<Name>args</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>2</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -519,17 +520,19 @@ @@ -519,17 +520,19 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>args</Name>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>

104
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.xml

@ -15,19 +15,17 @@ @@ -15,19 +15,17 @@
<NextStatement>Start=22,4 End=22,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>1</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>1</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -38,17 +36,19 @@ @@ -38,17 +36,19 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -63,19 +63,17 @@ @@ -63,19 +63,17 @@
<NextStatement>Start=23,4 End=23,18</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>1</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>1</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -86,17 +84,19 @@ @@ -86,17 +84,19 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -110,23 +110,23 @@ @@ -110,23 +110,23 @@
<NextStatement>Start=29,4 End=29,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -141,19 +141,17 @@ @@ -141,19 +141,17 @@
<NextStatement>Start=24,4 End=24,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>1</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>1</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -164,17 +162,19 @@ @@ -164,17 +162,19 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -189,23 +189,23 @@ @@ -189,23 +189,23 @@
<NextStatement>Start=17,4 End=17,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -219,19 +219,17 @@ @@ -219,19 +219,17 @@
<NextStatement exception="Function has expired" />
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount exception="Function has expired" />
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>1</Count>
<Items>
<MethodArgument>
<Index>0</Index>
<Name>i</Name>
<Value>
<IsArray exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
@ -242,17 +240,19 @@ @@ -242,17 +240,19 @@
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>True</HasExpired>
<Type exception="Value has expired" />
</MethodArgument>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>

47
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.xml

@ -15,24 +15,23 @@ @@ -15,24 +15,23 @@
<NextStatement>Start=23,4 End=23,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>5</Count>
<Items>
<LocalVariable>
<Name>i</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -43,11 +42,12 @@ @@ -43,11 +42,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Name>i</Name>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</LocalVariable>
<LocalVariable>
<Name>s</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -58,11 +58,12 @@ @@ -58,11 +58,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>S</PrimitiveValue>
<Name>s</Name>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</LocalVariable>
<LocalVariable>
<Name>args</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>1</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -73,11 +74,12 @@ @@ -73,11 +74,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>args</Name>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
</LocalVariable>
<LocalVariable>
<Name>n</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -88,11 +90,12 @@ @@ -88,11 +90,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>n</Name>
<Expression>n</Expression>
<HasExpired>False</HasExpired>
<Type>System.Object</Type>
</LocalVariable>
<LocalVariable>
<Name>o</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -103,11 +106,13 @@ @@ -103,11 +106,13 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>o</Name>
<Expression>o</Expression>
<HasExpired>False</HasExpired>
<Type>System.Object</Type>
</LocalVariable>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>

200
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.xml

@ -6,9 +6,7 @@ @@ -6,9 +6,7 @@
<ModuleLoaded symbols="True">FunctionVariablesLifetime.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="argument">
<MethodArgument>
<Index>0</Index>
<Name>argument</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -19,13 +17,14 @@ @@ -19,13 +17,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>argument</Name>
<Expression>argument</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
</Value>
</ObjectDump>
<ObjectDump name="local">
<LocalVariable>
<Name>local</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -36,24 +35,14 @@ @@ -36,24 +35,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Name>local</Name>
<Expression>local</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="@class">
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>class</Name>
<DeclaringType>Debugger.Tests.TestPrograms.FunctionVariablesLifetime</DeclaringType>
<Module>FunctionVariablesLifetime.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>class</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -64,15 +53,15 @@ @@ -64,15 +53,15 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Name>class</Name>
<Expression>parent.@class</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
</Value>
</ObjectDump>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="argument">
<MethodArgument>
<Index>0</Index>
<Name>argument</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -83,13 +72,14 @@ @@ -83,13 +72,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>argument</Name>
<Expression>argument</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
</Value>
</ObjectDump>
<ObjectDump name="local">
<LocalVariable>
<Name>local</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -100,24 +90,14 @@ @@ -100,24 +90,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Name>local</Name>
<Expression>local</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="@class">
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>class</Name>
<DeclaringType>Debugger.Tests.TestPrograms.FunctionVariablesLifetime</DeclaringType>
<Module>FunctionVariablesLifetime.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>class</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -128,13 +108,14 @@ @@ -128,13 +108,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Name>class</Name>
<Expression>parent.@class</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
</Value>
</ObjectDump>
<ObjectDump name="localInSubFunction">
<LocalVariable>
<Name>localInSubFunction</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -145,15 +126,15 @@ @@ -145,15 +126,15 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>4</PrimitiveValue>
<Name>localInSubFunction</Name>
<Expression>localInSubFunction</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</LocalVariable>
</Value>
</ObjectDump>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="argument">
<MethodArgument>
<Index>0</Index>
<Name>argument</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -164,13 +145,14 @@ @@ -164,13 +145,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>argument</Name>
<Expression>argument</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
</Value>
</ObjectDump>
<ObjectDump name="local">
<LocalVariable>
<Name>local</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -181,24 +163,14 @@ @@ -181,24 +163,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Name>local</Name>
<Expression>local</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="@class">
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>class</Name>
<DeclaringType>Debugger.Tests.TestPrograms.FunctionVariablesLifetime</DeclaringType>
<Module>FunctionVariablesLifetime.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>class</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -209,13 +181,14 @@ @@ -209,13 +181,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Name>class</Name>
<Expression>parent.@class</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
</Value>
</ObjectDump>
<ObjectDump name="localInSubFunction">
<LocalVariable>
<Name>localInSubFunction</Name>
<Value>
<IsArray exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
@ -226,15 +199,15 @@ @@ -226,15 +199,15 @@
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Name>localInSubFunction</Name>
<Expression>localInSubFunction</Expression>
<HasExpired>True</HasExpired>
<Type exception="Value has expired" />
</LocalVariable>
</Value>
</ObjectDump>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="argument">
<MethodArgument>
<Index>0</Index>
<Name>argument</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -245,13 +218,14 @@ @@ -245,13 +218,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Name>argument</Name>
<Expression>argument</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MethodArgument>
</Value>
</ObjectDump>
<ObjectDump name="local">
<LocalVariable>
<Name>local</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -262,24 +236,14 @@ @@ -262,24 +236,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Name>local</Name>
<Expression>local</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="@class">
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>class</Name>
<DeclaringType>Debugger.Tests.TestPrograms.FunctionVariablesLifetime</DeclaringType>
<Module>FunctionVariablesLifetime.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>class</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -290,13 +254,14 @@ @@ -290,13 +254,14 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Name>class</Name>
<Expression>parent.@class</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
</Value>
</ObjectDump>
<ObjectDump name="localInSubFunction">
<LocalVariable>
<Name>localInSubFunction</Name>
<Value>
<IsArray exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
@ -307,13 +272,14 @@ @@ -307,13 +272,14 @@
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Name>localInSubFunction</Name>
<Expression>localInSubFunction</Expression>
<HasExpired>True</HasExpired>
<Type exception="Value has expired" />
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="localInSubFunction(new)">
<LocalVariable>
<Name>localInSubFunction</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -324,15 +290,15 @@ @@ -324,15 +290,15 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>4</PrimitiveValue>
<Name>localInSubFunction</Name>
<Expression>localInSubFunction</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</LocalVariable>
</Value>
</ObjectDump>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="argument">
<MethodArgument>
<Index>0</Index>
<Name>argument</Name>
<Value>
<IsArray exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
@ -343,13 +309,14 @@ @@ -343,13 +309,14 @@
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Name>argument</Name>
<Expression>argument</Expression>
<HasExpired>True</HasExpired>
<Type exception="Value has expired" />
</MethodArgument>
</Value>
</ObjectDump>
<ObjectDump name="local">
<LocalVariable>
<Name>local</Name>
<Value>
<IsArray exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
@ -360,24 +327,14 @@ @@ -360,24 +327,14 @@
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Name>local</Name>
<Expression>local</Expression>
<HasExpired>True</HasExpired>
<Type exception="Value has expired" />
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="@class">
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>class</Name>
<DeclaringType>Debugger.Tests.TestPrograms.FunctionVariablesLifetime</DeclaringType>
<Module>FunctionVariablesLifetime.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>class</Name>
<Value>
<IsArray exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
@ -388,13 +345,14 @@ @@ -388,13 +345,14 @@
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Name>class</Name>
<Expression>parent.@class</Expression>
<HasExpired>True</HasExpired>
<Type exception="Value has expired" />
</MemberValue>
</Value>
</ObjectDump>
<ObjectDump name="localInSubFunction">
<LocalVariable>
<Name>localInSubFunction</Name>
<Value>
<IsArray exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
@ -405,9 +363,11 @@ @@ -405,9 +363,11 @@
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Name>localInSubFunction</Name>
<Expression>localInSubFunction</Expression>
<HasExpired>True</HasExpired>
<Type exception="Value has expired" />
</LocalVariable>
</Value>
</ObjectDump>
<ProcessExited />
</Test>

294
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/GenericDictionary.xml

@ -6,8 +6,7 @@ @@ -6,8 +6,7 @@
<ModuleLoaded symbols="True">GenericDictionary.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="dict">
<LocalVariable>
<Name>dict</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -18,27 +17,17 @@ @@ -18,27 +17,17 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>dict</Name>
<Expression>dict</Expression>
<HasExpired>False</HasExpired>
<Type>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="dict members">
<NamedValueCollection>
<ValueCollection>
<Count>16</Count>
<Items>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>buckets</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>buckets</Name>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>3</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -49,22 +38,12 @@ @@ -49,22 +38,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>buckets</Name>
<Expression>parent.buckets</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32[]</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>entries</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>entries</Name>
</Value>
<Value>
<IsArray>True</IsArray>
<ArrayLenght>3</ArrayLenght>
<ArrayRank>1</ArrayRank>
@ -75,22 +54,12 @@ @@ -75,22 +54,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>entries</Name>
<Expression>parent.entries</Expression>
<HasExpired>False</HasExpired>
<Type>Entry&lt;System.String,System.Int32&gt;[]</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>count</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>count</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -101,22 +70,12 @@ @@ -101,22 +70,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Name>count</Name>
<Expression>parent.count</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>version</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>version</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -127,22 +86,12 @@ @@ -127,22 +86,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Name>version</Name>
<Expression>parent.version</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>freeList</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>freeList</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -153,22 +102,12 @@ @@ -153,22 +102,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>-1</PrimitiveValue>
<Name>freeList</Name>
<Expression>parent.freeList</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>freeCount</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>freeCount</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -179,22 +118,12 @@ @@ -179,22 +118,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Name>freeCount</Name>
<Expression>parent.freeCount</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>comparer</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>comparer</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -205,22 +134,12 @@ @@ -205,22 +134,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>comparer</Name>
<Expression>parent.comparer</Expression>
<HasExpired>False</HasExpired>
<Type>System.Collections.Generic.GenericEqualityComparer&lt;System.String&gt;</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>keys</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>keys</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -231,22 +150,12 @@ @@ -231,22 +150,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>keys</Name>
<Expression>parent.keys</Expression>
<HasExpired>False</HasExpired>
<Type>KeyCollection&lt;System.String,System.Int32&gt;</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>values</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>values</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -257,22 +166,12 @@ @@ -257,22 +166,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>values</Name>
<Expression>parent.values</Expression>
<HasExpired>False</HasExpired>
<Type>ValueCollection&lt;System.String,System.Int32&gt;</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>_syncRoot</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>_syncRoot</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -283,22 +182,12 @@ @@ -283,22 +182,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>_syncRoot</Name>
<Expression>parent._syncRoot</Expression>
<HasExpired>False</HasExpired>
<Type>System.Object</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>m_siInfo</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</FieldInfo>
</MemberInfo>
<Name>m_siInfo</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -309,21 +198,12 @@ @@ -309,21 +198,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>m_siInfo</Name>
<Expression>parent.m_siInfo</Expression>
<HasExpired>False</HasExpired>
<Type>System.Runtime.Serialization.SerializationInfo</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<PropertyInfo>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>Comparer</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</PropertyInfo>
</MemberInfo>
<Name>Comparer</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -334,21 +214,12 @@ @@ -334,21 +214,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>Comparer</Name>
<Expression>parent.Comparer</Expression>
<HasExpired>False</HasExpired>
<Type>System.TypeLoadException</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<PropertyInfo>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>Count</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</PropertyInfo>
</MemberInfo>
<Name>Count</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -359,21 +230,12 @@ @@ -359,21 +230,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>Count</Name>
<Expression>parent.Count</Expression>
<HasExpired>False</HasExpired>
<Type>System.TypeLoadException</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<PropertyInfo>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>Keys</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</PropertyInfo>
</MemberInfo>
<Name>Keys</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -384,21 +246,12 @@ @@ -384,21 +246,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>Keys</Name>
<Expression>parent.Keys</Expression>
<HasExpired>False</HasExpired>
<Type>System.TypeLoadException</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<PropertyInfo>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>Values</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</PropertyInfo>
</MemberInfo>
<Name>Values</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -409,21 +262,12 @@ @@ -409,21 +262,12 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>Values</Name>
<Expression>parent.Values</Expression>
<HasExpired>False</HasExpired>
<Type>System.TypeLoadException</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<PropertyInfo>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>Item</Name>
<DeclaringType>System.Collections.Generic.Dictionary&lt;System.String,System.Int32&gt;</DeclaringType>
<Module>mscorlib.dll</Module>
</PropertyInfo>
</MemberInfo>
<Name>Item</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -434,11 +278,13 @@ @@ -434,11 +278,13 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>Item</Name>
<Expression>parent.Item</Expression>
<HasExpired>False</HasExpired>
<Type>System.TypeLoadException</Type>
</MemberValue>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</ObjectDump>
<DebuggingPaused>EvalComplete</DebuggingPaused>
<DebuggingPaused>EvalComplete</DebuggingPaused>

200
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ObjectValue.xml

@ -6,8 +6,7 @@ @@ -6,8 +6,7 @@
<ModuleLoaded symbols="True">ObjectValue.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="val">
<LocalVariable>
<Name>val</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -18,27 +17,17 @@ @@ -18,27 +17,17 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>val</Name>
<Expression>val</Expression>
<HasExpired>False</HasExpired>
<Type>Debugger.Tests.TestPrograms.ObjectValue</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="val members">
<NamedValueCollection>
<ValueCollection>
<Count>5</Count>
<Items>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>privateField</Name>
<DeclaringType>Debugger.Tests.TestPrograms.ObjectValue</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>privateField</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -49,22 +38,12 @@ @@ -49,22 +38,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>private</PrimitiveValue>
<Name>privateField</Name>
<Expression>parent.privateField</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>publicFiled</Name>
<DeclaringType>Debugger.Tests.TestPrograms.ObjectValue</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>publicFiled</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -75,21 +54,12 @@ @@ -75,21 +54,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>public</PrimitiveValue>
<Name>publicFiled</Name>
<Expression>parent.publicFiled</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<PropertyInfo>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>PublicProperty</Name>
<DeclaringType>Debugger.Tests.TestPrograms.ObjectValue</DeclaringType>
<Module>ObjectValue.exe</Module>
</PropertyInfo>
</MemberInfo>
<Name>PublicProperty</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -100,22 +70,12 @@ @@ -100,22 +70,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>private</PrimitiveValue>
<Name>PublicProperty</Name>
<Expression>parent.PublicProperty</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>basePublic</Name>
<DeclaringType>Debugger.Tests.TestPrograms.BaseClass</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>basePublic</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -126,22 +86,12 @@ @@ -126,22 +86,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>a</PrimitiveValue>
<Name>basePublic</Name>
<Expression>parent.basePublic</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>basePrivate</Name>
<DeclaringType>Debugger.Tests.TestPrograms.BaseClass</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>basePrivate</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -152,17 +102,18 @@ @@ -152,17 +102,18 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>b</PrimitiveValue>
<Name>basePrivate</Name>
<Expression>parent.basePrivate</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</ObjectDump>
<DebuggingPaused>EvalComplete</DebuggingPaused>
<DebuggingPaused>Break</DebuggingPaused>
<ObjectDump name="val">
<LocalVariable>
<Name>val</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -173,27 +124,17 @@ @@ -173,27 +124,17 @@
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Name>val</Name>
<Expression>val</Expression>
<HasExpired>False</HasExpired>
<Type>Debugger.Tests.TestPrograms.ObjectValue</Type>
</LocalVariable>
</Value>
</ObjectDump>
<ObjectDump name="val members">
<NamedValueCollection>
<ValueCollection>
<Count>5</Count>
<Items>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>privateField</Name>
<DeclaringType>Debugger.Tests.TestPrograms.ObjectValue</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>privateField</Name>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -204,22 +145,12 @@ @@ -204,22 +145,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>new private</PrimitiveValue>
<Name>privateField</Name>
<Expression>parent.privateField</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>publicFiled</Name>
<DeclaringType>Debugger.Tests.TestPrograms.ObjectValue</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>publicFiled</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -230,21 +161,12 @@ @@ -230,21 +161,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>public</PrimitiveValue>
<Name>publicFiled</Name>
<Expression>parent.publicFiled</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<PropertyInfo>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>PublicProperty</Name>
<DeclaringType>Debugger.Tests.TestPrograms.ObjectValue</DeclaringType>
<Module>ObjectValue.exe</Module>
</PropertyInfo>
</MemberInfo>
<Name>PublicProperty</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -255,22 +177,12 @@ @@ -255,22 +177,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>new private</PrimitiveValue>
<Name>PublicProperty</Name>
<Expression>parent.PublicProperty</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsStatic>False</IsStatic>
<Name>basePublic</Name>
<DeclaringType>Debugger.Tests.TestPrograms.BaseClass</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>basePublic</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -281,22 +193,12 @@ @@ -281,22 +193,12 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>a</PrimitiveValue>
<Name>basePublic</Name>
<Expression>parent.basePublic</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
<MemberValue>
<MemberInfo>
<FieldInfo>
<IsLiteral>False</IsLiteral>
<IsPrivate>True</IsPrivate>
<IsPublic>False</IsPublic>
<IsStatic>False</IsStatic>
<Name>basePrivate</Name>
<DeclaringType>Debugger.Tests.TestPrograms.BaseClass</DeclaringType>
<Module>ObjectValue.exe</Module>
</FieldInfo>
</MemberInfo>
<Name>basePrivate</Name>
</Value>
<Value>
<IsArray>False</IsArray>
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
@ -307,11 +209,13 @@ @@ -307,11 +209,13 @@
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>b</PrimitiveValue>
<Name>basePrivate</Name>
<Expression>parent.basePrivate</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
</MemberValue>
</Value>
</Items>
</NamedValueCollection>
</ValueCollection>
</ObjectDump>
<DebuggingPaused>EvalComplete</DebuggingPaused>
<ProcessExited />

108
src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Stepping.xml

@ -16,23 +16,23 @@ @@ -16,23 +16,23 @@
<NextStatement>Start=16,4 End=16,40</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -47,23 +47,23 @@ @@ -47,23 +47,23 @@
<NextStatement>Start=17,4 End=17,44</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -81,23 +81,23 @@ @@ -81,23 +81,23 @@
<NextStatement>Start=18,4 End=18,10</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -112,23 +112,23 @@ @@ -112,23 +112,23 @@
<NextStatement>Start=23,3 End=23,4</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -143,23 +143,23 @@ @@ -143,23 +143,23 @@
<NextStatement>Start=24,4 End=24,44</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -175,23 +175,23 @@ @@ -175,23 +175,23 @@
<NextStatement>Start=25,4 End=25,44</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -208,23 +208,23 @@ @@ -208,23 +208,23 @@
<NextStatement>Start=18,4 End=18,10</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -239,23 +239,23 @@ @@ -239,23 +239,23 @@
<NextStatement>Start=19,4 End=19,11</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>
@ -271,23 +271,23 @@ @@ -271,23 +271,23 @@
<NextStatement>Start=20,3 End=20,4</NextStatement>
<ThisValue exception="Static method does not have 'this'." />
<ContaingClassVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</ContaingClassVariables>
<ArgumentCount>0</ArgumentCount>
<Arguments>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</Arguments>
<LocalVariables>
<NamedValueCollection>
<ValueCollection>
<Count>0</Count>
<Items />
</NamedValueCollection>
</ValueCollection>
</LocalVariables>
</Function>
</ObjectDump>

Loading…
Cancel
Save