未处理的Win32异常 [英] Unhandled Win32 exception

查看:366
本文介绍了未处理的Win32异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在运行时,当myApp.exe崩溃时,我收到未处理的Win32异常,但是如何知道发生了哪个异常?哪里出了问题?

At runtime, when myApp.exe crashes i receive "Unhandled Win32 exception" but how would i know which exception was occurred? where did something went wrong?

推荐答案

对于本机C ++应用程序,请参阅我之前的答案:在Windows上检测/重定向核心转储(软件崩溃时)

For a Native C++ app see my earlier answer here: Detect/Redirect core dumps (when a software crashes) on Windows for catching the unhandled exception (that also gives code for creating a crash dump that you can use to analyse the crash later. If the crash is happening on a development system then in Visual Studio (I'm assuming you're using that, if not other IDEs will have something similar), in Debug/Exceptions tick the 'Thrown' box for 'Win32 Exceptions'.

这篇关于未处理的Win32异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆