调试命令(跳过/进入)导致未处理的异常 [英] Debugging commands (step over/into) cause unhandled exceptions

查看:298
本文介绍了调试命令(跳过/进入)导致未处理的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2008在64位版本的Vista。在我的程序在我的一个断点上停止后,我不能跳过或进入当前行,没有非法指令异常或访问冲突异常抛出我的应用程序。如果我右键点击下一行并选择Run to here(相当于跳过),它工作正常。

I'm using Visual Studio 2008 on a 64-bit version of Vista. After my program stops on one of my breakpoints, I can't step over or into the current line without either an Illegal Instruction exception or an Access Violation exception being thrown by my application. If I right-click on the next line and choose "Run to here" (equivalent to "Step over"), it works fine.

补充:没有什么任何观看窗口。

Addendum: there is nothing in any watch windows.

此外,我忘了提及:如果我附加到过程,一切都很好。

Also, here's something I forgot to mention: if I attach to the process, everything works just fine.

以前有人遇到这个问题吗?

Has anyone run into this problem before?

推荐答案

Mos,我想知道你是否解决了这个问题我也有它VS2005和VS2008在64位Win7)?

Mos, I was wondering have you resolved this problem (since I also have it with VS2005 and VS2008 on 64-bit Win7)?

编辑:取消选中工具/选项/调试/本机/启用RPC调试 ,似乎是答案。

"Uncheck Tools/Options/Debugging/Native/Enable RPC debugging" was suggested in comment, and seems to be the answer.

这篇关于调试命令(跳过/进入)导致未处理的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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