I’m trying to create a dump using windbg every time a specific clr exception is THROWN.
I know about !soe, but I don’t want the execution to stop, I just want it to create a dump.
Is this possible?
If it’s not possible using windbg, I’m also open to other recommendations on how to achieve this…
Try procdump. Maybe use the option “-e 1” to capture a dump on first-chance exceptions.
Edit:
For specific exceptions, you may need ADPlus. See this post for example.
More edits:
Also possible without ADPlus: In Windbg -> Debug -> Event Filters, set CLR exception to ignored – not handled. Click the Commands button and then enter the following (with your particular exception type of course):