0

When I look run !dso command against a thread, I see following. What I don't understand is why do I see System.AppDomain and System.Diagnostics.SharedPerformanceCounter although in the code I am doing anything specific related to these.

0:090> !dso  
OS Thread Id: 0xf74 (90)  
ESP/REG  Object   Name  
1975e3b4 0273eb28 System.Diagnostics.SharedPerformanceCounter  
1975e46c 0273eb28 System.Diagnostics.SharedPerformanceCounter  
1975e498 0273e4b8 System.String    AppName[6276]  
1975e49c 0273eb28 System.Diagnostics.SharedPerformanceCounter  
1975e4a0 0273eab0 System.Diagnostics.PerformanceCounter  
1975e4a4 0273e4b8 System.String    AppName[6276]  
1975e580 023e1320 System.AppDomain  
1975e584 0273f000 System.UnhandledExceptionEventHandler  
1975e714 0273f000 System.UnhandledExceptionEventHandler  
1975e71c 023e1320 System.AppDomain  
1975e900 0273f040 System.UnhandledExceptionEventHandler  
1975e9d0 023e1320 System.AppDomain  
1975ec60 203e5b9c MyNameSpace.MyClass  
1975edd0 203e5b9c MyNameSpace.MyClass  
1975f01c 203e5b9c MyNameSpace.MyClass  
1975f03c 203e5b9c MyNameSpace.MyClass  
1975f048 203fa954 System.ComponentModel.RunWorkerCompletedEventHandler  
1975f04c 203f5b24 System.ComponentModel.BackgroundWorker  
1975f05c 203fa930 System.ComponentModel.EventHandlerList  
1975f060 0282eeec System.Threading.ContextCallback  
palm snow
  • 2,392
  • 4
  • 29
  • 49
  • Looks to me like you're analyzing the stack of a thread that crashed. AppDomain.UnhandledException is a strong indicator. And a common reason to look at a minidump. Otherwise objects created by the framework, not necessarily your code. – Hans Passant Jan 03 '12 at 17:56
  • that's correct, its a crashed app. Does it mean that app domain is here to report an unhandled exception? – palm snow Jan 03 '12 at 18:27
  • Yes, UnhandledException is an event of the AppDomain class. – Hans Passant Jan 03 '12 at 18:31
  • thanks, not sure how to mark this comment as answer – palm snow Jan 03 '12 at 18:42

0 Answers0