visual studio 2010 - How can I find out what debugger is attached to w3p.exe -


i'm trying setup debugging on class asp project in vs 2010, , in doing trying attach it's debugger w3p.exe. i'm using windows 7 64-bit , iis 7.5. i've used method few times before on machine.

however, i'm finding time unable attach debugger. it's saying:

unable attach process. debugger attached. 

but can't figure out might be. how can determine this? or else? i've rebooted pc , can't yet see signs of running looks debugger.

setup

in case helps, here's steps used setup environment, documented previous successful attempts:

  • created new empty visual basic .net web (best create in c:\inetpub\wwwroot\, otherwise have security/acl issues when loading site).
  • copied contents of site folder project folder.
  • in solution explorer, selected show files not in project. selected files , right click , select: "include in project".
  • under project properties -> web -> set use iis , start url http://mysite.local
  • in hosts file pointed mysite.local 127.0.0.1
  • in iis setup new website pointing files host header of mysite.local
  • go application pools, ensured mysite.local set classic mode. no managed code.
  • under asp -> enable parent paths , make sure server-side debugging enabled
  • under error pages, make sure full details shown.

debugging in visual studio 2010

  • run vs 2010 administrator
  • in project, use ctrl+f5 run without debugging
  • now, in menu go debug -> attach process -- fail
  • tick show processes users , show processes in sessions
  • make sure set automatically determine type of code debug
  • look through w3p.exe processes in list, , based on iis pool\site name, pick right process.
  • set breakpoints , refresh -- debug normal.

are having debug diagnostics tool running on machine. had same problem debug diagnostics tool debugging w3p process.


Comments

Popular posts from this blog

c++ - End of file on pipe magic during open -

basic authentication with http post params android -

data.table making a copy of table in R -