How to log all thrown exceptions?

前端 未结 8 2073
一个人的身影
一个人的身影 2020-11-29 07:55

How to log any exceptions that were thrown and catched? Something like Visual Studio\'s IntelliTrace do. Or is there a way to integrate InteliTrace into debug version of app

8条回答
  •  心在旅途
    2020-11-29 08:59

    You could attach a debugger, like WinDbg, to your process, and get it to break on any first chance CLR exceptions; this will include exceptions in the third party library. See here for an example of how to do this.

提交回复
热议问题