I'm debugging a production service which is at rare instances is throwing AppDomainUnloadedException. The ex开发者_JS百科ception contains no stacktrace or any kind of useful information about why it happens. So want to attach windbg and only break when AppDomainUnloadedException is thrown and not any other clr exception.
Is this possible?
You're look for the !soe
command (Stop On Exception) syntax should be something like:
!soe System.AppDomainUnloadedException 1
精彩评论