在Win7 HyperV VM上调试,获得“0xC0000096特权指令”的多个实例例外情况
当我调试在 Windows 7 Hyper V VM 上维护的大型应用程序(使用 VS2008)时,似乎一旦遇到断点,VS 就会不断抛出 0xC0000096 特权指令异常(或 0x00000005 访问冲突读取 0x03A6E7EB)。
断点设置在哪里似乎也不重要。我可以在安装了 VS2008 的 Win2k3 机器上做完全相同的事情,但永远不会出现这些错误。代码 &设置是相同的。当我第一次安装VS2008时编译&调试应用程序时,这些异常没有被抛出 - 它只是在几周后才开始发生。这是 Hyper V/虚拟机问题还是其他问题?
提供任何代码没有多大意义,因为它似乎与此无关,但如果需要更多信息,我会尝试提供它。
When I debug a large app (with VS2008) that I maintain on a Windows 7 Hyper V VM, it seems that once I hit a breakpoint, VS constantly throws 0xC0000096 Privileged instruction exceptions( or 0x00000005 Access violation reading 0x03A6E7EB).
It doesn't seem to matter where the breakpoints are set either. I can do exactly the same things on a Win2k3 box with VS2008 installed, but never get these faults. The code & the settings are the same. When I first installed VS2008 & compiled & debugged the app these exceptions weren't being thrown - it only started happening after a couple of weeks. Is this a Hyper V/virtual machine issue or what?
There's not much point supplying any code as it seems independent of that, though if any more info is needed I'll try to supply it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的答案可能在这里: 调试命令(step over/into)导致未处理异常
取消选中“工具”->“选项”->“调试”->“本机”中的“启用 RPC 调试”选项
Your answer may be here: Debugging commands (step over/into) cause unhandled exceptions
Uncheck the "Enable RPC Debugging" option in Tools->Options->Debugging->Native