Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I always have to clean my solution after I make a change in order for breakpoints to be hit?

I have had the issue that I have to always clean then build my solution after I make a change in order for breakpoints to be hit?

It only happens in a certain project and as far as I can tell my other projects have the same setup. I am using Vs13 and coding in c#.

I receive an error saying that the pages are different to source and cannot be debugged.

Am I incorrect in saying that with minor changes simply hitting F5 will build my changes and run with debugging?

I have been searching for a while for a solution any help would be awesome :).

like image 947
Spaceman Avatar asked Jan 24 '26 03:01

Spaceman


1 Answers

It's saying that because the source code has to be built to reflect your new changes. The debugger can't match up the built code with the source

like image 62
TGH Avatar answered Jan 25 '26 16:01

TGH