例外代码:0X40000015问题 [英] Exception Code: 0X40000015 Problem

查看:595
本文介绍了例外代码:0X40000015问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有C#应用程序,有时会因未处理的异常错误而崩溃。

我无法复制此错误。事件查看器在应用程序级别显示错误如下。



Hi,

I have C# application, which is sometime crashes with unhandled exception error.
I can not duplicate this error. Event viewer shows error as following at application level.

Faulting application name: Master Trade.exe, version: 1.0.0.0, time stamp: 0x537582f8
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1116
Exception code: 0x40000015
Fault offset: 0x0000c41f
Faulting process id: 0x13f0
Faulting application start time: 0x01cf7108f0937abe
Faulting application path: C:\Users\Administrator\Desktop\Debug\Master Trade.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: c8e91d94-dcfe-11e3-8822-00259068fb31





我在我的每个部分都使用了try catch语句用于捕获此错误的代码。如果知道错误没有尝试catch,Visual Studio调试器应该弹出这个错误的详细信息&位置。



我应该怎么做才能找出这个错误的根本原因?请告诉我。



谢谢



I have used try catch statement on every part of my code to catch this error. If it is known error without try catch, visual studio debugger should have pop up this error with details & location.

What should I do to go to the root cause of this error? Please let me know.

Thanks

推荐答案

在调试器中运行它,但首先,转到调试菜单。

单击例外...并在结果对话框中确保每个框中都有一个勾号:投掷和未处理(如果两者都有)列,你可能不会,如果你正在运行64位应用程序)

按OK。

现在尝试运行你的应用程序 - 它应该打破每个异常,让你看看在堆栈跟踪中,希望能找出你编写的导致它的代码!
Run it in the debugger, but first, go to the "Debug" menu.
Click on "Exceptions..." and in the dialog that results make sure there is a tick in every box: "Thrown" and "Unhandled" (if you have both columns, you may not if you are running a 64 bit app)
Press OK.
Now try running your app - it should break on every exception which will let you look at the stack trace and hopefully work out what code you wrote that caused it!


这篇关于例外代码:0X40000015问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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