开发者

C#: How to log stack trace of AccessViolationException before application crash?

I have some unsafe methods may throw Acces开发者_运维问答sViolationException, it will stop at the line of code with debugger attached. but if run the application without debugger, the application just crashes, cannot log the stack trance to file.

Is there any way to find out which line causes the exception?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜