How can some code be run each time an exception is thrown in a Visual C++ program?

前端 未结 6 707
清歌不尽
清歌不尽 2020-12-18 08:16

If an exception is thrown in a C++ program control is either transferred to the exception handler or terminate() is called.

Even if the program emits so

6条回答
  •  执念已碎
    2020-12-18 08:55

    This is a great article on how to catch all different types of exceptions in Visual C++.
    It also provides you with a crash dump that comes useful for debugging.

提交回复
热议问题