adplus

First chance vs Second chance exception

半腔热情 提交于 2019-12-01 09:14:14
When I generate a dump file using ADPlus, I get both First chance and second chance exception but when I use task manager for generating dump file, I only get once dump file. Is it the second chance exception? I am bit confused about this 1st and 2nd chance exception anyways even though i have read a little bit about it. May be if someone can provide some good analogy, that might clear up things for me See here: http://blogs.msdn.com/b/davidklinems/archive/2005/07/12/438061.aspx In short, First chance exception gives the debugger a first chance to inspect the exception and application state

Help catching StackOverflowException with WinDbg and ADPlus

有些话、适合烂在心里 提交于 2019-11-28 20:37:58
Short Version I want an ADPlus script that will do a full memory dump on the first-chance StackOverflowException, before anything is cleaned up, and ignore all other exception types. Log Version After a release of new ASP.NET code, we started getting intermittent StackOverflowExceptions. We've looked for infinite recursions and all the usual suspects in the revisions added since the last known good install, and can't find anything. The website will run for up to an hour, and then crash down. We've used WinDbg and SOS and attempted to get crash logs using ADPlus, using this command: adplus