After updating to vs2017.3, the breakpoints will not be hit

假装没事ソ 提交于 2019-12-05 01:38:35

Try to clear/delete all breakpoints from the Debug menu, choose Delete All Breakpoints.

Note: The reason is that it refreshes your Visual Studio setting file of your project.

I lost 30 minutes reading and trying solutions. My case was completely different and the solution was very easy. I just had to change the project to Debug. I do not know how the value changed to Release. With VS2017, right click on the solusion then / properties / Configuration properties / Configuration, change the projects to Debug.

saujan rajbhandari

Please check if there is Release Mode set in solution configuration. For break points it should be in Debug Mode.

For me I needed to untick "Require source files to match original versions ..." in Options, Debugging.

Another solution that worked for me and was not listed here was the following:

  1. Open the modules window via Debug > Windows > Modules (or press Ctrl + Alt + U)
  2. Look for your project and check the status (probably says 'Not Loaded')
  3. Right click the project and click load symbols, from here you will have to specify the location of the .pdb file from which to load the symbols.

Boom! You should be able to set breakpoints once again!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!