2014年2月28日 星期五

[Visual Studio] The Breakpoint will not be hit. No Symbols have been loaded for this document.

Situation:

Break point is invalid and I got message below if mouse over it.
The Breakpoint will not be hit. No Symbols have been loaded for this document.


Solution:
Right click on project -> properties -> Configuration Properties -> C++ -> General -> Debug Information Format
Set to Program Database for Edit And Continue (/ZI)


Reference:
http://stackoverflow.com/questions/8341686/visual-studio-no-symbols-have-been-loaded-for-this-document



沒有留言:

張貼留言