Third-party dll crashes program with no exception thrown

前端 未结 4 1317
萌比男神i
萌比男神i 2021-02-09 07:19

I am using Visual Studio 2010, and coding in C#. I have a third-party dll that I am using in my project. When I attempt to use a specific method, at seemingly random occasions,

4条回答
  •  一向
    一向 (楼主)
    2021-02-09 07:37

    Try to force the debugger to catch even handled exceptions - especially the bad ones like Access Violation and Stack Overflow. You can do this in Debug -> Exceptions. It is possible that the third-party DLL catches all exceptions and then calls exit() or some similar beauty which quits the whole program.

提交回复
热议问题