Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I use Visual Studio 2010 to debug a asp.net MVC project in my local machine. The steps are:

Click Debug and try to attch process "w3wp.exe". However it is not in the list.

I am sure "Show processes in all sessions" is clicked.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
488 views
Welcome To Ask or Share your Answers For Others

1 Answer

w3wp.exe won't show in the running process' unless there is actually an instance of the web application running.

Try to access your web page first, when it is displayed for the first time, try to attach your debugger. The process should now show up.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...