Visual Studio “Debug Unit Test” fails to hit breakpoints

前端 未结 11 2012
天涯浪人
天涯浪人 2020-12-17 07:28

When using Visual Studio 2008 and debugging my unit tests... sometimes the debugger works fine. However very often after modifying some code then clicking \"Debug Unit Test\

11条回答
  •  醉梦人生
    2020-12-17 08:14

    I just had a problem hitting breakpoints in VS2015.

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

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

提交回复
热议问题