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

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-03-18T10:01:22Z Indexed on 2010/03/18 10:11 UTC
Read the original article Hit count: 364

Filed under:
|
|
|
|

Hi everyone

I'm really hoping someone can help me out with this one. When debugging in Visual Studio, sometimes I add a breakpoint but it's hollow and VS says "The breakpoint will not currently be hit. The source code is different from the original version." Obviously this prevents me being able to debug.

What on earth does the message mean? What original version? If I've just opened up the solution and not made any changes whatsoever to the code, how can there be an 'original version'?

The appearance of this problem just seems totally arbitrary. It's just Visual Studio going 'Na na na na na, I'm not going to debug for you today'.

Can anyone give any advice?

Ta

David

© Stack Overflow or respective owner

Related posts about .NET

Related posts about visual