Browse Source

Include class name in the callstack pad.

Do not include the namespace in the local variables pad.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3451 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 17 years ago
parent
commit
403b178df6
  1. 2
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs
  2. 2
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ValueNode.cs
  3. 36
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/DebugType.cs
  4. 9
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.cs
  5. 150
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/DebugTypes.cs
  6. 6
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/DefinedTypes.cs
  7. 24
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/Generics.cs
  8. 24
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/PrimitiveValue.cs
  9. 9
      src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ValueType.cs

2
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/CallStackPad.cs

@ -204,6 +204,8 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads @@ -204,6 +204,8 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
bool showArgumentValues = DebuggingOptions.Instance.ShowArgumentValues;
StringBuilder name = new StringBuilder();
name.Append(frame.MethodInfo.DeclaringType.Name);
name.Append('.');
name.Append(frame.MethodInfo.Name);
if (showArgumentNames || showArgumentValues) {
name.Append("(");

2
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/TreeModel/ValueNode.cs

@ -82,7 +82,7 @@ namespace Debugger.AddIn.TreeModel @@ -82,7 +82,7 @@ namespace Debugger.AddIn.TreeModel
}
if (val.Type != null) {
this.Type = val.Type.FullName;
this.Type = val.Type.Name;
} else {
this.Type = String.Empty;
}

36
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Metadata/DebugType.cs

@ -27,6 +27,7 @@ namespace Debugger.MetaData @@ -27,6 +27,7 @@ namespace Debugger.MetaData
Process process;
ICorDebugType corType;
CorElementType corElementType;
string name;
string fullName;
// Class/ValueType specific
@ -87,6 +88,11 @@ namespace Debugger.MetaData @@ -87,6 +88,11 @@ namespace Debugger.MetaData
}
}
/// <summary> Gets the name of the type excluding the namespace </summary>
public string Name {
get { return name; }
}
/// <summary> Returns a string describing the type including the namespace
/// and generic arguments but excluding the assembly name. </summary>
public string FullName {
@ -335,7 +341,8 @@ namespace Debugger.MetaData @@ -335,7 +341,8 @@ namespace Debugger.MetaData
}
}
this.fullName = GetFullName();
this.fullName = GetName(true);
this.name = GetName(false);
}
public static DebugType Create(Module module, uint token)
@ -452,16 +459,16 @@ namespace Debugger.MetaData @@ -452,16 +459,16 @@ namespace Debugger.MetaData
return types;
}
string GetFullName()
string GetName(bool includeNamespace)
{
if (IsArray) {
return this.ElementType.FullName + "[" + new String(',', GetArrayRank() - 1) + "]";
return Trim(this.ElementType.FullName, includeNamespace) + "[" + new String(',', GetArrayRank() - 1) + "]";
} else if (IsClass || IsValueType) {
List<string> argNames = new List<string>();
foreach(DebugType arg in this.GenericArguments) {
argNames.Add(arg.FullName);
argNames.Add(includeNamespace ? arg.FullName : arg.Name);
}
string className = classProps.Name;
string className = Trim(classProps.Name, includeNamespace);
// Remove generic parameter count at the end
// '`' might be missing in nested generic classes
int index = className.LastIndexOf('`');
@ -474,16 +481,29 @@ namespace Debugger.MetaData @@ -474,16 +481,29 @@ namespace Debugger.MetaData
return className;
}
} else if (IsPrimitive) {
return this.PrimitiveType.ToString();
return Trim(this.PrimitiveType.ToString(), includeNamespace);
} else if (IsPointer) {
return this.ElementType.FullName + (this.corElementType == CorElementType.BYREF ? "&" : "*");
return Trim(this.ElementType.FullName, includeNamespace) + (this.corElementType == CorElementType.BYREF ? "&" : "*");
} else if (IsVoid) {
return "System.Void";
return includeNamespace ? "System.Void" : "Void";
} else {
throw new DebuggerException("Unknown type: " + this.corElementType.ToString());
}
}
string Trim(string name, bool includeNamespace)
{
if (includeNamespace) {
return name;
}
int index = name.LastIndexOf('.');
if (index == -1) {
return name;
} else {
return name.Substring(index + 1);
}
}
void LoadMemberInfo()
{
// Load interfaces

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

@ -143,7 +143,8 @@ namespace Debugger.Tests { @@ -143,7 +143,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32[]">
<BaseType>
<DebugType
BaseType="System.Object"
@ -152,7 +153,8 @@ namespace Debugger.Tests { @@ -152,7 +153,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{System.ICloneable, System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Array">
<BaseType>
<DebugType
BaseType="null"
@ -161,7 +163,8 @@ namespace Debugger.Tests { @@ -161,7 +163,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<BaseType>null</BaseType>
</DebugType>
</BaseType>

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

@ -129,7 +129,8 @@ namespace Debugger.Tests { @@ -129,7 +129,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="MyClass">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -155,7 +156,8 @@ namespace Debugger.Tests { @@ -155,7 +156,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -181,7 +183,8 @@ namespace Debugger.Tests { @@ -181,7 +183,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="String">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -207,7 +210,8 @@ namespace Debugger.Tests { @@ -207,7 +210,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -233,7 +237,8 @@ namespace Debugger.Tests { @@ -233,7 +237,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -259,7 +264,8 @@ namespace Debugger.Tests { @@ -259,7 +264,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -285,7 +291,8 @@ namespace Debugger.Tests { @@ -285,7 +291,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
@ -294,7 +301,8 @@ namespace Debugger.Tests { @@ -294,7 +301,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -322,7 +330,8 @@ namespace Debugger.Tests { @@ -322,7 +330,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
@ -331,7 +340,8 @@ namespace Debugger.Tests { @@ -331,7 +340,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -359,7 +369,8 @@ namespace Debugger.Tests { @@ -359,7 +369,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32**">
<ElementType>
<DebugType
BaseType="null"
@ -368,7 +379,8 @@ namespace Debugger.Tests { @@ -368,7 +379,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
@ -377,7 +389,8 @@ namespace Debugger.Tests { @@ -377,7 +389,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -407,7 +420,8 @@ namespace Debugger.Tests { @@ -407,7 +420,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Void*">
<ElementType>
<DebugType
BaseType="null"
@ -416,7 +430,8 @@ namespace Debugger.Tests { @@ -416,7 +430,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Void"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Void">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -444,7 +459,8 @@ namespace Debugger.Tests { @@ -444,7 +459,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -470,7 +486,8 @@ namespace Debugger.Tests { @@ -470,7 +486,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -496,7 +513,8 @@ namespace Debugger.Tests { @@ -496,7 +513,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char[]">
<ElementType>
<DebugType
BaseType="System.Object"
@ -505,7 +523,8 @@ namespace Debugger.Tests { @@ -505,7 +523,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -533,7 +552,8 @@ namespace Debugger.Tests { @@ -533,7 +552,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char[,]">
<ElementType>
<DebugType
BaseType="System.Object"
@ -542,7 +562,8 @@ namespace Debugger.Tests { @@ -542,7 +562,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -570,7 +591,8 @@ namespace Debugger.Tests { @@ -570,7 +591,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="Point">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -596,7 +618,8 @@ namespace Debugger.Tests { @@ -596,7 +618,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Point*">
<ElementType>
<DebugType
BaseType="System.ValueType"
@ -605,7 +628,8 @@ namespace Debugger.Tests { @@ -605,7 +628,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="Point">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -633,7 +657,8 @@ namespace Debugger.Tests { @@ -633,7 +657,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{System.IComparable, System.IFormattable, System.IConvertible}"
Kind="ValueType"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -659,7 +684,8 @@ namespace Debugger.Tests { @@ -659,7 +684,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{MyInterface}"
Kind="Class"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="MyInterfaceImpl">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -685,7 +711,8 @@ namespace Debugger.Tests { @@ -685,7 +711,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{MyInterface}"
Kind="Class"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="MyInterfaceImpl">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -716,7 +743,8 @@ namespace Debugger.Tests { @@ -716,7 +743,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -742,7 +770,8 @@ namespace Debugger.Tests { @@ -742,7 +770,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -768,7 +797,8 @@ namespace Debugger.Tests { @@ -768,7 +797,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
@ -777,7 +807,8 @@ namespace Debugger.Tests { @@ -777,7 +807,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -805,7 +836,8 @@ namespace Debugger.Tests { @@ -805,7 +836,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
@ -814,7 +846,8 @@ namespace Debugger.Tests { @@ -814,7 +846,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -842,7 +875,8 @@ namespace Debugger.Tests { @@ -842,7 +875,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32**">
<ElementType>
<DebugType
BaseType="null"
@ -851,7 +885,8 @@ namespace Debugger.Tests { @@ -851,7 +885,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32*">
<ElementType>
<DebugType
BaseType="System.Object"
@ -860,7 +895,8 @@ namespace Debugger.Tests { @@ -860,7 +895,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -890,7 +926,8 @@ namespace Debugger.Tests { @@ -890,7 +926,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Void*">
<ElementType>
<DebugType
BaseType="null"
@ -899,7 +936,8 @@ namespace Debugger.Tests { @@ -899,7 +936,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Void"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Void">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -927,7 +965,8 @@ namespace Debugger.Tests { @@ -927,7 +965,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -953,7 +992,8 @@ namespace Debugger.Tests { @@ -953,7 +992,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -979,7 +1019,8 @@ namespace Debugger.Tests { @@ -979,7 +1019,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char[]">
<ElementType>
<DebugType
BaseType="System.Object"
@ -988,7 +1029,8 @@ namespace Debugger.Tests { @@ -988,7 +1029,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -1016,7 +1058,8 @@ namespace Debugger.Tests { @@ -1016,7 +1058,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Array"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char[,]">
<ElementType>
<DebugType
BaseType="System.Object"
@ -1025,7 +1068,8 @@ namespace Debugger.Tests { @@ -1025,7 +1068,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Char">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -1053,7 +1097,8 @@ namespace Debugger.Tests { @@ -1053,7 +1097,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="Point">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -1079,7 +1124,8 @@ namespace Debugger.Tests { @@ -1079,7 +1124,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="Point">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -1105,7 +1151,8 @@ namespace Debugger.Tests { @@ -1105,7 +1151,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Pointer"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Point*">
<ElementType>
<DebugType
BaseType="System.ValueType"
@ -1114,7 +1161,8 @@ namespace Debugger.Tests { @@ -1114,7 +1161,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DebugTypes.exe">
Module="DebugTypes.exe"
Name="Point">
<ElementType>null</ElementType>
</DebugType>
</ElementType>
@ -1142,7 +1190,8 @@ namespace Debugger.Tests { @@ -1142,7 +1190,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{System.IComparable, System.IFormattable, System.IConvertible}"
Kind="ValueType"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</Type>
@ -1168,7 +1217,8 @@ namespace Debugger.Tests { @@ -1168,7 +1217,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{System.IComparable, System.IFormattable, System.IConvertible}"
Kind="ValueType"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Int32">
<ElementType>null</ElementType>
</DebugType>
</Type>

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

@ -73,7 +73,8 @@ namespace Debugger.Tests { @@ -73,7 +73,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="DefinedTypes.exe" />
Module="DefinedTypes.exe"
Name="DefinedTypes_Class" />
</Item>
<Item>
<DebugType
@ -83,7 +84,8 @@ namespace Debugger.Tests { @@ -83,7 +84,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="DefinedTypes.exe" />
Module="DefinedTypes.exe"
Name="DefinedTypes_Struct" />
</Item>
</Types>
<ProcessExited />

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

@ -162,7 +162,8 @@ namespace Debugger.Tests { @@ -162,7 +162,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>
@ -229,7 +230,8 @@ namespace Debugger.Tests { @@ -229,7 +230,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>
@ -296,7 +298,8 @@ namespace Debugger.Tests { @@ -296,7 +298,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>
@ -363,7 +366,8 @@ namespace Debugger.Tests { @@ -363,7 +366,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="Class"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericClass&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>
@ -430,7 +434,8 @@ namespace Debugger.Tests { @@ -430,7 +434,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>
@ -497,7 +502,8 @@ namespace Debugger.Tests { @@ -497,7 +502,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>
@ -564,7 +570,8 @@ namespace Debugger.Tests { @@ -564,7 +570,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>
@ -631,7 +638,8 @@ namespace Debugger.Tests { @@ -631,7 +638,8 @@ namespace Debugger.Tests {
GenericArguments="{System.Int32, System.String}"
Interfaces="{}"
Kind="ValueType"
Module="Generics.exe" />
Module="Generics.exe"
Name="GenericStruct&lt;Int32,String&gt;" />
</DeclaringType>
</MethodInfo>
</MethodInfo>

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

@ -79,7 +79,8 @@ namespace Debugger.Tests { @@ -79,7 +79,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Boolean">
<BaseType>
<DebugType
BaseType="null"
@ -88,7 +89,8 @@ namespace Debugger.Tests { @@ -88,7 +89,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<BaseType>null</BaseType>
</DebugType>
</BaseType>
@ -116,7 +118,8 @@ namespace Debugger.Tests { @@ -116,7 +118,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Int32">
<BaseType>
<DebugType
BaseType="null"
@ -125,7 +128,8 @@ namespace Debugger.Tests { @@ -125,7 +128,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<BaseType>null</BaseType>
</DebugType>
</BaseType>
@ -153,7 +157,8 @@ namespace Debugger.Tests { @@ -153,7 +157,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="String">
<BaseType>
<DebugType
BaseType="null"
@ -162,7 +167,8 @@ namespace Debugger.Tests { @@ -162,7 +167,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<BaseType>null</BaseType>
</DebugType>
</BaseType>
@ -190,7 +196,8 @@ namespace Debugger.Tests { @@ -190,7 +196,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Primitive"
Module="{Exception: The type is not a class or value type.}">
Module="{Exception: The type is not a class or value type.}"
Name="Double">
<BaseType>
<DebugType
BaseType="null"
@ -199,7 +206,8 @@ namespace Debugger.Tests { @@ -199,7 +206,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<BaseType>null</BaseType>
</DebugType>
</BaseType>

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

@ -73,7 +73,8 @@ namespace Debugger.Tests { @@ -73,7 +73,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="ValueType"
Module="ValueType.exe">
Module="ValueType.exe"
Name="ValueType">
<BaseType>
<DebugType
BaseType="System.Object"
@ -82,7 +83,8 @@ namespace Debugger.Tests { @@ -82,7 +83,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="ValueType">
<BaseType>
<DebugType
BaseType="null"
@ -91,7 +93,8 @@ namespace Debugger.Tests { @@ -91,7 +93,8 @@ namespace Debugger.Tests {
GenericArguments="{}"
Interfaces="{}"
Kind="Class"
Module="mscorlib.dll">
Module="mscorlib.dll"
Name="Object">
<BaseType>null</BaseType>
</DebugType>
</BaseType>

Loading…
Cancel
Save