views:

185

answers:

6

When I press F5, my web application starts up and runs, but the visual studio debugger is not attached to the process. The play button is always enabled.

I checked the configuration manager and all the libraries and web apps are debug|any-cpu.

A: 

check for the option:

Property Pages (right click project) -> Start Options -> Debuggers -> ASP.Net

must be checked to enable debugger on your web pages.

najmeddine
Yes, this is checked
Paul Knopf
+1  A: 

You can also run your web application outside of Visual Studio, then select Debug->"Attach to process". In the process list, choose the ASP.NET working process, "asp_wp.exe".

Buggieboy
if you're using Windows Vista or Windows 7, the process will be named 'w3wp.exe'
Anthony Shaw
A: 

Have you set

<compilation debug="true"/>

On your web.config file?

Doron Yaacoby
Yes, this value is set.
Paul Knopf
A: 

If you are using ie8 plz check out this article

http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx

deostroll
A: 

Check if all debugging symbols are set on, also see in which folder do you have your dll, lib or bin

Rachel
A: 

Try cleaning your solution. You might also blow away everything in the bin directory that your application is compiling to. Then rebuild the whole solution.

RepDetec