Is there a way to log or intercept First Chance Exceptions

前端 未结 3 1168
抹茶落季
抹茶落季 2020-12-19 05:10

Short of using a profiler, is there any way inside a running program to detect first chance exceptions? Ideally, I would like to record more detailed state information that

3条回答
  •  既然无缘
    2020-12-19 05:34

    Use Adplus. It will attach a debugger to the proccess, and generate (by default) a small minidump when first chance excpetion are raised. Adplus generated log file will also contain exception info. Just make sure you have PDB's aviable to see full calstack info.

提交回复
热议问题