Visual Studio 2008中 - 断点不能打 [英] Visual Studio 2008 - The breakpoint cannot be hit

查看:311
本文介绍了Visual Studio 2008中 - 断点不能打的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道很多人都有过这样的问题......但我现在有它并不能解决这个问题。 VS 2008是随机给我的一个项目工作周后错误。当我设置一个调试点,我得到一个警告:断点目前不会受到打击。无符号已加载此文件。

I know that many people have had this problem... but I am now having it and cannot solve the issue. VS 2008 is randomly giving me an error after working on a project for weeks. When I set a debug point, I get a warning: The breakpoint will not currently be hit. No symbols have been loaded for this document.

我已经重新修建,没有调试点并重新尝试了解决方案。我也试图从道路载荷符号并没有奏效要么...能有人帮我走通过必要的步骤来让我的调试功能再次合作。

I have re-built the solution with no debug points and re-tried. I have also tried to Load Symbols from path and that has not worked either... Can someone please help walk me through the necessary steps to getting my debug function working again.

感谢。

推荐答案

1)是否创建一个新的项目工作?如果是这样,你有损坏的地方设置。移动你的文件到您的新项目将解决您的问题最简单的方法。

1) Does creating a new project work? If so, you have a corrupted settings somewhere. Moving your files over to your new project would be the easiest procedure to resolve your issue.

2)不把你的解决方案到另一台电脑的工作?如果是这样,那么你必须用你的环境问题。

2) Does taking your solution to another PC work? If so, then you have an issue with your environment.

请按顺序尝试这些检查:
1)选择您的配置管理器,检查你的CPU是任意或86,或根据您的硬件64。

Try these checks in order: 1) Select your Configuration Manager, check if your CPU is "Any" or your "x86" or "x64" depending on your hardware.

2)尝试删除所有调试相比其他其他配置。添加基于您调试一个新的配置和CPU的任何

2) Try remove all the other configuration other than Debug. Add a new Configuration based on your Debug and the CPU as Any

3)大的动作..关闭Visual Studio和运行以下

3) Drastic move.. close your visual studio and run the following

devenv /ResetSettings 

4)更激烈的举动...

4) Even more drastic move...

devenv /Setup

好运气

这篇关于Visual Studio 2008中 - 断点不能打的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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