![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have an issue on production box and I got a crash dump using ADPlus. I am trying to analyze the exception and got an object dump for exception object. I can see the function name where exception occured but can not see the parameter values passed in that is causing the exception. can anyone suggest me what command or procedure should i use to get the parameter values? Providing the stack trace for sample ========== 0:000> !clrstack -all Loaded Son of Strike data table version 5 from "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorw ks.dll" Thread 0 ESP EIP 0x0012f1d8 0x77fcca95 [FRAME: ECallMethodFrame] [DEFAULT] Void System.Diagnostics.StackTrace.GetStackFramesIntern al(Class System.Diagnostics.StackFrameHelper,I4,Class System.Exception) ESP/REG Object Name 0x12f1e8 0x1089278 System.OutOfMemoryException 0x0012f1ec 0x799ef555 [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace.CaptureStackTrace(I4 ,Boolean,Class System.Threading.Thread,Class System.Exception) EDI 0x0108ee44 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0108ee30 ESP 0x0012f1ec EIP 0x799ef555 ESP/REG Object Name 0x12f1f4 0x1089278 System.OutOfMemoryException 0x12f1f8 0x108ee30 System.Diagnostics.StackTrace 0x12f200 0x1089278 System.OutOfMemoryException 0x0012f20c 0x799f122c [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace..ctor(Class System.Exception,Boolean) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f20c EIP 0x799f122c ESP/REG Object Name 0x12f20c 0x108ee30 System.Diagnostics.StackTrace 0x0012f218 0x799ef257 [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f218 EIP 0x799ef257 ESP/REG Object Name 0x12f23c 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f258 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f260 0x1089278 System.OutOfMemoryException 0x12f264 0x107c4f4 System.String Too many items in the combo box. 0x12f268 0x1089278 System.OutOfMemoryException 0x12f26c 0x108ed8c System.String System.OutOfMemoryException: Too many it 0x0012f274 0x03754364 [FRAME: InterceptorFrame] [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) ESP/REG Object Name 0x0012f284 0x799f1b39 [DEFAULT] [hasThis] String System.Exception.get_StackTrace() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f284 EIP 0x799f1b39 ESP/REG Object Name 0x12f284 0x1089278 System.OutOfMemoryException 0x0012f28c 0x799f1a62 [DEFAULT] [hasThis] String System.Exception.ToString() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f28c EIP 0x799f1a62 ESP/REG Object Name 0x12f29c 0x108ed2c System.Security.FrameSecurityDescriptor 0x12f2a4 0x1089278 System.OutOfMemoryException 0x12f2a8 0x107c8e8 System.String ExDlgErrorText 0x12f2ac 0x108e864 System.Text.StringBuilder 0x0012f2b8 0x037542a4 [FRAME: InterceptorFrame] [DEFAULT] [hasThis] String System.Exception.ToString() ESP/REG Object Name 0x0012f2c8 0x7b93f437 [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) EDI 0x0107c8e8 ESI 0x0108e864 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f2c8 EIP 0x7b93f437 ESP/REG Object Name 0x12f2e4 0x107dfb8 System.String ************** {0} ************** 0x12f2e8 0x107df50 tem.String ---------------------------------------- 0x12f2ec 0xc34f8c System.String 0x12f2f0 0x108e864 System.Text.StringBuilder 0x12f2f4 0x1089e50 System.Object[] 0x12f2f8 0x108e4cc System.String An unhandled exception has occurred in y 0x12f2fc 0x1089278 System.OutOfMemoryException 0x12f300 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f344 0x1089700 System.Security.FrameSecurityDescriptor 0x12f360 0x1089700 System.Security.FrameSecurityDescriptor 0x12f364 0x1089278 System.OutOfMemoryException 0x12f368 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f370 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x0012f37c 0x072caffc [FRAME: InterceptorFrame] [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) ESP/REG Object Name 0x0012f38c 0x7b87d7da [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x010895f8 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f3c4 ESP 0x0012f38c EIP 0x7b87d7da ESP/REG Object Name 0x12f390 0x1089278 System.OutOfMemoryException 0x12f39c 0x1089278 System.OutOfMemoryException 0x12f3a0 0xda69b0 System.Windows.Forms.Application/ThreadContext 0x12f3a4 0xc9b3b0 System.LocalDataStoreSlot 0x12f3b4 0xc9b3b0 System.LocalDataStoreSlot 0x0012f3cc 0x7b885625 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WndProcException(Clas s System.Exception) EDI 0x0012f5b4 ESI 0x01089278 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3cc EIP 0x7b885625 ESP/REG Object Name 0x0012f3d4 0x7b88658b [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d4 EIP 0x7b88658b ESP/REG Object Name 0x0012f3d8 0x7b82278c [DEFAULT] [hasThis] I System.Windows.Forms.NativeWindow.Callback(I,I4,I, I) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d8 EIP 0x7b82278c ESP/REG Object Name 0x12f42c 0xdc2bb8 System.Windows.Forms.Control/ControlNativeWindow 0x12f548 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x0012f550 0x00ab3b72 [FRAME: NDirectMethodFrameStandalone] [DEFAULT] I System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(ByRef ValueClass MSG) ESP/REG Object Name 0x0012f560 0x7b82df1a [DEFAULT] [hasThis] Boolean System.Windows.Forms.Application/ComponentManager.System.Windows.Forms.UnsafeNative Methods+IMsoComponentManager.FPushMessageLoop(I4,I 4,I4) EDI 0x00000001 ESI 0x0012f5b4 EBX 0x00c9b4c4 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f5e8 ESP 0x0012f560 EIP 0x7b82df1a ESP/REG Object Name 0x12f56c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f574 0xdac3cc System.Windows.Forms.Application/ComponentManager 0x0012f5f8 0x7b82da87 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoopInner(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa21c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f628 ESP 0x0012f5f8 EIP 0x7b82da87 ESP/REG Object Name 0x12f60c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f630 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f634 0x7b82d7a5 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoop(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa20c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f654 ESP 0x0012f634 EIP 0x7b82d7a5 ESP/REG Object Name 0x12f640 0xda6934 System.Windows.Forms.SafeNativeMethods/EnableThemingInScope 0x12f65c 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f660 0x7b851804 [DEFAULT] Void System.Windows.Forms.Application.Run(Class System.Windows.Forms.Form) EDI 0x00caef90 ESI 0x00efa1cc EBX 0x00c57718 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f660 EIP 0x7b851804 ESP/REG Object Name 0x12f660 0xd27d94 System.Reflection.Cache.ClearCacheHandler 0x0012f670 0x03ed0306 [DEFAULT] Void SunGard.Adaptiv.BackOffice.WinHost.frmLogin.Main() EDI 0x00cfd1c8 ESI 0x00c57718 EBX 0x00d27d94 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f670 EIP 0x03ed0306 ESP/REG Object Name 0x12f67c 0xc38c00 SunGard.Adaptiv.BackOffice.Core.Logging.Tracing.Ad aptivTracer 0x0012f9b0 0x791d94bc [FRAME: GCFrame] ESP/REG Object Name 0x0012fa94 0x791d94bc [FRAME: GCFrame] ========== Now I dump the exception object to get stack trace ======== 0:000> !dumpobj 0x1089278 Name: System.OutOfMemoryException MethodTable 0x79b94c74 EEClass 0x79b94cec Size 64(0x40) bytes GC Generation: 0 mdToken: 0x02000017 (c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll) FieldDesc*: 0x00000000 MT Field Offset Type Attr Value Name 0x79b947ac 0x400001d 0x4 CLASS instance 0x0108ed44 _className 0x79b947ac 0x400001e 0x8 CLASS instance 0x00000000 _exceptionMethod 0x79b947ac 0x400001f 0xc CLASS instance 0x00000000 _exceptionMethodString 0x79b947ac 0x4000020 0x10 CLASS instance 0x0107c4f4 _message 0x79b947ac 0x4000021 0x14 CLASS instance 0x00000000 _innerException 0x79b947ac 0x4000022 0x18 CLASS instance 0x00000000 _helpURL 0x79b947ac 0x4000023 0x1c CLASS instance 0x01089330 _stackTrace 0x79b947ac 0x4000024 0x20 CLASS instance 0x00000000 _stackTraceString 0x79b947ac 0x4000025 0x24 CLASS instance 0x00000000 _remoteStackTraceString 0x79b947ac 0x4000026 0x2c System.Int32 instance 0 _remoteStackIndex 0x79b947ac 0x4000027 0x30 System.Int32 instance -2147024882 _HResult 0x79b947ac 0x4000028 0x28 CLASS instance 0x00000000 _source 0x79b947ac 0x4000029 0x34 System.Int32 instance 0 _xptrs 0x79b947ac 0x400002a 0x38 System.Int32 instance -532459699 _xcode ----------------- Exception 01089278 in MT 79b94c74: System.OutOfMemoryException _message: Too many items in the combo box. _stackTrace: 0754639f [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.SelectionRules.RuleBui lderUI.PboRulesFactoryCtl.Populate(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s) 0012f138 063f3cf0 07542447 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.BusinessRules.RulesBui lderUI.RuleBuilderCtl.Initialize(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s,Class SunGard.Panorama.BackOffice.SelectionRules.RuleObj ects.PboRule) 0012f1a4 07346e68 0754172c [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing,String,Class SunGard.Panorama.BackOffice.GridConfigurations.Dat asets.GridConfigData) 0012f1b8 07051470 07541405 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing) 0012f1e0 07051460 075413df [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String) 0012f1ec 07051450 07503f2d [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.CustomizeConfig(Boolean) 0012f1f4 06e9dba8 07130863 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.gridConfigCombo_OnGetData() 0012f210 06e9db78 074f9e59 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.Fir eOnGetData() 0012f21c 064b4178 07503d65 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.boC omboCtl_AfterCloseUp(Object,Class System.EventArgs) 0012f224 064b4078 07503d49 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.OnAfterCl oseUp(Class System.EventArgs) 0012f22c 064b2cc0 06d52f4f [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireEvent (ValueClass Infragistics.Win.UltraWinGrid.ComboEventIds,Class System.EventArgs) 0012f238 064b2be0 07503cfa [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireAfter CloseUp() 0012f268 064b2c00 07503c84 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraDropDownBase.On CloseUp(Object,Class System.EventArgs) 0012f270 064b0bb8 07503904 [DEFAULT] [hasThis] Void Infragistics.Win.DropDownManager.Close() 0012f27c 06bcf398 07503601 [DEFAULT] Void Infragistics.Win.DropDownManager.InternalCloseDrop Down(Class System.Windows.Forms.Control) 0012f2b8 06bcf228 075035bf [DEFAULT] Void Infragistics.Win.DropDownManager.CloseDropDown(Cla ss System.Windows.Forms.Control) 0012f2c4 06bcf218 07503584 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraDropDownBase.In fragistics.Win.IValueList.CloseUp() 0012f2c8 064b0f60 07503533 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraDropDownBase.In fragistics.Win.ISelectionManager.OnMouseUp(ByRef ValueClass Infragistics.Win.MouseMessageInfo) 0012f2d0 064b1290 06fa3dda [DEFAULT] [hasThis] Boolean Infragistics.Win.SelectionStrategySingle.OnMouseMe ssage(Class Infragistics.Shared.ISelectableItem,ByRef ValueClass Infragistics.Win.MouseMessageInfo) 0012f2d8 06e98f00 057959e9 [DEFAULT] [hasThis] Void Infragistics.Win.ControlUIElementBase.ProcessMouse UpHelper(Object,Class System.Windows.Forms.MouseEventArgs) 0012f2ec 04659c60 057958b0 [DEFAULT] [hasThis] Void Infragistics.Win.ControlUIElementBase.ProcessMouse Up(Object,Class System.Windows.Forms.MouseEventArgs) 0012f324 04659c50 7b882a80 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.OnMouseUp(Class System.Windows.Forms.MouseEventArgs) 0012f35c 7b9e3238 7b885262 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WmMouseUp(ByRef ValueClass System.Windows.Forms.Message,ValueClass System.Windows.Forms.MouseButtons,I4) 0012f368 7b9e2548 7b82334f [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WndProc(ByRef ValueClass System.Windows.Forms.Message) 0012f3ac 7b9e2658 7b8228fa [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.OnMessage(ByRef ValueClass System.Windows.Forms.Message) 0012f40c 7b9f1f28 7b8228db [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.WndProc(ByRef ValueClass System.Windows.Forms.Message) 0012f410 7b9f1f58 7b82277f [DEFAULT] [hasThis] I System.Windows.Forms.NativeWindow.Callback(I,I4,I, I) 0012f420 7b9f1af0 ========== Question is, how can i find using this dump what parameter values were passed in to following method...?? 0754639f [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.SelectionRules.RuleBui lderUI.PboRulesFactoryCtl.Populate(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s) Thanks, Hiten |
#3
| |||
| |||
|
|
-l (locals) and -p (parameters) Cheers, Greg Young MVP - C# http://codebetter.com/blogs/gregyoung "Hiten" <Hiten (AT) discussions (DOT) microsoft.com> wrote in message news:ECF8E70E-9D87-4CBA-B26C-C437DAA41DDF (AT) microsoft (DOT) com... Hi, I have an issue on production box and I got a crash dump using ADPlus. I am trying to analyze the exception and got an object dump for exception object. I can see the function name where exception occured but can not see the parameter values passed in that is causing the exception. can anyone suggest me what command or procedure should i use to get the parameter values? Providing the stack trace for sample ========== 0:000> !clrstack -all Loaded Son of Strike data table version 5 from "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorw ks.dll" Thread 0 ESP EIP 0x0012f1d8 0x77fcca95 [FRAME: ECallMethodFrame] [DEFAULT] Void System.Diagnostics.StackTrace.GetStackFramesIntern al(Class System.Diagnostics.StackFrameHelper,I4,Class System.Exception) ESP/REG Object Name 0x12f1e8 0x1089278 System.OutOfMemoryException 0x0012f1ec 0x799ef555 [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace.CaptureStackTrace(I4 ,Boolean,Class System.Threading.Thread,Class System.Exception) EDI 0x0108ee44 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0108ee30 ESP 0x0012f1ec EIP 0x799ef555 ESP/REG Object Name 0x12f1f4 0x1089278 System.OutOfMemoryException 0x12f1f8 0x108ee30 System.Diagnostics.StackTrace 0x12f200 0x1089278 System.OutOfMemoryException 0x0012f20c 0x799f122c [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace..ctor(Class System.Exception,Boolean) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f20c EIP 0x799f122c ESP/REG Object Name 0x12f20c 0x108ee30 System.Diagnostics.StackTrace 0x0012f218 0x799ef257 [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f218 EIP 0x799ef257 ESP/REG Object Name 0x12f23c 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f258 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f260 0x1089278 System.OutOfMemoryException 0x12f264 0x107c4f4 System.String Too many items in the combo box. 0x12f268 0x1089278 System.OutOfMemoryException 0x12f26c 0x108ed8c System.String System.OutOfMemoryException: Too many it 0x0012f274 0x03754364 [FRAME: InterceptorFrame] [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) ESP/REG Object Name 0x0012f284 0x799f1b39 [DEFAULT] [hasThis] String System.Exception.get_StackTrace() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f284 EIP 0x799f1b39 ESP/REG Object Name 0x12f284 0x1089278 System.OutOfMemoryException 0x0012f28c 0x799f1a62 [DEFAULT] [hasThis] String System.Exception.ToString() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f28c EIP 0x799f1a62 ESP/REG Object Name 0x12f29c 0x108ed2c System.Security.FrameSecurityDescriptor 0x12f2a4 0x1089278 System.OutOfMemoryException 0x12f2a8 0x107c8e8 System.String ExDlgErrorText 0x12f2ac 0x108e864 System.Text.StringBuilder 0x0012f2b8 0x037542a4 [FRAME: InterceptorFrame] [DEFAULT] [hasThis] String System.Exception.ToString() ESP/REG Object Name 0x0012f2c8 0x7b93f437 [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) EDI 0x0107c8e8 ESI 0x0108e864 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f2c8 EIP 0x7b93f437 ESP/REG Object Name 0x12f2e4 0x107dfb8 System.String ************** {0} ************** 0x12f2e8 0x107df50 tem.String ---------------------------------------- 0x12f2ec 0xc34f8c System.String 0x12f2f0 0x108e864 System.Text.StringBuilder 0x12f2f4 0x1089e50 System.Object[] 0x12f2f8 0x108e4cc System.String An unhandled exception has occurred in y 0x12f2fc 0x1089278 System.OutOfMemoryException 0x12f300 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f344 0x1089700 System.Security.FrameSecurityDescriptor 0x12f360 0x1089700 System.Security.FrameSecurityDescriptor 0x12f364 0x1089278 System.OutOfMemoryException 0x12f368 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f370 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x0012f37c 0x072caffc [FRAME: InterceptorFrame] [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) ESP/REG Object Name 0x0012f38c 0x7b87d7da [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x010895f8 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f3c4 ESP 0x0012f38c EIP 0x7b87d7da ESP/REG Object Name 0x12f390 0x1089278 System.OutOfMemoryException 0x12f39c 0x1089278 System.OutOfMemoryException 0x12f3a0 0xda69b0 System.Windows.Forms.Application/ThreadContext 0x12f3a4 0xc9b3b0 System.LocalDataStoreSlot 0x12f3b4 0xc9b3b0 System.LocalDataStoreSlot 0x0012f3cc 0x7b885625 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WndProcException(Clas s System.Exception) EDI 0x0012f5b4 ESI 0x01089278 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3cc EIP 0x7b885625 ESP/REG Object Name 0x0012f3d4 0x7b88658b [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d4 EIP 0x7b88658b ESP/REG Object Name 0x0012f3d8 0x7b82278c [DEFAULT] [hasThis] I System.Windows.Forms.NativeWindow.Callback(I,I4,I, I) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d8 EIP 0x7b82278c ESP/REG Object Name 0x12f42c 0xdc2bb8 System.Windows.Forms.Control/ControlNativeWindow 0x12f548 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x0012f550 0x00ab3b72 [FRAME: NDirectMethodFrameStandalone] [DEFAULT] I System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(ByRef ValueClass MSG) ESP/REG Object Name 0x0012f560 0x7b82df1a [DEFAULT] [hasThis] Boolean System.Windows.Forms.Application/ComponentManager.System.Windows.Forms.UnsafeNative Methods+IMsoComponentManager.FPushMessageLoop(I4,I 4,I4) EDI 0x00000001 ESI 0x0012f5b4 EBX 0x00c9b4c4 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f5e8 ESP 0x0012f560 EIP 0x7b82df1a ESP/REG Object Name 0x12f56c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f574 0xdac3cc System.Windows.Forms.Application/ComponentManager 0x0012f5f8 0x7b82da87 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoopInner(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa21c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f628 ESP 0x0012f5f8 EIP 0x7b82da87 ESP/REG Object Name 0x12f60c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f630 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f634 0x7b82d7a5 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoop(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa20c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f654 ESP 0x0012f634 EIP 0x7b82d7a5 ESP/REG Object Name 0x12f640 0xda6934 System.Windows.Forms.SafeNativeMethods/EnableThemingInScope 0x12f65c 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f660 0x7b851804 [DEFAULT] Void System.Windows.Forms.Application.Run(Class System.Windows.Forms.Form) EDI 0x00caef90 ESI 0x00efa1cc EBX 0x00c57718 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f660 EIP 0x7b851804 ESP/REG Object Name 0x12f660 0xd27d94 System.Reflection.Cache.ClearCacheHandler 0x0012f670 0x03ed0306 [DEFAULT] Void SunGard.Adaptiv.BackOffice.WinHost.frmLogin.Main() EDI 0x00cfd1c8 ESI 0x00c57718 EBX 0x00d27d94 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f670 EIP 0x03ed0306 ESP/REG Object Name 0x12f67c 0xc38c00 SunGard.Adaptiv.BackOffice.Core.Logging.Tracing.Ad aptivTracer 0x0012f9b0 0x791d94bc [FRAME: GCFrame] ESP/REG Object Name 0x0012fa94 0x791d94bc [FRAME: GCFrame] ========== Now I dump the exception object to get stack trace ======== 0:000> !dumpobj 0x1089278 Name: System.OutOfMemoryException MethodTable 0x79b94c74 EEClass 0x79b94cec Size 64(0x40) bytes GC Generation: 0 mdToken: 0x02000017 (c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll) FieldDesc*: 0x00000000 MT Field Offset Type Attr Value Name 0x79b947ac 0x400001d 0x4 CLASS instance 0x0108ed44 _className 0x79b947ac 0x400001e 0x8 CLASS instance 0x00000000 _exceptionMethod 0x79b947ac 0x400001f 0xc CLASS instance 0x00000000 _exceptionMethodString 0x79b947ac 0x4000020 0x10 CLASS instance 0x0107c4f4 _message 0x79b947ac 0x4000021 0x14 CLASS instance 0x00000000 _innerException 0x79b947ac 0x4000022 0x18 CLASS instance 0x00000000 _helpURL 0x79b947ac 0x4000023 0x1c CLASS instance 0x01089330 _stackTrace 0x79b947ac 0x4000024 0x20 CLASS instance 0x00000000 _stackTraceString 0x79b947ac 0x4000025 0x24 CLASS instance 0x00000000 _remoteStackTraceString 0x79b947ac 0x4000026 0x2c System.Int32 instance 0 _remoteStackIndex 0x79b947ac 0x4000027 0x30 System.Int32 instance -2147024882 _HResult 0x79b947ac 0x4000028 0x28 CLASS instance 0x00000000 _source 0x79b947ac 0x4000029 0x34 System.Int32 instance 0 _xptrs 0x79b947ac 0x400002a 0x38 System.Int32 instance -532459699 _xcode ----------------- Exception 01089278 in MT 79b94c74: System.OutOfMemoryException _message: Too many items in the combo box. _stackTrace: 0754639f [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.SelectionRules.RuleBui lderUI.PboRulesFactoryCtl.Populate(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s) 0012f138 063f3cf0 07542447 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.BusinessRules.RulesBui lderUI.RuleBuilderCtl.Initialize(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s,Class SunGard.Panorama.BackOffice.SelectionRules.RuleObj ects.PboRule) 0012f1a4 07346e68 0754172c [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing,String,Class SunGard.Panorama.BackOffice.GridConfigurations.Dat asets.GridConfigData) 0012f1b8 07051470 07541405 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing) 0012f1e0 07051460 075413df [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String) 0012f1ec 07051450 07503f2d [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.CustomizeConfig(Boolean) 0012f1f4 06e9dba8 07130863 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.gridConfigCombo_OnGetData() 0012f210 06e9db78 074f9e59 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.Fir eOnGetData() 0012f21c 064b4178 07503d65 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.boC omboCtl_AfterCloseUp(Object,Class System.EventArgs) 0012f224 064b4078 07503d49 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.OnAfterCl oseUp(Class System.EventArgs) 0012f22c 064b2cc0 06d52f4f [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireEvent (ValueClass Infragistics.Win.UltraWinGrid.ComboEventIds,Class System.EventArgs) 0012f238 064b2be0 07503cfa [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireAfter CloseUp() 0012f268 |
#4
| |||
| |||
|
|
Should I use it with other command? I mean I am using !do to dump object... but how should I use it to get parameter value for method? "Greg Young" wrote: -l (locals) and -p (parameters) Cheers, Greg Young MVP - C# http://codebetter.com/blogs/gregyoung "Hiten" <Hiten (AT) discussions (DOT) microsoft.com> wrote in message news:ECF8E70E-9D87-4CBA-B26C-C437DAA41DDF (AT) microsoft (DOT) com... Hi, I have an issue on production box and I got a crash dump using ADPlus. I am trying to analyze the exception and got an object dump for exception object. I can see the function name where exception occured but can not see the parameter values passed in that is causing the exception. can anyone suggest me what command or procedure should i use to get the parameter values? Providing the stack trace for sample ========== 0:000> !clrstack -all Loaded Son of Strike data table version 5 from "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorw ks.dll" Thread 0 ESP EIP 0x0012f1d8 0x77fcca95 [FRAME: ECallMethodFrame] [DEFAULT] Void System.Diagnostics.StackTrace.GetStackFramesIntern al(Class System.Diagnostics.StackFrameHelper,I4,Class System.Exception) ESP/REG Object Name 0x12f1e8 0x1089278 System.OutOfMemoryException 0x0012f1ec 0x799ef555 [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace.CaptureStackTrace(I4 ,Boolean,Class System.Threading.Thread,Class System.Exception) EDI 0x0108ee44 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0108ee30 ESP 0x0012f1ec EIP 0x799ef555 ESP/REG Object Name 0x12f1f4 0x1089278 System.OutOfMemoryException 0x12f1f8 0x108ee30 System.Diagnostics.StackTrace 0x12f200 0x1089278 System.OutOfMemoryException 0x0012f20c 0x799f122c [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace..ctor(Class System.Exception,Boolean) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f20c EIP 0x799f122c ESP/REG Object Name 0x12f20c 0x108ee30 System.Diagnostics.StackTrace 0x0012f218 0x799ef257 [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f218 EIP 0x799ef257 ESP/REG Object Name 0x12f23c 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f258 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f260 0x1089278 System.OutOfMemoryException 0x12f264 0x107c4f4 System.String Too many items in the combo box. 0x12f268 0x1089278 System.OutOfMemoryException 0x12f26c 0x108ed8c System.String System.OutOfMemoryException: Too many it 0x0012f274 0x03754364 [FRAME: InterceptorFrame] [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) ESP/REG Object Name 0x0012f284 0x799f1b39 [DEFAULT] [hasThis] String System.Exception.get_StackTrace() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f284 EIP 0x799f1b39 ESP/REG Object Name 0x12f284 0x1089278 System.OutOfMemoryException 0x0012f28c 0x799f1a62 [DEFAULT] [hasThis] String System.Exception.ToString() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f28c EIP 0x799f1a62 ESP/REG Object Name 0x12f29c 0x108ed2c System.Security.FrameSecurityDescriptor 0x12f2a4 0x1089278 System.OutOfMemoryException 0x12f2a8 0x107c8e8 System.String ExDlgErrorText 0x12f2ac 0x108e864 System.Text.StringBuilder 0x0012f2b8 0x037542a4 [FRAME: InterceptorFrame] [DEFAULT] [hasThis] String System.Exception.ToString() ESP/REG Object Name 0x0012f2c8 0x7b93f437 [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) EDI 0x0107c8e8 ESI 0x0108e864 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f2c8 EIP 0x7b93f437 ESP/REG Object Name 0x12f2e4 0x107dfb8 System.String ************** {0} ************** 0x12f2e8 0x107df50 tem.String ---------------------------------------- 0x12f2ec 0xc34f8c System.String 0x12f2f0 0x108e864 System.Text.StringBuilder 0x12f2f4 0x1089e50 System.Object[] 0x12f2f8 0x108e4cc System.String An unhandled exception has occurred in y 0x12f2fc 0x1089278 System.OutOfMemoryException 0x12f300 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f344 0x1089700 System.Security.FrameSecurityDescriptor 0x12f360 0x1089700 System.Security.FrameSecurityDescriptor 0x12f364 0x1089278 System.OutOfMemoryException 0x12f368 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f370 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x0012f37c 0x072caffc [FRAME: InterceptorFrame] [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) ESP/REG Object Name 0x0012f38c 0x7b87d7da [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x010895f8 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f3c4 ESP 0x0012f38c EIP 0x7b87d7da ESP/REG Object Name 0x12f390 0x1089278 System.OutOfMemoryException 0x12f39c 0x1089278 System.OutOfMemoryException 0x12f3a0 0xda69b0 System.Windows.Forms.Application/ThreadContext 0x12f3a4 0xc9b3b0 System.LocalDataStoreSlot 0x12f3b4 0xc9b3b0 System.LocalDataStoreSlot 0x0012f3cc 0x7b885625 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WndProcException(Clas s System.Exception) EDI 0x0012f5b4 ESI 0x01089278 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3cc EIP 0x7b885625 ESP/REG Object Name 0x0012f3d4 0x7b88658b [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d4 EIP 0x7b88658b ESP/REG Object Name 0x0012f3d8 0x7b82278c [DEFAULT] [hasThis] I System.Windows.Forms.NativeWindow.Callback(I,I4,I, I) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d8 EIP 0x7b82278c ESP/REG Object Name 0x12f42c 0xdc2bb8 System.Windows.Forms.Control/ControlNativeWindow 0x12f548 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x0012f550 0x00ab3b72 [FRAME: NDirectMethodFrameStandalone] [DEFAULT] I System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(ByRef ValueClass MSG) ESP/REG Object Name 0x0012f560 0x7b82df1a [DEFAULT] [hasThis] Boolean System.Windows.Forms.Application/ComponentManager.System.Windows.Forms.UnsafeNative Methods+IMsoComponentManager.FPushMessageLoop(I4,I 4,I4) EDI 0x00000001 ESI 0x0012f5b4 EBX 0x00c9b4c4 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f5e8 ESP 0x0012f560 EIP 0x7b82df1a ESP/REG Object Name 0x12f56c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f574 0xdac3cc System.Windows.Forms.Application/ComponentManager 0x0012f5f8 0x7b82da87 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoopInner(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa21c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f628 ESP 0x0012f5f8 EIP 0x7b82da87 ESP/REG Object Name 0x12f60c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f630 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f634 0x7b82d7a5 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoop(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa20c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f654 ESP 0x0012f634 EIP 0x7b82d7a5 ESP/REG Object Name 0x12f640 0xda6934 System.Windows.Forms.SafeNativeMethods/EnableThemingInScope 0x12f65c 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f660 0x7b851804 [DEFAULT] Void System.Windows.Forms.Application.Run(Class System.Windows.Forms.Form) EDI 0x00caef90 ESI 0x00efa1cc EBX 0x00c57718 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f660 EIP 0x7b851804 ESP/REG Object Name 0x12f660 0xd27d94 System.Reflection.Cache.ClearCacheHandler 0x0012f670 0x03ed0306 [DEFAULT] Void SunGard.Adaptiv.BackOffice.WinHost.frmLogin.Main() EDI 0x00cfd1c8 ESI 0x00c57718 EBX 0x00d27d94 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f670 EIP 0x03ed0306 ESP/REG Object Name 0x12f67c 0xc38c00 SunGard.Adaptiv.BackOffice.Core.Logging.Tracing.Ad aptivTracer 0x0012f9b0 0x791d94bc [FRAME: GCFrame] ESP/REG Object Name 0x0012fa94 0x791d94bc [FRAME: GCFrame] ========== Now I dump the exception object to get stack trace ======== 0:000> !dumpobj 0x1089278 Name: System.OutOfMemoryException MethodTable 0x79b94c74 EEClass 0x79b94cec Size 64(0x40) bytes GC Generation: 0 mdToken: 0x02000017 (c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll) FieldDesc*: 0x00000000 MT Field Offset Type Attr Value Name 0x79b947ac 0x400001d 0x4 CLASS instance 0x0108ed44 _className 0x79b947ac 0x400001e 0x8 CLASS instance 0x00000000 _exceptionMethod 0x79b947ac 0x400001f 0xc CLASS instance 0x00000000 _exceptionMethodString 0x79b947ac 0x4000020 0x10 CLASS instance 0x0107c4f4 _message 0x79b947ac 0x4000021 0x14 CLASS instance 0x00000000 _innerException 0x79b947ac 0x4000022 0x18 CLASS instance 0x00000000 _helpURL 0x79b947ac 0x4000023 0x1c CLASS instance 0x01089330 _stackTrace 0x79b947ac 0x4000024 0x20 CLASS instance 0x00000000 _stackTraceString 0x79b947ac 0x4000025 0x24 CLASS instance 0x00000000 _remoteStackTraceString 0x79b947ac 0x4000026 0x2c System.Int32 instance 0 _remoteStackIndex 0x79b947ac 0x4000027 0x30 System.Int32 instance -2147024882 _HResult 0x79b947ac 0x4000028 0x28 CLASS instance 0x00000000 _source 0x79b947ac 0x4000029 0x34 System.Int32 instance 0 _xptrs 0x79b947ac 0x400002a 0x38 System.Int32 instance -532459699 _xcode ----------------- Exception 01089278 in MT 79b94c74: System.OutOfMemoryException _message: Too many items in the combo box. _stackTrace: 0754639f [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.SelectionRules.RuleBui lderUI.PboRulesFactoryCtl.Populate(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s) 0012f138 063f3cf0 07542447 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.BusinessRules.RulesBui lderUI.RuleBuilderCtl.Initialize(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s,Class SunGard.Panorama.BackOffice.SelectionRules.RuleObj ects.PboRule) 0012f1a4 07346e68 0754172c [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing,String,Class SunGard.Panorama.BackOffice.GridConfigurations.Dat asets.GridConfigData) 0012f1b8 07051470 07541405 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing) 0012f1e0 07051460 075413df [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String) 0012f1ec 07051450 07503f2d [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.CustomizeConfig(Boolean) 0012f1f4 06e9dba8 07130863 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.gridConfigCombo_OnGetData() 0012f210 06e9db78 074f9e59 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.Fir eOnGetData() 0012f21c 064b4178 07503d65 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.boC omboCtl_AfterCloseUp(Object,Class System.EventArgs) 0012f224 064b4078 07503d49 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.OnAfterCl oseUp(Class System.EventArgs) 0012f22c 064b2cc0 06d52f4f [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireEvent (ValueClass Infragistics.Win.UltraWinGrid.ComboEventIds,Class System.EventArgs) 0012f238 064b2be0 07503cfa [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireAfter CloseUp() 0012f268 |
#5
| |||
| |||
|
|
They are arguments for the !CLRStack command !CLRStack -l (shows stack with locals) !CLRStack -p (shows stack with parameters) !CLRStack -l -p (shows both parameters and locals) Here is an example ... ..load SOS extension C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\SOS. dll loaded !CLRStack PDB symbol for mscorwks.dll not loaded OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) 0012f69c 79e88f63 [GCFrame: 0012f69c] !CLRStack -l OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) LOCALS: 0x0012f3f8 = 0x012b1d30 0x0012f3f4 = 0x00000000 0x0012f3f0 = 0x00000000 0x0012f3ec = 0x00000000 0x0012f3e8 = 0x00000000 0x0012f3e4 = 0x00000000 CLR reg> = 0x00000000 0x0012f3dc = 0x00000000 0x0012f3d8 = 0x00000000 0x0012f3d4 = 0x00000000 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) LOCALS: 0012f69c 79e88f63 [GCFrame: 0012f69c] !CLRStack -p OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) PARAMETERS: 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) PARAMETERS: args = 0x012b1cb0 0012f69c 79e88f63 [GCFrame: 0012f69c] !CLRStack -l -p OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) PARAMETERS: 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) PARAMETERS: args = 0x012b1cb0 LOCALS: 0012f69c 79e88f63 [GCFrame: 0012f69c] "Hiten" <Hiten (AT) discussions (DOT) microsoft.com> wrote in message news:BABE227B-BAF8-462F-8457-CC513C43326B (AT) microsoft (DOT) com... Should I use it with other command? I mean I am using !do to dump object... but how should I use it to get parameter value for method? "Greg Young" wrote: -l (locals) and -p (parameters) Cheers, Greg Young MVP - C# http://codebetter.com/blogs/gregyoung "Hiten" <Hiten (AT) discussions (DOT) microsoft.com> wrote in message news:ECF8E70E-9D87-4CBA-B26C-C437DAA41DDF (AT) microsoft (DOT) com... Hi, I have an issue on production box and I got a crash dump using ADPlus. I am trying to analyze the exception and got an object dump for exception object. I can see the function name where exception occured but can not see the parameter values passed in that is causing the exception. can anyone suggest me what command or procedure should i use to get the parameter values? Providing the stack trace for sample ========== 0:000> !clrstack -all Loaded Son of Strike data table version 5 from "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorw ks.dll" Thread 0 ESP EIP 0x0012f1d8 0x77fcca95 [FRAME: ECallMethodFrame] [DEFAULT] Void System.Diagnostics.StackTrace.GetStackFramesIntern al(Class System.Diagnostics.StackFrameHelper,I4,Class System.Exception) ESP/REG Object Name 0x12f1e8 0x1089278 System.OutOfMemoryException 0x0012f1ec 0x799ef555 [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace.CaptureStackTrace(I4 ,Boolean,Class System.Threading.Thread,Class System.Exception) EDI 0x0108ee44 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0108ee30 ESP 0x0012f1ec EIP 0x799ef555 ESP/REG Object Name 0x12f1f4 0x1089278 System.OutOfMemoryException 0x12f1f8 0x108ee30 System.Diagnostics.StackTrace 0x12f200 0x1089278 System.OutOfMemoryException 0x0012f20c 0x799f122c [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace..ctor(Class System.Exception,Boolean) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f20c EIP 0x799f122c ESP/REG Object Name 0x12f20c 0x108ee30 System.Diagnostics.StackTrace 0x0012f218 0x799ef257 [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f218 EIP 0x799ef257 ESP/REG Object Name 0x12f23c 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f258 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f260 0x1089278 System.OutOfMemoryException 0x12f264 0x107c4f4 System.String Too many items in the combo box. 0x12f268 0x1089278 System.OutOfMemoryException 0x12f26c 0x108ed8c System.String System.OutOfMemoryException: Too many it 0x0012f274 0x03754364 [FRAME: InterceptorFrame] [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) ESP/REG Object Name 0x0012f284 0x799f1b39 [DEFAULT] [hasThis] String System.Exception.get_StackTrace() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f284 EIP 0x799f1b39 ESP/REG Object Name 0x12f284 0x1089278 System.OutOfMemoryException 0x0012f28c 0x799f1a62 [DEFAULT] [hasThis] String System.Exception.ToString() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f28c EIP 0x799f1a62 ESP/REG Object Name 0x12f29c 0x108ed2c System.Security.FrameSecurityDescriptor 0x12f2a4 0x1089278 System.OutOfMemoryException 0x12f2a8 0x107c8e8 System.String ExDlgErrorText 0x12f2ac 0x108e864 System.Text.StringBuilder 0x0012f2b8 0x037542a4 [FRAME: InterceptorFrame] [DEFAULT] [hasThis] String System.Exception.ToString() ESP/REG Object Name 0x0012f2c8 0x7b93f437 [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) EDI 0x0107c8e8 ESI 0x0108e864 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f2c8 EIP 0x7b93f437 ESP/REG Object Name 0x12f2e4 0x107dfb8 System.String ************** {0} ************** 0x12f2e8 0x107df50 tem.String ---------------------------------------- 0x12f2ec 0xc34f8c System.String 0x12f2f0 0x108e864 System.Text.StringBuilder 0x12f2f4 0x1089e50 System.Object[] 0x12f2f8 0x108e4cc System.String An unhandled exception has occurred in y 0x12f2fc 0x1089278 System.OutOfMemoryException 0x12f300 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f344 0x1089700 System.Security.FrameSecurityDescriptor 0x12f360 0x1089700 System.Security.FrameSecurityDescriptor 0x12f364 0x1089278 System.OutOfMemoryException 0x12f368 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f370 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x0012f37c 0x072caffc [FRAME: InterceptorFrame] [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) ESP/REG Object Name 0x0012f38c 0x7b87d7da [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x010895f8 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f3c4 ESP 0x0012f38c EIP 0x7b87d7da ESP/REG Object Name 0x12f390 0x1089278 System.OutOfMemoryException 0x12f39c 0x1089278 System.OutOfMemoryException 0x12f3a0 0xda69b0 System.Windows.Forms.Application/ThreadContext 0x12f3a4 0xc9b3b0 System.LocalDataStoreSlot 0x12f3b4 0xc9b3b0 System.LocalDataStoreSlot 0x0012f3cc 0x7b885625 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WndProcException(Clas s System.Exception) EDI 0x0012f5b4 ESI 0x01089278 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3cc EIP 0x7b885625 ESP/REG Object Name 0x0012f3d4 0x7b88658b [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d4 EIP 0x7b88658b ESP/REG Object Name 0x0012f3d8 0x7b82278c [DEFAULT] [hasThis] I System.Windows.Forms.NativeWindow.Callback(I,I4,I, I) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d8 EIP 0x7b82278c ESP/REG Object Name 0x12f42c 0xdc2bb8 System.Windows.Forms.Control/ControlNativeWindow 0x12f548 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x0012f550 0x00ab3b72 [FRAME: NDirectMethodFrameStandalone] [DEFAULT] I System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(ByRef ValueClass MSG) ESP/REG Object Name 0x0012f560 0x7b82df1a [DEFAULT] [hasThis] Boolean System.Windows.Forms.Application/ComponentManager.System.Windows.Forms.UnsafeNative Methods+IMsoComponentManager.FPushMessageLoop(I4,I 4,I4) EDI 0x00000001 ESI 0x0012f5b4 EBX 0x00c9b4c4 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f5e8 ESP 0x0012f560 EIP 0x7b82df1a ESP/REG Object Name 0x12f56c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f574 0xdac3cc System.Windows.Forms.Application/ComponentManager 0x0012f5f8 0x7b82da87 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoopInner(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa21c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f628 ESP 0x0012f5f8 EIP 0x7b82da87 ESP/REG Object Name 0x12f60c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f630 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f634 0x7b82d7a5 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoop(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa20c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f654 ESP 0x0012f634 EIP 0x7b82d7a5 ESP/REG Object Name 0x12f640 0xda6934 System.Windows.Forms.SafeNativeMethods/EnableThemingInScope 0x12f65c 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f660 0x7b851804 [DEFAULT] Void System.Windows.Forms.Application.Run(Class System.Windows.Forms.Form) EDI 0x00caef90 ESI 0x00efa1cc EBX 0x00c57718 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f660 EIP 0x7b851804 ESP/REG Object Name 0x12f660 0xd27d94 System.Reflection.Cache.ClearCacheHandler 0x0012f670 0x03ed0306 [DEFAULT] Void SunGard.Adaptiv.BackOffice.WinHost.frmLogin.Main() EDI 0x00cfd1c8 ESI 0x00c57718 EBX 0x00d27d94 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f670 EIP 0x03ed0306 ESP/REG Object Name 0x12f67c 0xc38c00 SunGard.Adaptiv.BackOffice.Core.Logging.Tracing.Ad aptivTracer 0x0012f9b0 0x791d94bc [FRAME: GCFrame] ESP/REG Object Name 0x0012fa94 0x791d94bc [FRAME: GCFrame] ========== Now I dump the exception object to get stack trace ======== 0:000> !dumpobj 0x1089278 Name: System.OutOfMemoryException MethodTable 0x79b94c74 EEClass 0x79b94cec Size 64(0x40) bytes GC Generation: 0 mdToken: 0x02000017 (c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll) FieldDesc*: 0x00000000 MT Field Offset Type Attr Value Name 0x79b947ac 0x400001d 0x4 CLASS instance 0x0108ed44 |
#6
| |||
| |||
|
|
Thanks Young, Any idea of how to get line numbers from stack trace? What I am doing is, dumping exception object... this object gives me stack trace of what exception happened. I want to see what line was the exception occured... Any suggestion how should i get it? Following is the stack trace from dump object... ============================================ 0:000> !do 0x1089278 Name: System.OutOfMemoryException MethodTable 0x79b94c74 EEClass 0x79b94cec Size 64(0x40) bytes GC Generation: 0 mdToken: 0x02000017 (c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll) FieldDesc*: 0x00000000 MT Field Offset Type Attr Value Name 0x79b947ac 0x400001d 0x4 CLASS instance 0x0108ed44 _className 0x79b947ac 0x400001e 0x8 CLASS instance 0x00000000 _exceptionMethod 0x79b947ac 0x400001f 0xc CLASS instance 0x00000000 _exceptionMethodString 0x79b947ac 0x4000020 0x10 CLASS instance 0x0107c4f4 _message 0x79b947ac 0x4000021 0x14 CLASS instance 0x00000000 _innerException 0x79b947ac 0x4000022 0x18 CLASS instance 0x00000000 _helpURL 0x79b947ac 0x4000023 0x1c CLASS instance 0x01089330 _stackTrace 0x79b947ac 0x4000024 0x20 CLASS instance 0x00000000 _stackTraceString 0x79b947ac 0x4000025 0x24 CLASS instance 0x00000000 _remoteStackTraceString 0x79b947ac 0x4000026 0x2c System.Int32 instance 0 _remoteStackIndex 0x79b947ac 0x4000027 0x30 System.Int32 instance -2147024882 _HResult 0x79b947ac 0x4000028 0x28 CLASS instance 0x00000000 _source 0x79b947ac 0x4000029 0x34 System.Int32 instance 0 _xptrs 0x79b947ac 0x400002a 0x38 System.Int32 instance -532459699 _xcode ----------------- Exception 01089278 in MT 79b94c74: System.OutOfMemoryException _message: Too many items in the combo box. _stackTrace: 0754639f [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.SelectionRules.RuleBui lderUI.PboRulesFactoryCtl.Populate(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s) 0012f138 063f3cf0 07542447 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.BusinessRules.RulesBui lderUI.RuleBuilderCtl.Initialize(Class SunGard.Panorama.BackOffice.WinInterfaces.ValueSet s,Class SunGard.Panorama.BackOffice.SelectionRules.RuleObj ects.PboRule) 0012f1a4 07346e68 0754172c [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing,String,Class SunGard.Panorama.BackOffice.GridConfigurations.Dat asets.GridConfigData) 0012f1b8 07051470 07541405 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String,Str ing) 0012f1e0 07051460 075413df [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. frmConfigure.InitializeForm(Class Infragistics.Win.UltraWinGrid.UltraGrid,String) 0012f1ec 07051450 07503f2d [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.CustomizeConfig(Boolean) 0012f1f4 06e9dba8 07130863 [DEFAULT] [hasThis] Void SunGard.Panorama.BackOffice.GridConfigurations.UI. GridConfigButton.gridConfigCombo_OnGetData() 0012f210 06e9db78 074f9e59 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.Fir eOnGetData() 0012f21c 064b4178 07503d65 [DEFAULT] [hasThis] Void SunGard.Adaptiv.BackOffice.WinForms.boComboCtl.boC omboCtl_AfterCloseUp(Object,Class System.EventArgs) 0012f224 064b4078 07503d49 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.OnAfterCl oseUp(Class System.EventArgs) 0012f22c 064b2cc0 06d52f4f [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireEvent (ValueClass Infragistics.Win.UltraWinGrid.ComboEventIds,Class System.EventArgs) 0012f238 064b2be0 07503cfa [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraCombo.FireAfter CloseUp() 0012f268 064b2c00 07503c84 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraDropDownBase.On CloseUp(Object,Class System.EventArgs) 0012f270 064b0bb8 07503904 [DEFAULT] [hasThis] Void Infragistics.Win.DropDownManager.Close() 0012f27c 06bcf398 07503601 [DEFAULT] Void Infragistics.Win.DropDownManager.InternalCloseDrop Down(Class System.Windows.Forms.Control) 0012f2b8 06bcf228 075035bf [DEFAULT] Void Infragistics.Win.DropDownManager.CloseDropDown(Cla ss System.Windows.Forms.Control) 0012f2c4 06bcf218 07503584 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraDropDownBase.In fragistics.Win.IValueList.CloseUp() 0012f2c8 064b0f60 07503533 [DEFAULT] [hasThis] Void Infragistics.Win.UltraWinGrid.UltraDropDownBase.In fragistics.Win.ISelectionManager.OnMouseUp(ByRef ValueClass Infragistics.Win.MouseMessageInfo) 0012f2d0 064b1290 06fa3dda [DEFAULT] [hasThis] Boolean Infragistics.Win.SelectionStrategySingle.OnMouseMe ssage(Class Infragistics.Shared.ISelectableItem,ByRef ValueClass Infragistics.Win.MouseMessageInfo) 0012f2d8 06e98f00 057959e9 [DEFAULT] [hasThis] Void Infragistics.Win.ControlUIElementBase.ProcessMouse UpHelper(Object,Class System.Windows.Forms.MouseEventArgs) 0012f2ec 04659c60 057958b0 [DEFAULT] [hasThis] Void Infragistics.Win.ControlUIElementBase.ProcessMouse Up(Object,Class System.Windows.Forms.MouseEventArgs) 0012f324 04659c50 7b882a80 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.OnMouseUp(Class System.Windows.Forms.MouseEventArgs) 0012f35c 7b9e3238 7b885262 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WmMouseUp(ByRef ValueClass System.Windows.Forms.Message,ValueClass System.Windows.Forms.MouseButtons,I4) 0012f368 7b9e2548 7b82334f [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WndProc(ByRef ValueClass System.Windows.Forms.Message) 0012f3ac 7b9e2658 7b8228fa [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.OnMessage(ByRef ValueClass System.Windows.Forms.Message) 0012f40c 7b9f1f28 7b8228db [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.WndProc(ByRef ValueClass System.Windows.Forms.Message) 0012f410 7b9f1f58 7b82277f [DEFAULT] [hasThis] I System.Windows.Forms.NativeWindow.Callback(I,I4,I, I) 0012f420 7b9f1af0 ================================= Thanks, Hiten "Greg Young" wrote: They are arguments for the !CLRStack command !CLRStack -l (shows stack with locals) !CLRStack -p (shows stack with parameters) !CLRStack -l -p (shows both parameters and locals) Here is an example ... ..load SOS extension C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\SOS. dll loaded !CLRStack PDB symbol for mscorwks.dll not loaded OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) 0012f69c 79e88f63 [GCFrame: 0012f69c] !CLRStack -l OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) LOCALS: 0x0012f3f8 = 0x012b1d30 0x0012f3f4 = 0x00000000 0x0012f3f0 = 0x00000000 0x0012f3ec = 0x00000000 0x0012f3e8 = 0x00000000 0x0012f3e4 = 0x00000000 CLR reg> = 0x00000000 0x0012f3dc = 0x00000000 0x0012f3d8 = 0x00000000 0x0012f3d4 = 0x00000000 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) LOCALS: 0012f69c 79e88f63 [GCFrame: 0012f69c] !CLRStack -p OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) PARAMETERS: 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) PARAMETERS: args = 0x012b1cb0 0012f69c 79e88f63 [GCFrame: 0012f69c] !CLRStack -l -p OS Thread Id: 0x133c (4924) ESP EIP 0012f3cc 00de0136 ConsoleApplication16.Program.ImportString(System.S tring[,]) PARAMETERS: 0012f440 00de00b8 ConsoleApplication16.Program.Main(System.String[]) PARAMETERS: args = 0x012b1cb0 LOCALS: 0012f69c 79e88f63 [GCFrame: 0012f69c] "Hiten" <Hiten (AT) discussions (DOT) microsoft.com> wrote in message news:BABE227B-BAF8-462F-8457-CC513C43326B (AT) microsoft (DOT) com... Should I use it with other command? I mean I am using !do to dump object... but how should I use it to get parameter value for method? "Greg Young" wrote: -l (locals) and -p (parameters) Cheers, Greg Young MVP - C# http://codebetter.com/blogs/gregyoung "Hiten" <Hiten (AT) discussions (DOT) microsoft.com> wrote in message news:ECF8E70E-9D87-4CBA-B26C-C437DAA41DDF (AT) microsoft (DOT) com... Hi, I have an issue on production box and I got a crash dump using ADPlus. I am trying to analyze the exception and got an object dump for exception object. I can see the function name where exception occured but can not see the parameter values passed in that is causing the exception. can anyone suggest me what command or procedure should i use to get the parameter values? Providing the stack trace for sample ========== 0:000> !clrstack -all Loaded Son of Strike data table version 5 from "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorw ks.dll" Thread 0 ESP EIP 0x0012f1d8 0x77fcca95 [FRAME: ECallMethodFrame] [DEFAULT] Void System.Diagnostics.StackTrace.GetStackFramesIntern al(Class System.Diagnostics.StackFrameHelper,I4,Class System.Exception) ESP/REG Object Name 0x12f1e8 0x1089278 System.OutOfMemoryException 0x0012f1ec 0x799ef555 [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace.CaptureStackTrace(I4 ,Boolean,Class System.Threading.Thread,Class System.Exception) EDI 0x0108ee44 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0108ee30 ESP 0x0012f1ec EIP 0x799ef555 ESP/REG Object Name 0x12f1f4 0x1089278 System.OutOfMemoryException 0x12f1f8 0x108ee30 System.Diagnostics.StackTrace 0x12f200 0x1089278 System.OutOfMemoryException 0x0012f20c 0x799f122c [DEFAULT] [hasThis] Void System.Diagnostics.StackTrace..ctor(Class System.Exception,Boolean) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f20c EIP 0x799f122c ESP/REG Object Name 0x12f20c 0x108ee30 System.Diagnostics.StackTrace 0x0012f218 0x799ef257 [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) EDI 0x0108ee30 ESI 0x01089278 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f250 ESP 0x0012f218 EIP 0x799ef257 ESP/REG Object Name 0x12f23c 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f258 0x108ee18 System.Security.FrameSecurityDescriptor 0x12f260 0x1089278 System.OutOfMemoryException 0x12f264 0x107c4f4 System.String Too many items in the combo box. 0x12f268 0x1089278 System.OutOfMemoryException 0x12f26c 0x108ed8c System.String System.OutOfMemoryException: Too many it 0x0012f274 0x03754364 [FRAME: InterceptorFrame] [DEFAULT] String System.Environment.GetStackTrace(Class System.Exception) ESP/REG Object Name 0x0012f284 0x799f1b39 [DEFAULT] [hasThis] String System.Exception.get_StackTrace() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f284 EIP 0x799f1b39 ESP/REG Object Name 0x12f284 0x1089278 System.OutOfMemoryException 0x0012f28c 0x799f1a62 [DEFAULT] [hasThis] String System.Exception.ToString() EDI 0x0107c4f4 ESI 0x01089278 EBX 0x0108ed8c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f28c EIP 0x799f1a62 ESP/REG Object Name 0x12f29c 0x108ed2c System.Security.FrameSecurityDescriptor 0x12f2a4 0x1089278 System.OutOfMemoryException 0x12f2a8 0x107c8e8 System.String ExDlgErrorText 0x12f2ac 0x108e864 System.Text.StringBuilder 0x0012f2b8 0x037542a4 [FRAME: InterceptorFrame] [DEFAULT] [hasThis] String System.Exception.ToString() ESP/REG Object Name 0x0012f2c8 0x7b93f437 [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) EDI 0x0107c8e8 ESI 0x0108e864 EBX 0x0013d9f0 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f358 ESP 0x0012f2c8 EIP 0x7b93f437 ESP/REG Object Name 0x12f2e4 0x107dfb8 System.String ************** {0} ************** 0x12f2e8 0x107df50 tem.String ---------------------------------------- 0x12f2ec 0xc34f8c System.String 0x12f2f0 0x108e864 System.Text.StringBuilder 0x12f2f4 0x1089e50 System.Object[] 0x12f2f8 0x108e4cc System.String An unhandled exception has occurred in y 0x12f2fc 0x1089278 System.OutOfMemoryException 0x12f300 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f344 0x1089700 System.Security.FrameSecurityDescriptor 0x12f360 0x1089700 System.Security.FrameSecurityDescriptor 0x12f364 0x1089278 System.OutOfMemoryException 0x12f368 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x12f370 0x10895f8 System.Windows.Forms.ThreadExceptionDialog 0x0012f37c 0x072caffc [FRAME: InterceptorFrame] [DEFAULT] [hasThis] Void System.Windows.Forms.ThreadExceptionDialog..ctor(C lass System.Exception) ESP/REG Object Name 0x0012f38c 0x7b87d7da [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x010895f8 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f3c4 ESP 0x0012f38c EIP 0x7b87d7da ESP/REG Object Name 0x12f390 0x1089278 System.OutOfMemoryException 0x12f39c 0x1089278 System.OutOfMemoryException 0x12f3a0 0xda69b0 System.Windows.Forms.Application/ThreadContext 0x12f3a4 0xc9b3b0 System.LocalDataStoreSlot 0x12f3b4 0xc9b3b0 System.LocalDataStoreSlot 0x0012f3cc 0x7b885625 [DEFAULT] [hasThis] Void System.Windows.Forms.Control.WndProcException(Clas s System.Exception) EDI 0x0012f5b4 ESI 0x01089278 EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3cc EIP 0x7b885625 ESP/REG Object Name 0x0012f3d4 0x7b88658b [DEFAULT] [hasThis] Void System.Windows.Forms.Control/ControlNativeWindow.OnThreadException(Class System.Exception) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d4 EIP 0x7b88658b ESP/REG Object Name 0x0012f3d8 0x7b82278c [DEFAULT] [hasThis] I System.Windows.Forms.NativeWindow.Callback(I,I4,I, I) EDI 0x0012f5b4 ESI 0x0012f5bc EBX 0xc0000000 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f454 ESP 0x0012f3d8 EIP 0x7b82278c ESP/REG Object Name 0x12f42c 0xdc2bb8 System.Windows.Forms.Control/ControlNativeWindow 0x12f548 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x0012f550 0x00ab3b72 [FRAME: NDirectMethodFrameStandalone] [DEFAULT] I System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(ByRef ValueClass MSG) ESP/REG Object Name 0x0012f560 0x7b82df1a [DEFAULT] [hasThis] Boolean System.Windows.Forms.Application/ComponentManager.System.Windows.Forms.UnsafeNative Methods+IMsoComponentManager.FPushMessageLoop(I4,I 4,I4) EDI 0x00000001 ESI 0x0012f5b4 EBX 0x00c9b4c4 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f5e8 ESP 0x0012f560 EIP 0x7b82df1a ESP/REG Object Name 0x12f56c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f574 0xdac3cc System.Windows.Forms.Application/ComponentManager 0x0012f5f8 0x7b82da87 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoopInner(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa21c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f628 ESP 0x0012f5f8 EIP 0x7b82da87 ESP/REG Object Name 0x12f60c 0xc9b4c4 System.Windows.Forms.Application/ThreadContext 0x12f630 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f634 0x7b82d7a5 [DEFAULT] [hasThis] Void System.Windows.Forms.Application/ThreadContext.RunMessageLoop(I4,Class System.Windows.Forms.ApplicationContext) EDI 0xffffffff ESI 0x00caef90 EBX 0x00efa20c EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f654 ESP 0x0012f634 EIP 0x7b82d7a5 ESP/REG Object Name 0x12f640 0xda6934 System.Windows.Forms.SafeNativeMethods/EnableThemingInScope 0x12f65c 0xda68f4 System.Windows.Forms.ApplicationContext 0x0012f660 0x7b851804 [DEFAULT] Void System.Windows.Forms.Application.Run(Class System.Windows.Forms.Form) EDI 0x00caef90 ESI 0x00efa1cc EBX 0x00c57718 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f660 EIP 0x7b851804 ESP/REG Object Name 0x12f660 0xd27d94 System.Reflection.Cache.ClearCacheHandler 0x0012f670 0x03ed0306 [DEFAULT] Void SunGard.Adaptiv.BackOffice.WinHost.frmLogin.Main() EDI 0x00cfd1c8 ESI 0x00c57718 EBX 0x00d27d94 EDX 0x00130608 ECX 0x7ffde000 EAX 0x001301a0 EBP 0x0012f69c ESP 0x0012f670 EIP 0x03ed0306 ESP/REG Object Name 0x12f67c 0xc38c00 SunGard.Adaptiv.BackOffice.Core.Logging.Tracing.Ad aptivTracer 0x0012f9b0 0x791d94bc [FRAME: GCFrame] ESP/REG Object Name 0x0012fa94 0x791d94bc [FRAME: GCFrame] ========== Now I dump the exception object to get stack trace ======== 0:000> !dumpobj 0x1089278 Name: System.OutOfMemoryException MethodTable 0x79b94c74 EEClass 0x79b94cec Size 64(0x40) bytes GC Generation: 0 mdToken: 0x02000017 (c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll) FieldDesc*: 0x00000000 MT Field Offset Type Attr Value Name 0x79b947ac 0x400001d 0x4 CLASS instance 0x0108ed44 |