break point is not hitting while debugging

前端 未结 7 1542
梦如初夏
梦如初夏 2021-01-03 00:12

Possible exact duplicates:

Reason for VS.NET ‘current breakpoint will not be hit’ warning?
Why does Visual Studio sometimes not go t

相关标签:
7条回答
  • 2021-01-03 00:36

    Some times this occurs if the sourcecode is been copied from the network folder, it messes up the symbol settings. Below solution works for me everytime

    • In debug mode, select debug->windows->modules
    • Check your dll symbolStatus . Make sure that it is loaded into the project (i am sure now the status is not loaded )
    • Right click your dll, click symbol settings.
    • And manually add your symbol path (.pdb file path)
    • And again right click the dll, and click load symbols

    Hope this helps

    0 讨论(0)
提交回复
热议问题