Breakpoint acts weirdly

Encountered the break point issue in visual studio 2008, which says

The breakpoint will not currently be hit. The source code is different from the original version
Or, the IDE complains nothing, but the step command jumping between lines.

In my project, I encountered this issue in only a few files .

Well, the root cause is,** those files were mixed different line endings!**

So, the solution is very easy, save the files in a uniform line ending format, like windows (CR LF).