I recently started having problems with breakpoints in Visual Studio 2010. When I set a breakpoint and then start debugging, another breakpoint appears on some other line ne
I suspect it is because of mismatched newline endings. I had similar issue - multiple lines were marked as breakpoint location (say, 10 lines). Later I found it was because of only \n
or \r
present, instead of CRLF
sequence.
Use Save-As, select Save With Encoding..
option under Save
button in SaveAs
dialog box.