在Windows调试程序选项7 [英] Debug Program option in Windows 7

查看:206
本文介绍了在Windows调试程序选项7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到,在Windows 7中,不像XP中,如果一个程序崩溃,我调试在Visual Studio 2008中,我没有得到调试程序的选项。相反,它只是说,程序崩溃和微软正在寻找一个解决方案。

I noticed that in Windows 7, unlike XP, if a program crashes that I am debugging in Visual Studio 2008, I don't get the option to Debug the program. Rather, it just says that the program crashed and Microsoft is looking for a solution.

现在,如果我的程序抛出一个异常,我无法返回到调试会话在VS 2008中,程序只是退出。有没有解决的办法吗?

Right now, if my program throws an exception, I can't return back to the debugging session in VS 2008, the program just quits. Is there a way around this?

编辑: 这里是旧调试窗口看起来就像在XP,但我不能让这个在Win7和现在不能调试我的程序:

Here is what the old debug window looked like in XP, but I can't get this in Win7 and can't debug my program now:

推荐答案

我看到,如果你点击发送错误MS,它终于给你一个调试选项。

I see that if you click to send the error to MS, it finally gives you a Debug option.

另外,如果你进入控制面板 - >操作中心 - >更改操作中心设置 - >报告问题设置和改变无线电选择以每出现问题的时候,问我检查解决方案之前,你得到的调试选择的时候了。

Also, if you go into Control Panel->Action Center->Change Action Center Settings->Problem Report Settings and change the radio selection to "Each time a problem occurs, ask me before checking for solutions" you get the Debug option right away.

我注意的一大问题是,它不会与已经连接调试器调试。它使你创建在VS 2008中新的调试器实例,然后抱怨已经有附加调试器...

One big issue I notice is that it won't debug with the debugger that is already attached. It makes you create a new debugger instance in VS 2008 and then complains there is already a debugger attached...

这篇关于在Windows调试程序选项7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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