简体   繁体   English

在 Visual Studio 2019 中设置但尚未绑定的断点

[英]Breakpoint set but not yet bound in Visual Studio 2019

I am running a web project(as startup) project in Visual studio 2019 and getting this error while hovering on the breakpoint:我在 Visual Studio 2019 中运行 web 项目(作为启动)项目,并在断点上悬停时出现此错误:

The breakpoint will not currently be hit. Breakpoints set but not yet bound.

I tried many recommended solutions like我尝试了许多推荐的解决方案,例如

  1. clean and rebuild清理并重建
  2. Set the startup project设置启动项目
  3. Deleted temp files and rebuild删除临时文件并重建
  4. update and restart system etc..更新和重新启动系统等。

None of the above solution worked for me.上述解决方案都不适合我。 Also my solution properties and project configuration is already in debug mode->Any CPU It's almost impossible to go ahead without debugging code.此外,我的解决方案属性和项目配置已经处于调试模式->任何 CPU 如果没有调试代码,几乎不可能提前 go。 Help will be highly appreciable.帮助将是非常可观的。 Please suggest.请建议。

Here is the image of code with breakpoint https://i.stack.imgur.com/YZVOO.png这是带有断点https://i.stack.imgur.com/YZVOO.png的代码图像

Thanks in advance!提前致谢!

I got it resolved by closing solution, manually deleting obj/release/debug folder and rebuilding it.我通过关闭解决方案、手动删除 obj/release/debug 文件夹并重建它来解决它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM