visual studio 2013 - Breakpoint in ASP.NET MVC Razor view will not be hit. No symbols have been loaded for this document -


i can't breakpoint in razor view hit in visual studio 2013 while debugging in iis express.

this view , unreachable breakpoint:

enter image description here

looking @ modules see latest pdb file has been loaded:

enter image description here

and folder

c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files\root\53ff8402\967c7053\assembly\dl3\f3c59a34\6698ffde_b452cf01 

has latest version of dll , pdf files:

itvizion.vizionlogs.weeklylogs.web.dll itvizion.vizionlogs.weeklylogs.web.pdb 

i have cleaned solution, wiped project's bin folder, restarted visual studio, etc still won't hit breakpoint.

what else can try?

can't believe guys... wasted 1 hour on this. trying debug wrong view in wrong path.

i set breakpoint in view:

c:\itvizion\vizionlogs\itvizion.vizionlogs.weeklylogs.web\views\error\servererror.cshtml 

but trying debug view:

c:\itvizion\vizionlogs\itvizion.vizionlogs.weeklylogs.web\views\shared\error.cshtml 

after placed breakpoint in correct view, although showed message breakpoint not hit, debugger hit breakpoint during runtime! :d


Comments

Popular posts from this blog

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -

c# - Unity IoC Lifetime per HttpRequest for UserStore -