“调试器不能继续运行进程”。 [英] "The debugger cannot continue running the process."

查看:182
本文介绍了“调试器不能继续运行进程”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在搞乱VS 2010的调试设置,试图进入.NET Framework的工作。嗯,我不能让它上班。我也尝试过Reflector VS插件,这是一个工作。

I've been messing with VS 2010 debugging settings, trying to get stepping into the .NET Framework working. Well, I can't get it to work. I've also tried the Reflector VS plugin and that was working at one point.

然后我随机开始得到这个错误:

Then I randomly started getting this error:

当我在调用 IEnumerable< T> .ToList()的行上有一个断点时,才会发生这种 。如果我尝试在我的断点设置的那一行跳过或进入,我得到这个错误对话框,我的调试会话结束。

This only happens when I have a breakpoint on a line that calls IEnumerable<T>.ToList(). If I try to step-over or step-into on that line where my breakpoint is set, I get this error dialog and my debugging session ends.

如果我移动断点到下面的行,调试器使它超过 ToList() call!

If I move the breakpoint to the line below, the debugger makes it past the ToList() call!

我已经尝试以下无效:


  • 删除反射器插件。

  • 撤消我在工具中的更改>选项>调试窗口(取消选中进入.NET Framework的选项;取消选中源服务器选项;检查我的代码选项)。

  • 工具>选项中未选中的Microsoft源代码服务器>调试>符号窗口

  • 清除符号缓存。

  • Removing the Reflector plugin.
  • Undoing my changes in the Tools > Options > Debugging window (unchecked the option to step into the .NET Framework; unchecked the source server option; checked the just my code option).
  • Unchecked Microsoft Source Server in the Tools > Options > Debugging > Symbols window.
  • Cleared the symbol cache.

发生了什么?

推荐答案

因为这是我找到答案的第一个地方,我会添加我发现的内容。

Because this was the first place I came to when I searched for an answer, I'll add what I found out.

在我的情况下,我将调试器设置在解决方案中以启动多个好的项目。由于某些原因,此设置已被Visual Studio更改,因此没有项目启动。纠正解决方案中的设置立即解决了这个问题。

In my case, I had the debugger set up in the solution to start multiple projects. For some reason this setting was changed by Visual Studio so that no project was starting. Correcting the setting in the solution immediately solved the problem.

问题不难解决,但错误信息有点刺激。

The problem was not difficult to solve, but the error message was more than a bit irritating.

这篇关于“调试器不能继续运行进程”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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