开发者

Why Visual studio can not debug when multiple IE opened

If i have multi开发者_如何学运维ple IE opened before i debug my application and when the application runs on IE and if i have a debug point in my application why it is not coming to debug the application. How can i resolve this


If your application is using the ASP.Net Web Server then your url will be something like http://localhost:1234, if this is the case then you could attach to the process from VS under Debug/Attach to Process....

If it's running under IIS (i.e. http://localhost/myapp/) then you would need to attach to the Worker Process which in IIS 5 I think is aspnet_wp.exe and in IIS 6/7 would be w3wp.exe, please note in IIS 6/7 if you have multiple apps running under different pools you will need to use the relevant w3wp.exe process as there may be more than 1, you can usually identify the correct one under the User Name field in the Available Processes grid.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜