The breakpoint will not currently be hit. The source code is different from the original version.
Posted on 2009-07-02
I'm using Visual Studio 2008 + Window XP.
There are 2 projects in my solution. 1st for main project. 2nd for unit test.
I'm trying to debugging and found that break point doesn't work and and pop up the detail as below:
"The breakpoint will not currently be hit. The source code is different from the original version."
I have checked all the properties and they are all in debug mode. Also already try to clean solution rebuilt, restart VS, restart computer, delete pdb file in debug folder and still doesn't work. In release mode breakpoint works. In debug mode breakpoint doesn't work. It is so weird. :(
What I observe is ...
I have a button and caption is "XXX" and I use this sentense to change the button's name.
If I change to release mode and rebuilt. The text will change from "XXX" to "Delete Component"
If it is still in debug mode and rebuilt. The text will still remain "XXX".
Please kindly help.
Thank you very much in advance. :)