The breakpoint will not currently be hit. The source code is different from the original version

在visual studio 2008 中编译项目,但是这个断点老是触发不到 ,googled 相关的文章:

http://stackoverflow.com/questions/2014734/debugging-x86-net-application-on-windows-x64

Windows 7 sets Windows Xp sp 3 compatibility mode for VS 2008 by default. Changing compatibility to Windows Vista SP2 mode have solved trouble.

解决方法:

将visual studio 2008的兼容性设置成Windows Vista SP2。

你可能感兴趣的:(version)