开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜