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

I suddenly encountered this problem, and tried hundreds of solutions online and no one is helpful to me.
And finally I tried one that is useful:

in the tool-option--> debugging ---> general
*un-tick option : "require source files to exactly match to the original version"

Other solutions:

1."recompile/build the project before adding the break-point"

2.clean/rebuild

3.Build --> Configuration Manager ...and check if the project with the code you're trying to debug is checked for the current build configuration.

4...

posted @ 2012-07-18 09:34  Crazy Eric  阅读(2131)  评论(1编辑  收藏  举报