开发者

When using windbg is there a way to break on a specific CLR exception

开发者 https://www.devze.com 2023-03-23 10:54 出处:网络
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

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
0

精彩评论

暂无评论...
验证码 换一张
取 消