且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio“调试单元测试”未能达到断点

更新时间:2023-12-06 13:08:22

我在VS2015中遇到断点时遇到问题。

I just had a problem hitting breakpoints in VS2015.

我一直在使用称为Debug的解决方案配置,但由于某种原因,我的解决方案是设置为构建发行版。

I am always using the solution configuration called Debug but for some reason my solution was set to build the Release version.

在Visual Studio顶部的下拉列表中从发行版切换到调试,解决了我的问题。

Switching from Release to Debug in the dropdown at the top of Visual Studio fixed my problem.