razor debugging break points not working no symbols have been loaded
Hello.
I'm not getting debugging to work in Visual Studio 2013 community edition. I'm trying to debug a razor view template. I get this error: "the breakpoint will not currently be hit. No symbols have been loaded for this document". I've tried to clean the solution and I've rebooted my machine.
Oh, I got it fixed. Break points are working, but visual studio stopping on an error still doesn't work (not so bad for me). Not sure why this works, but here are my two code snippets:
razor debugging break points not working no symbols have been loaded
Hello.
I'm not getting debugging to work in Visual Studio 2013 community edition. I'm trying to debug a razor view template. I get this error: "the breakpoint will not currently be hit. No symbols have been loaded for this document". I've tried to clean the solution and I've rebooted my machine.
Any ideas?
Leon
Oh, I got it fixed. Break points are working, but visual studio stopping on an error still doesn't work (not so bad for me). Not sure why this works, but here are my two code snippets:
Not Working:
Changed to this and then debugging break point started working again:
Looks like the debugger won't kick in if there are certain obvious errors?
Leon
is working on a reply...