Trying to debug a MFC \ .NET 1.1 crash that has several exceptions.
1. How can I output the stacktrace array in the below example
(remember - using .NET 1.1). This is an "A generic error occurred in
GDI+." exception.
0:000> !DumpObj 07692190
Name: System.Runtime.InteropServices.ExternalException
MethodTable 0x79bc806c
EEClass 0x79bc80ec
Size 64(0x40) bytes
mdToken: 020002d3 (c:\windows\microsoft.net\framework
\v1.1.4322\mscorlib.dll)
FieldDesc*: 00000000
MT Field Offset Type Attr Value
Name
79b947ac 400001d 4 CLASS instance 00000000
_className
79b947ac 400001e 8 CLASS instance 00000000
_exceptionMethod
79b947ac 400001f c CLASS instance 00000000
_exceptionMethodString
79b947ac 4000020 10 CLASS instance 076927d4
_message
79b947ac 4000021 14 CLASS instance 00000000
_innerException
79b947ac 4000022 18 CLASS instance 00000000
_helpURL
79b947ac 4000023 1c CLASS instance 07692828
_stackTrace
79b947ac 4000024 20 CLASS instance 00000000
_stackTraceString
79b947ac 4000025 24 CLASS instance 00000000
_remoteStackTraceString
79b947ac 4000026 2c System.Int32 instance 0
_remoteStackIndex
79b947ac 4000027 30 System.Int32 instance -2147467259
_HResult
79b947ac 4000028 28 CLASS instance 00000000
_source
79b947ac 4000029 34 System.Int32 instance 0
_xptrs
79b947ac 400002a 38 System.Int32 instance -532459699
_xcode
0:000> !DumpObj 07692828
Name: System.SByte[]
MethodTable 0x07353d3c
EEClass 0x07353cc4
Size 168(0xa8) bytes
Array: Rank 1, Type System.SByte
Element Type: System.SByte
**********************************************
2. Any particular reason why the below exception does not have a
stacktrace? I find the exception to contain too little informasjon
really. Strange...
0:000> !DumpObj 074b1790
Name: System.Runtime.InteropServices.COMException
MethodTable 0x79c2852c
EEClass 0x79c285ac
Size 64(0x40) bytes
mdToken: 020002d4 (c:\windows\microsoft.net\framework
\v1.1.4322\mscorlib.dll)
FieldDesc*: 00000000
MT Field Offset Type Attr Value
Name
79b947ac 400001d 4 CLASS instance 00000000
_className
79b947ac 400001e 8 CLASS instance 00000000
_exceptionMethod
79b947ac 400001f c CLASS instance 00000000
_exceptionMethodString
79b947ac 4000020 10 CLASS instance 074b13a4
_message
79b947ac 4000021 14 CLASS instance 00000000
_innerException
79b947ac 4000022 18 CLASS instance 00000000
_helpURL
79b947ac 4000023 1c CLASS instance 00000000
_stackTrace
79b947ac 4000024 20 CLASS instance 00000000
_stackTraceString
79b947ac 4000025 24 CLASS instance 00000000
_remoteStackTraceString
79b947ac 4000026 2c System.Int32 instance 0
_remoteStackIndex
79b947ac 4000027 30 System.Int32 instance -2147467262
_HResult
79b947ac 4000028 28 CLASS instance 00000000
_source
79b947ac 4000029 34 System.Int32 instance 0
_xptrs
79b947ac 400002a 38 System.Int32 instance -532459699
_xcode
0:000> !DumpObj 074b13a4
Name: System.String
MethodTable 0x79b925c8
EEClass 0x79b92914
Size 64(0x40) bytes
mdToken: 0200000f (c:\windows\microsoft.net\framework
\v1.1.4322\mscorlib.dll)
String: Interface not supported
FieldDesc*: 79b92978
MT Field Offset Type Attr Value
Name
79b925c8 4000013 4 System.Int32 instance 24
m_arrayLength
79b925c8 4000014 8 System.Int32 instance 23
m_stringLength
79b925c8 4000015 c System.Char instance 49
m_firstChar
79b925c8 4000016 0 CLASS shared static
Empty
>> Domain:Value 001b4fd8:0746128c <<
79b925c8 4000017 4 CLASS shared static
WhitespaceChars
>> Domain:Value 001b4fd8:074612a0 <<
(!pe for short)
"RedLars" <liverp...@gmail.com> wrote in message
news:548e3eb4-4e13-4375...@u7g2000yqm.googlegroups.com...
Thanks for the reply.
Using .NET 1.1 - so PrintException is not supported.
0:000> !PrintException 79b948fc
No export PrintException found