views:

44

answers:

1

I'm facing problems when i try to debugging with Visual Studio 2010. My breakpoints don't work and gives the message: The breakpoint will not currently be hit. The source code is different then the original version

I've go to tools and enabled "Enable Just My Code" but now i get the message: Breakpoint will not currently be hit. No symbols loaded for this document

I've delete the obj folder, with no success. I've used the "Clean Solution", i've Rebuild Solution, and so on.

What should i do more to fix this?

Thanks

A: 

One of the projects it's debugging successfully. I've just changed the ports of Web Server.

But other project (i've changed the ports too) still doesn't work. The message of this one is: the breakpoint will not be hit. the source code is diferent from the original

Guilherme Cardoso
Well i've disabled the "Require Source files to exactly match the original version" and now it's debugging.But is this recommended? What difference makes to debugging?Thanks
Guilherme Cardoso