无法加载一个或多个断点 [英] Unable to load one or more breakpoints

查看:71
本文介绍了无法加载一个或多个断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Dot Net中打开源代码时,会出现以下消息:

无法加载一个或多个断点

首先显示该消息,然后单击确定消息然后它再次显示。当源打开时,我无法找到我放置的断点。请给我一个解决方案。

When I open the source code in Dot Net it arises the following message :
"Unable to load one or more breakpoints"
First shows the message and I click ok of the message then it shows again. When the source is opened I can't find the breakpoint that I put. Please give me a solution.

推荐答案

只需删除隐藏的.suo文件(启用以在视图菜单下方的顶部显示隐藏文件。)
Just remove .suo file which is hidden(Enable to show hidden file in top side under view menu.)


只是忽略这个问题。删除所有断点,然后在需要时添加。您只需设置一些断点,Visual Studio保存它们,但稍后您修改了代码或其他内容,可能在此Visual Studio会话之外,因此新的Visual Studio会话不知道如何应用已呈现为无效的断点信息。你几乎不能使用它们。但是,最有可能的是,您可以使用其他有效的断点(如果有的话)。当您修复它时,再次创建断点,关闭Visual Studio并再次打开它,您将看到断点已到位。



或者,在打开Visual Studio之前,您可以手动删除项目中不是源代码的所有内容:obj和bin子目录,全部* .user和* .suo。它将是所有不是来源并消除所有不一致的东西,但你不会有任何断点(不是很好吗?)。你应该使用一些修订控制系统,只存储纯源代码。



-SA
Just ignore the problem. Remove all breakpoints and add then when you need. You simply set some breakpoints, Visual Studio saved them, but later you modified your code or something else, probably outside of this Visual Studio session, so new Visual Studio session "doesn't know" how to apply breakpoint information which has been rendered invalid. You hardly can use them. However, most likely, you can use other, valid breakpoints, if any. When you fix it, create breakpoints again, close Visual Studio and open it again, you will see that breakpoints are in place.

Alternatively, before opening Visual Studio, you can manually delete everything in your project which is not your source code: "obj" and "bin" sub-directories, all *.user and *.suo. It will everything which is not the source and remove all inconsistencies, but you won't have any breakpoints (isn't it good?). And you should use some revision control system and store only pure source code in it.

—SA


这篇关于无法加载一个或多个断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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