Browse Source

Tests - sort serialized data alphabetically

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2879 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 19 years ago
parent
commit
8f87c69eff
  1. 7
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTestsBase.cs
  2. 72
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.cs
  3. 8
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Breakpoint.cs
  4. 36
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Callstack.cs
  5. 168
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.cs
  6. 48
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.cs
  7. 60
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.cs
  8. 240
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.cs
  9. 488
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Generics.cs
  10. 6
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/StackOverflow.cs
  11. 68
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ValueType.cs

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

@ -20,6 +20,7 @@ using NUnit.Framework; @@ -20,6 +20,7 @@ using NUnit.Framework;
using Debugger;
using Debugger.Interop;
using SRPropertyInfo = System.Reflection.PropertyInfo;
namespace Debugger.Tests
{
@ -236,7 +237,11 @@ namespace Debugger.Tests @@ -236,7 +237,11 @@ namespace Debugger.Tests
container.SetAttribute("ToString_exception", e.Message);
}
foreach(System.Reflection.PropertyInfo property in type.GetProperties()) {
List<SRPropertyInfo> properties = new List<SRPropertyInfo>();
properties.AddRange(type.GetProperties());
properties.Sort(delegate(SRPropertyInfo a, SRPropertyInfo b) { return a.Name.CompareTo(b.Name);});
foreach(SRPropertyInfo property in properties) {
if (type.BaseType == typeof(Array)) continue;
if (property.GetGetMethod() == null) continue;
if (property.GetGetMethod().GetParameters().Length > 0) continue;

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

@ -52,95 +52,95 @@ namespace Debugger.Tests { @@ -52,95 +52,95 @@ namespace Debugger.Tests {
<ModuleLoaded symbols="True">ArrayValue.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<array Type="Value" ToString="array = {System.Int32[]}">
<IsArray>True</IsArray>
<ArrayDimensions>[5]</ArrayDimensions>
<ArrayLenght>5</ArrayLenght>
<ArrayRank>1</ArrayRank>
<ArrayDimensions>[5]</ArrayDimensions>
<Expression>array</Expression>
<IsNull>False</IsNull>
<AsString>{System.Int32[]}</AsString>
<Expression>array</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32[]</Type>
<IsArray>True</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.Int32[]</Type>
</array>
<array_elements Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="array[0] = 0">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>array[0]</Expression>
<IsNull>False</IsNull>
<AsString>0</AsString>
<Expression>array[0]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="array[1] = 1">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>array[1]</Expression>
<IsNull>False</IsNull>
<AsString>1</AsString>
<Expression>array[1]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="array[2] = 2">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>array[2]</Expression>
<IsNull>False</IsNull>
<AsString>2</AsString>
<Expression>array[2]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="array[3] = 3">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>array[3]</Expression>
<IsNull>False</IsNull>
<AsString>3</AsString>
<Expression>array[3]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="array[4] = 4">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>array[4]</Expression>
<IsNull>False</IsNull>
<AsString>4</AsString>
<Expression>array[4]</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>4</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
</array_elements>
<ProcessExited />

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

@ -61,9 +61,9 @@ namespace Debugger.Tests { @@ -61,9 +61,9 @@ namespace Debugger.Tests {
<ModuleLoaded symbols="False">System.dll</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<Object Type="Breakpoint" ToString="Debugger.Breakpoint">
<SourcecodeSegment>Start=18,0 End=18,0</SourcecodeSegment>
<HadBeenSet>True</HadBeenSet>
<Enabled>True</Enabled>
<HadBeenSet>True</HadBeenSet>
<SourcecodeSegment>Start=18,0 End=18,0</SourcecodeSegment>
</Object>
<ModuleLoaded symbols="False">System.Configuration.dll</ModuleLoaded>
<ModuleLoaded symbols="False">System.Xml.dll</ModuleLoaded>
@ -73,9 +73,9 @@ namespace Debugger.Tests { @@ -73,9 +73,9 @@ namespace Debugger.Tests {
<DebuggingPaused>Break</DebuggingPaused>
<ProcessExited />
<Object Type="Breakpoint" ToString="Debugger.Breakpoint">
<SourcecodeSegment>Start=18,0 End=18,0</SourcecodeSegment>
<HadBeenSet>False</HadBeenSet>
<Enabled>True</Enabled>
<HadBeenSet>False</HadBeenSet>
<SourcecodeSegment>Start=18,0 End=18,0</SourcecodeSegment>
</Object>
</Test>
</DebuggerTests>

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

@ -65,58 +65,58 @@ namespace Debugger.Tests { @@ -65,58 +65,58 @@ namespace Debugger.Tests {
<DebuggingPaused>Break</DebuggingPaused>
<Callstack Type="&lt;get_CallstackEnum&gt;d__0" ToString="Debugger.Thread+&lt;get_CallstackEnum&gt;d__0">
<Item Type="StackFrame" ToString="Debugger.Tests.TestPrograms.Callstack.Sub2">
<MethodInfo>Sub2</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Sub2</MethodInfo>
<NextStatement>Start=26,4 End=26,40</NextStatement>
<ArgumentCount>0</ArgumentCount>
</Item>
<Item Type="StackFrame" ToString="Debugger.Tests.TestPrograms.Callstack.Sub1">
<MethodInfo>Sub1</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>1</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Sub1</MethodInfo>
<NextStatement>Start=21,4 End=21,11</NextStatement>
<ArgumentCount>0</ArgumentCount>
</Item>
<Item Type="StackFrame" ToString="Debugger.Tests.TestPrograms.Callstack.Main">
<MethodInfo>Main</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>2</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Main</MethodInfo>
<NextStatement>Start=16,4 End=16,11</NextStatement>
<ArgumentCount>0</ArgumentCount>
</Item>
</Callstack>
<DebuggingPaused>StepComplete</DebuggingPaused>
<Callstack Type="&lt;get_CallstackEnum&gt;d__0" ToString="Debugger.Thread+&lt;get_CallstackEnum&gt;d__0">
<Item Type="StackFrame" ToString="Debugger.Tests.TestPrograms.Callstack.Sub1">
<MethodInfo>Sub1</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Sub1</MethodInfo>
<NextStatement>Start=21,4 End=21,11</NextStatement>
<ArgumentCount>0</ArgumentCount>
</Item>
<Item Type="StackFrame" ToString="Debugger.Tests.TestPrograms.Callstack.Main">
<MethodInfo>Main</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>1</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Main</MethodInfo>
<NextStatement>Start=16,4 End=16,11</NextStatement>
<ArgumentCount>0</ArgumentCount>
</Item>
</Callstack>
<DebuggingPaused>StepComplete</DebuggingPaused>
<Callstack Type="&lt;get_CallstackEnum&gt;d__0" ToString="Debugger.Thread+&lt;get_CallstackEnum&gt;d__0">
<Item Type="StackFrame" ToString="Debugger.Tests.TestPrograms.Callstack.Main">
<MethodInfo>Main</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Main</MethodInfo>
<NextStatement>Start=16,4 End=16,11</NextStatement>
<ArgumentCount>0</ArgumentCount>
</Item>
</Callstack>
<ProcessExited />

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

@ -99,226 +99,226 @@ namespace Debugger.Tests { @@ -99,226 +99,226 @@ namespace Debugger.Tests {
<DebuggingPaused>Break</DebuggingPaused>
<Arguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="i = 1">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>i</Expression>
<IsNull>False</IsNull>
<AsString>1</AsString>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="s = A">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>s</Expression>
<IsNull>False</IsNull>
<AsString>A</AsString>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>A</PrimitiveValue>
<Type>System.String</Type>
</Item>
<Item Type="Value" ToString="s_null = &lt;null&gt;">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>s_null</Expression>
<IsNull>True</IsNull>
<AsString>&lt;null&gt;</AsString>
<Expression>s_null</Expression>
<HasExpired>False</HasExpired>
<Type>System.Object</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>True</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.Object</Type>
</Item>
<Item Type="Value" ToString="ref_i = 2">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>ref_i</Expression>
<IsNull>False</IsNull>
<AsString>2</AsString>
<Expression>ref_i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="out_i = 3">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>out_i</Expression>
<IsNull>False</IsNull>
<AsString>3</AsString>
<Expression>out_i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="out_i2 = 0">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>out_i2</Expression>
<IsNull>False</IsNull>
<AsString>0</AsString>
<Expression>out_i2</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="ref_s = B">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>ref_s</Expression>
<IsNull>False</IsNull>
<AsString>B</AsString>
<Expression>ref_s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>B</PrimitiveValue>
<Type>System.String</Type>
</Item>
<Item Type="Value" ToString="iNull = {System.Nullable&lt;System.Int32&gt;}">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>iNull</Expression>
<IsNull>False</IsNull>
<AsString>{System.Nullable&lt;System.Int32&gt;}</AsString>
<Expression>iNull</Expression>
<HasExpired>False</HasExpired>
<Type>System.Nullable&lt;System.Int32&gt;</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>True</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.Nullable&lt;System.Int32&gt;</Type>
</Item>
<Item Type="Value" ToString="iNull_null = {System.Nullable&lt;System.Int32&gt;}">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>iNull_null</Expression>
<IsNull>False</IsNull>
<AsString>{System.Nullable&lt;System.Int32&gt;}</AsString>
<Expression>iNull_null</Expression>
<HasExpired>False</HasExpired>
<Type>System.Nullable&lt;System.Int32&gt;</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>True</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.Nullable&lt;System.Int32&gt;</Type>
</Item>
</Arguments>
<DebuggingPaused>Break</DebuggingPaused>
<Arguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="args = {System.String[]}">
<IsArray>True</IsArray>
<ArrayDimensions>[0]</ArrayDimensions>
<ArrayLenght>0</ArrayLenght>
<ArrayRank>1</ArrayRank>
<ArrayDimensions>[0]</ArrayDimensions>
<Expression>args</Expression>
<IsNull>False</IsNull>
<AsString>{System.String[]}</AsString>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
<IsArray>True</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.String[]</Type>
</Item>
</Arguments>
<DebuggingPaused>Break</DebuggingPaused>
<Arguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="args = {System.String[]}">
<IsArray>True</IsArray>
<ArrayDimensions>[1]</ArrayDimensions>
<ArrayLenght>1</ArrayLenght>
<ArrayRank>1</ArrayRank>
<ArrayDimensions>[1]</ArrayDimensions>
<Expression>args</Expression>
<IsNull>False</IsNull>
<AsString>{System.String[]}</AsString>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
<IsArray>True</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.String[]</Type>
</Item>
</Arguments>
<DebuggingPaused>Break</DebuggingPaused>
<Arguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="args = {System.String[]}">
<IsArray>True</IsArray>
<ArrayDimensions>[2]</ArrayDimensions>
<ArrayLenght>2</ArrayLenght>
<ArrayRank>1</ArrayRank>
<ArrayDimensions>[2]</ArrayDimensions>
<Expression>args</Expression>
<IsNull>False</IsNull>
<AsString>{System.String[]}</AsString>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
<IsArray>True</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.String[]</Type>
</Item>
</Arguments>
<DebuggingPaused>Break</DebuggingPaused>
<Arguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="i = 1">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>i</Expression>
<IsNull>False</IsNull>
<AsString>1</AsString>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="s = A">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>s</Expression>
<IsNull>False</IsNull>
<AsString>A</AsString>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>A</PrimitiveValue>
<Type>System.String</Type>
</Item>
</Arguments>
<ProcessExited />

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

@ -76,71 +76,71 @@ namespace Debugger.Tests { @@ -76,71 +76,71 @@ namespace Debugger.Tests {
<ModuleLoaded symbols="True">FunctionLifetime.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.Function">
<MethodInfo>Function</MethodInfo>
<ArgumentCount>1</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Function</MethodInfo>
<NextStatement>Start=22,4 End=22,40</NextStatement>
<ArgumentCount>1</ArgumentCount>
</SelectedStackFrame>
<DebuggingPaused>Break</DebuggingPaused>
<Old_StackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.Function">
<MethodInfo>Function</MethodInfo>
<ArgumentCount exception="StackFrame has expired" />
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>True</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Function</MethodInfo>
<NextStatement exception="StackFrame has expired" />
<ArgumentCount exception="StackFrame has expired" />
</Old_StackFrame>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.SubFunction">
<MethodInfo>SubFunction</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>SubFunction</MethodInfo>
<NextStatement>Start=29,4 End=29,40</NextStatement>
<ArgumentCount>0</ArgumentCount>
</SelectedStackFrame>
<DebuggingPaused>Break</DebuggingPaused>
<Old_StackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.Function">
<MethodInfo>Function</MethodInfo>
<ArgumentCount exception="StackFrame has expired" />
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>True</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Function</MethodInfo>
<NextStatement exception="StackFrame has expired" />
<ArgumentCount exception="StackFrame has expired" />
</Old_StackFrame>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.Function">
<MethodInfo>Function</MethodInfo>
<ArgumentCount>1</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Function</MethodInfo>
<NextStatement>Start=24,4 End=24,40</NextStatement>
<ArgumentCount>1</ArgumentCount>
</SelectedStackFrame>
<DebuggingPaused>Break</DebuggingPaused>
<Main Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.Main">
<MethodInfo>Main</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Main</MethodInfo>
<NextStatement>Start=17,4 End=17,40</NextStatement>
<ArgumentCount>0</ArgumentCount>
</Main>
<Old_StackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.Function">
<MethodInfo>Function</MethodInfo>
<ArgumentCount exception="StackFrame has expired" />
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>True</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Function</MethodInfo>
<NextStatement exception="StackFrame has expired" />
<ArgumentCount exception="StackFrame has expired" />
</Old_StackFrame>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.FunctionLifetime.Main">
<MethodInfo>Main</MethodInfo>
<ArgumentCount>0</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Main</MethodInfo>
<NextStatement>Start=17,4 End=17,40</NextStatement>
<ArgumentCount>0</ArgumentCount>
</SelectedStackFrame>
<ProcessExited />
</Test>

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

@ -52,79 +52,79 @@ namespace Debugger.Tests { @@ -52,79 +52,79 @@ namespace Debugger.Tests {
<DebuggingPaused>Break</DebuggingPaused>
<LocalVariables Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="i = 0">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>i</Expression>
<IsNull>False</IsNull>
<AsString>0</AsString>
<Expression>i</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="s = S">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>s</Expression>
<IsNull>False</IsNull>
<AsString>S</AsString>
<Expression>s</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>S</PrimitiveValue>
<Type>System.String</Type>
</Item>
<Item Type="Value" ToString="args = {System.String[]}">
<IsArray>True</IsArray>
<ArrayDimensions>[1]</ArrayDimensions>
<ArrayLenght>1</ArrayLenght>
<ArrayRank>1</ArrayRank>
<ArrayDimensions>[1]</ArrayDimensions>
<Expression>args</Expression>
<IsNull>False</IsNull>
<AsString>{System.String[]}</AsString>
<Expression>args</Expression>
<HasExpired>False</HasExpired>
<Type>System.String[]</Type>
<IsArray>True</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.String[]</Type>
</Item>
<Item Type="Value" ToString="n = &lt;null&gt;">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>n</Expression>
<IsNull>True</IsNull>
<AsString>&lt;null&gt;</AsString>
<Expression>n</Expression>
<HasExpired>False</HasExpired>
<Type>System.Object</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>True</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.Object</Type>
</Item>
<Item Type="Value" ToString="o = {System.Object}">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>o</Expression>
<IsNull>False</IsNull>
<AsString>{System.Object}</AsString>
<Expression>o</Expression>
<HasExpired>False</HasExpired>
<Type>System.Object</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>True</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
<Type>System.Object</Type>
</Item>
</LocalVariables>
<ProcessExited />

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

@ -105,308 +105,308 @@ namespace Debugger.Tests { @@ -105,308 +105,308 @@ namespace Debugger.Tests {
<ModuleLoaded symbols="True">FunctionVariablesLifetime.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<argument Type="Value" ToString="argument = 1">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>argument</Expression>
<IsNull>False</IsNull>
<AsString>1</AsString>
<Expression>argument</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Type>System.Int32</Type>
</argument>
<local Type="Value" ToString="local = 2">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>local</Expression>
<IsNull>False</IsNull>
<AsString>2</AsString>
<Expression>local</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Type>System.Int32</Type>
</local>
<_x0040_class Type="Value" ToString="this.class = 3">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>this.class</Expression>
<IsNull>False</IsNull>
<AsString>3</AsString>
<Expression>this.class</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Type>System.Int32</Type>
</_x0040_class>
<DebuggingPaused>Break</DebuggingPaused>
<argument Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>argument</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>argument</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</argument>
<local Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>local</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>local</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</local>
<_x0040_class Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>this.class</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>this.class</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</_x0040_class>
<localInSubFunction Type="Value" ToString="localInSubFunction = 4">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>localInSubFunction</Expression>
<IsNull>False</IsNull>
<AsString>4</AsString>
<Expression>localInSubFunction</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>4</PrimitiveValue>
<Type>System.Int32</Type>
</localInSubFunction>
<DebuggingPaused>Break</DebuggingPaused>
<argument Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>argument</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>argument</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</argument>
<local Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>local</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>local</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</local>
<_x0040_class Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>this.class</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>this.class</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</_x0040_class>
<localInSubFunction Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>localInSubFunction</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>localInSubFunction</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</localInSubFunction>
<DebuggingPaused>Break</DebuggingPaused>
<argument Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>argument</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>argument</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</argument>
<local Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>local</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>local</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</local>
<_x0040_class Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>this.class</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>this.class</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</_x0040_class>
<localInSubFunction Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>localInSubFunction</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>localInSubFunction</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</localInSubFunction>
<localInSubFunction_x0028_new_x0029_ Type="Value" ToString="localInSubFunction = 4">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>localInSubFunction</Expression>
<IsNull>False</IsNull>
<AsString>4</AsString>
<Expression>localInSubFunction</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>4</PrimitiveValue>
<Type>System.Int32</Type>
</localInSubFunction_x0028_new_x0029_>
<DebuggingPaused>Break</DebuggingPaused>
<argument Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>argument</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>argument</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</argument>
<local Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>local</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>local</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</local>
<_x0040_class Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>this.class</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>this.class</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</_x0040_class>
<localInSubFunction Type="Value" ToString_exception="Value has expired">
<IsArray exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<ArrayLenght exception="Value has expired" />
<ArrayRank exception="Value has expired" />
<ArrayDimensions exception="Value has expired" />
<Expression>localInSubFunction</Expression>
<IsNull exception="Value has expired" />
<AsString exception="Value has expired" />
<Expression>localInSubFunction</Expression>
<HasExpired>True</HasExpired>
<Type>System.Int32</Type>
<IsArray exception="Value has expired" />
<IsInteger exception="Value has expired" />
<IsNull exception="Value has expired" />
<IsObject exception="Value has expired" />
<IsPrimitive exception="Value has expired" />
<IsInteger exception="Value has expired" />
<PrimitiveValue exception="Value has expired" />
<Type>System.Int32</Type>
</localInSubFunction>
<ProcessExited />
</Test>

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

@ -137,532 +137,532 @@ namespace Debugger.Tests { @@ -137,532 +137,532 @@ namespace Debugger.Tests {
<ModuleLoaded symbols="True">Generics.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.Metod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="Metod">
<Name>Metod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.Metod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.Object</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>True</IsClass>
<IsValueType>False</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.Object</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>False</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.Metod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<Module>Generics.exe</Module>
<Name>Metod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=48,4 End=48,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 1">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>1</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>1</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 1!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>1!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>1!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.GenericMethod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="GenericMethod">
<Name>GenericMethod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.GenericMethod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.Object</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>True</IsClass>
<IsValueType>False</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.Object</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>False</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.GenericMethod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<Module>Generics.exe</Module>
<Name>GenericMethod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=54,4 End=54,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 2">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>2</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>2</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 2!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>2!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>2!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticMetod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="StaticMetod">
<Name>StaticMetod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticMetod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.Object</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>True</IsClass>
<IsValueType>False</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.Object</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>False</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticMetod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<Module>Generics.exe</Module>
<Name>StaticMetod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=60,4 End=60,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 3">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>3</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>3</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 3!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>3!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>3!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticGenericMethod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="StaticGenericMethod">
<Name>StaticGenericMethod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticGenericMethod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.Object</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>True</IsClass>
<IsValueType>False</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.Object</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>False</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticGenericMethod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<Module>Generics.exe</Module>
<Name>StaticGenericMethod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=66,4 End=66,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 4">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>4</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>4</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 4!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>4!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>4!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.Metod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="Metod">
<Name>Metod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.Metod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.ValueType</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>False</IsClass>
<IsValueType>True</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.ValueType</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>True</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.Metod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<Module>Generics.exe</Module>
<Name>Metod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=75,4 End=75,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 5">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>5</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>5</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 5!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>5!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>5!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.GenericMethod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="GenericMethod">
<Name>GenericMethod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.GenericMethod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.ValueType</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>False</IsClass>
<IsValueType>True</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.ValueType</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>True</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.GenericMethod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>False</IsStatic>
<Module>Generics.exe</Module>
<Name>GenericMethod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=81,4 End=81,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 6">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>6</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>6</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 6!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>6!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>6!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticMetod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="StaticMetod">
<Name>StaticMetod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticMetod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.ValueType</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>False</IsClass>
<IsValueType>True</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.ValueType</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>True</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticMetod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<Module>Generics.exe</Module>
<Name>StaticMetod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=87,4 End=87,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 7">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>7</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>7</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 7!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>7!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>7!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<SelectedStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticGenericMethod">
<ArgumentCount>2</ArgumentCount>
<Depth>0</Depth>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo Type="MethodInfo" ToString="StaticGenericMethod">
<Name>StaticGenericMethod</Name>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticGenericMethod</FullName>
<Module>Generics.exe</Module>
<DeclaringType Type="DebugType" ToString="Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;">
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
<BaseType>System.ValueType</BaseType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>True</IsGenericType>
<IsClass>False</IsClass>
<IsValueType>True</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>True</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>System.ValueType</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>True</IsValueType>
<ManagedType>null</ManagedType>
<Module>Generics.exe</Module>
</DeclaringType>
<FullName>Debugger.Tests.TestPrograms.GenericStruct&lt;System.Int32,System.String&gt;.StaticGenericMethod</FullName>
<IsPrivate>False</IsPrivate>
<IsPublic>True</IsPublic>
<IsSpecialName>False</IsSpecialName>
<IsStatic>True</IsStatic>
<Module>Generics.exe</Module>
<Name>StaticGenericMethod</Name>
</MethodInfo>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<NextStatement>Start=93,4 End=93,40</NextStatement>
<ArgumentCount>2</ArgumentCount>
</SelectedStackFrame>
<SelectedStackFrame-GetArguments Type="Value[]" ToString="Debugger.Value[]">
<Item Type="Value" ToString="v = 8">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>v</Expression>
<IsNull>False</IsNull>
<AsString>8</AsString>
<Expression>v</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>8</PrimitiveValue>
<Type>System.Int32</Type>
</Item>
<Item Type="Value" ToString="k = 8!">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>k</Expression>
<IsNull>False</IsNull>
<AsString>8!</AsString>
<Expression>k</Expression>
<HasExpired>False</HasExpired>
<Type>System.String</Type>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue>8!</PrimitiveValue>
<Type>System.String</Type>
</Item>
</SelectedStackFrame-GetArguments>
<DebuggingPaused>Break</DebuggingPaused>
<DebuggingPaused>EvalComplete</DebuggingPaused>
<Prop Type="Value" ToString="gClass.Prop = 0">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>gClass.Prop</Expression>
<IsNull>False</IsNull>
<AsString>0</AsString>
<Expression>gClass.Prop</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Type>System.Int32</Type>
</Prop>
<DebuggingPaused>EvalComplete</DebuggingPaused>
<StaticProp Type="Value" ToString="Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticProp = 0">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticProp</Expression>
<IsNull>False</IsNull>
<AsString>0</AsString>
<Expression>Debugger.Tests.TestPrograms.GenericClass&lt;System.Int32,System.String&gt;.StaticProp</Expression>
<HasExpired>False</HasExpired>
<Type>System.Int32</Type>
<IsArray>False</IsArray>
<IsInteger>True</IsInteger>
<IsNull>False</IsNull>
<IsObject>False</IsObject>
<IsPrimitive>True</IsPrimitive>
<IsInteger>True</IsInteger>
<PrimitiveValue>0</PrimitiveValue>
<Type>System.Int32</Type>
</StaticProp>
<ProcessExited />
</Test>

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

@ -55,12 +55,12 @@ namespace Debugger.Tests { @@ -55,12 +55,12 @@ namespace Debugger.Tests {
<DebuggingPaused>Exception</DebuggingPaused>
<ExceptionThrown>&lt;null&gt;</ExceptionThrown>
<LastStackFrame Type="StackFrame" ToString="Debugger.Tests.TestPrograms.StackOverflow.Fun">
<MethodInfo>Fun</MethodInfo>
<ArgumentCount>1</ArgumentCount>
<Depth>0</Depth>
<HasSymbols>True</HasSymbols>
<HasExpired>False</HasExpired>
<HasSymbols>True</HasSymbols>
<MethodInfo>Fun</MethodInfo>
<NextStatement>Start=21,3 End=21,4</NextStatement>
<ArgumentCount>1</ArgumentCount>
</LastStackFrame>
</Test>
</DebuggerTests>

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

@ -55,55 +55,55 @@ namespace Debugger.Tests { @@ -55,55 +55,55 @@ namespace Debugger.Tests {
<ModuleLoaded symbols="True">ValueType.exe</ModuleLoaded>
<DebuggingPaused>Break</DebuggingPaused>
<this Type="Value" ToString="this = {Debugger.Tests.ValueType}">
<IsArray>False</IsArray>
<ArrayDimensions exception="Value is not an array" />
<ArrayLenght exception="Value is not an array" />
<ArrayRank exception="Value is not an array" />
<ArrayDimensions exception="Value is not an array" />
<Expression>this</Expression>
<IsNull>False</IsNull>
<AsString>{Debugger.Tests.ValueType}</AsString>
<Expression>this</Expression>
<HasExpired>False</HasExpired>
<IsArray>False</IsArray>
<IsInteger>False</IsInteger>
<IsNull>False</IsNull>
<IsObject>True</IsObject>
<IsPrimitive>False</IsPrimitive>
<PrimitiveValue exception="Value is not a primitive type" />
<Type Type="DebugType" ToString="Debugger.Tests.ValueType">
<ManagedType>null</ManagedType>
<Module>ValueType.exe</Module>
<FullName>Debugger.Tests.ValueType</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>False</IsGenericType>
<IsClass>False</IsClass>
<IsValueType>True</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<BaseType Type="DebugType" ToString="System.ValueType">
<ManagedType>null</ManagedType>
<Module>mscorlib.dll</Module>
<FullName>System.ValueType</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>False</IsGenericType>
<IsClass>True</IsClass>
<IsValueType>False</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<BaseType Type="DebugType" ToString="System.Object">
<ManagedType>null</ManagedType>
<Module>mscorlib.dll</Module>
<BaseType>null</BaseType>
<FullName>System.Object</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsGenericType>False</IsGenericType>
<IsClass>True</IsClass>
<IsValueType>False</IsValueType>
<IsPrimitive>False</IsPrimitive>
<IsGenericType>False</IsGenericType>
<IsInteger>False</IsInteger>
<BaseType>null</BaseType>
<IsPrimitive>False</IsPrimitive>
<IsValueType>False</IsValueType>
<ManagedType>null</ManagedType>
<Module>mscorlib.dll</Module>
</BaseType>
<FullName>System.ValueType</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsClass>True</IsClass>
<IsGenericType>False</IsGenericType>
<IsInteger>False</IsInteger>
<IsPrimitive>False</IsPrimitive>
<IsValueType>False</IsValueType>
<ManagedType>null</ManagedType>
<Module>mscorlib.dll</Module>
</BaseType>
<FullName>Debugger.Tests.ValueType</FullName>
<HasElementType>False</HasElementType>
<IsArray>False</IsArray>
<IsClass>False</IsClass>
<IsGenericType>False</IsGenericType>
<IsInteger>False</IsInteger>
<IsPrimitive>False</IsPrimitive>
<IsValueType>True</IsValueType>
<ManagedType>null</ManagedType>
<Module>ValueType.exe</Module>
</Type>
<IsObject>True</IsObject>
<IsPrimitive>False</IsPrimitive>
<IsInteger>False</IsInteger>
<PrimitiveValue exception="Value is not a primitive type" />
</this>
<ProcessExited />
</Test>

Loading…
Cancel
Save