visual studio 2010 - Why can't I debug my asp.net web project anymore? -


something has changed in asp.net web project... used able debug. breakpoints being ignored. checked web.config, , says:

<compilation defaultlanguage="c#" debug="true" targetframework="4.0"> 

so seems in order. else might messing debug environment?

edit: should mention when run console app, breakpoints work fine. it's when run web app breakpoints don't happen.

this happens when i'm debugging using iis. if use vs dev server, breakpoints work!

if have upgraded solution / project .net 4.0, code type when select debug may still 'managed (v2.0, v1.1, v1.0)' , not 'managed (v4.0)' meaning breakpoints not hit.

when choose "debug > attach process" in visual studio before selecting process e.g. "w3wp.exe", click 'select' button of 'attach to' section , select 'managed (v4.0)' option.

hope helps.

enter image description here


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -