Visual Studio 2015社区调试断点

编程入门 行业动态 更新时间:2024-10-23 15:19:06
本文介绍了Visual Studio 2015社区调试断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的断点一直运行良好,直到今天当代码运行时它们不再被击中.有什么办法吗?

Chandrasekharan Kunnath

My break points were working perfectly until today when they stopped being hit when the code runs. Any solution?

Chandrasekharan Kunnath

推荐答案

Hi Kunnath Chandrasekharan,

Hi Kunnath Chandrasekharan,

首先,请清理您的解决方案并重新构建,然后尝试使用F5进行调试,以检查是否会遇到断点.有时,如果更改了调试代码,但您不重建它,则断点将不会被击中.

First, please clean your solution and rebuild it again, then try debug it with F5 to check whether the breakpoint will be hit. Sometimes, if the debug code is change but you don't rebuild it, the breakpoint won't be hit.

然后,请创建一个新项目并添加断点,以检查它们是否可以在新项目中被击中.如果可能被击中,则此问题应与您的项目有关.请清除您的.suo文件并重建它.您也可以复制原件 项目文件移至新项目并重建.

Then please create a new project and add breakpoints to check whether they could be hit in new project or not. If could be hit, this issue should be related to your project. Please clear your .suo file and rebuild it. And you also could copy the original project files to the new project and rebuild.

如果新项目也无法找到,恐怕您的Visual Studio环境有任何问题.请尝试执行以下步骤来解决此问题.

If new project also could not be hit, I'm afraid that there has any problems on your Visual Studio environment. Please try with following steps to troubleshoot this issue.

  • 检查是否已为Visual Studio安装了任何VS软件包.您可以在以下位置运行Visual Studio 安全模式,以防止在Visual Studio启动时加载所有第三方VSPackage,从而确保稳定的执行.
  • 检查是否已从控制面板"中为Windows安装了任何更新->程序和功能->已安装的更新.
  • 通过工具->重置所有Visual Studio设置.导入和导出设置->重置所有设置.
  • Check whether you have installed any VS packages for your Visual Studio. You could run your Visual Studio in safe mode to prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution.
  • Check whether you have installed any Updates for your Windows from Control Panel -> Programs and Features -> Installed Updates.
  • Reset all Visual Studio settings through Tools -> Import and Export settings -> Reset all settings.
  • 最好的问候, 威威

    Best Regards, Weiwei

    更多推荐

    Visual Studio 2015社区调试断点

    本文发布于:2023-11-08 13:41:34,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1569530.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:断点   社区   Visual   Studio

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!