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

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

问题描述

我在 64 位版本的 Vista 上使用 Visual Studio 2008.在我的程序在我的一个断点处停止后,如果我的应用程序抛出非法指令异常或访问冲突异常,我将无法跨步或进入当前行.如果我右键单击下一行并选择运行到这里"(相当于跳过"),它就可以正常工作.

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,我想知道您是否解决了这个问题(因为我在 64 位 Win7 上的 VS2005 和 VS2008 也有这个问题)?

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.

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

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