即时调试器使我无法在Visual Studio中进行调试 [英] Just in time debugger preventing me from debugging in Visual Studio

查看:68
本文介绍了即时调试器使我无法在Visual Studio中进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在网上看到了类似的问题,但找不到解决方法.
我正在用Visual Studio编程.最近,我在新计算机上安装了它,现在它的行为有所不同.以前,每当我遇到未处理的异常时,它将一直抛出到Program.cs,IDE会在该处捕获它,并在一个窗口中将其显示给我,以说明消息及其在代码中的位置.那很舒服.
现在,实时调试器"窗口弹出,并通知我我有未处理的异常.然后它询问我是否要使用Visual Studio对其进行调试.如果我拒绝,程序将中断并且看不到异常.如果我说是",那么JiT会抱怨该程序附加了另一个程序(很显然是我用来编程的Studio),并且它无法调试.
真烦人我试图从工具"->选项"菜单中禁用JiT,但是当出现异常时,程序只会抱怨没有JiT并中断.

有谁有主意吗?

非常有义务
d

Hi,

I''ve seen similar problems answered on the net, but could not find a solution.
I am programming with Visual Studio. Recently I have installed it on a new computer, and now it behaves differently. Before, whenever I had an unhandled exception, it would be thrown all the way up to Program.cs, where the IDE would catch it and show it to me in a window stating the message and the place in the code where it originated. That was very comfortable.
Now the Just-in-Time debugger window pops up and informs me that I have an unhandled exception. Then it asks me whether I would like to use Visual Studio to debug it. If I say no, the program breaks and I can''t see the exception. If I say yes, the JiT complains that another program (obviously the Studio I use to program) is attached to the process and it cannot debug.
This is annoying. I tried to disable JiT from the Tools->Options menu, but then when there is an excpetion the program just complains that there is no JiT and breaks.

does anyone have an idea?

much obliged
d

推荐答案

如果在IDE的调试器中运行它,JIT调试器将无法启动.这样,您将获得所有的
If you run it under the debugger from the IDE, the JIT debugger won''t kick in. That way, you''ll get all of your exceptions handed to you.


或者也许我需要在这里回答...

谢谢回复.当然,我是从IDE调试器运行它的,否则我不会期望它会捕获我的异常.但是,JIT调试器仍会拦截它们.有没有人遇到过这个问题,或者有解决方法的想法?
Or maybe I need to answer here...

Thanks for the reply. Of course I am running it from the IDE debugger, or I wouldn''t expect it to catch my exceptions. But still, the JIT debugger intercepts them. Has anyone encountered this, or has an idea how to solve it?


这篇关于即时调试器使我无法在Visual Studio中进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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