第一次机会异常 - 长在内存位置? [英] First chance exception - long at memory location?

查看:108
本文介绍了第一次机会异常 - 长在内存位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是什么,以及如何处理/修复它?

  Program 0x6400fb727的第一次异常: 
Microsoft C ++异常:long在内存位置0x0018f7a4。

每次运行我的应用程序时,我会得到大约一千个。如何跟踪此问题并修复它

解决方案

在visual studio中,转到调试菜单并选择异常... 。打开所有的第一次机会异常处理程序(它们默认关闭)。



现在当你在调试器中运行时,它会在异常抛出的时候中断。 p>

What is this and how can I handle/fix it?

First-chance exception at 0x756fb727 in Program.exe:
Microsoft C++ exception: long at memory location 0x0018f7a4.

I am getting about a thousand of these each time I run my application. How can I track this down and fix it/

解决方案

In visual studio go to the Debug menu and select "Exceptions...". Turn on all the first chance exception handlers (they default to off).

Now when you run in the debugger it will break at the point the exception is thrown.

这篇关于第一次机会异常 - 长在内存位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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