如何在Windows 10 / IIS 10上附加到IIS进程(w3wp.exe)? [英] How to attach to IIS process (w3wp.exe) on Windows 10/IIS 10?

查看:413
本文介绍了如何在Windows 10 / IIS 10上附加到IIS进程(w3wp.exe)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 8.1中使用Visual Studio 2013,我已经习惯通过附加到运行应用程序池的w3wp.exe进程来调试IIS中托管的应用程序。

Using Visual Studio 2013 in Windows 8.1, I've been used to debug applications hosted in IIS by attaching to the w3wp.exe process running the Application Pool.

从8.1升级到10后,即使选中了显示所有用户的进程复选框,我也无法在附加到进程对话框中看到任何w3wp.exe进程。

After upgrading from 8.1 to 10, I can no longer see any w3wp.exe processes in the Attach to Process dialog even if the Show processes from all users checkbox is checked.

IIS 10中应用程序池的进程名称是什么?也许还有另一种在Windows 10中调试IIS应用程序的方法?

What is the process name for application pools in IIS 10? Maybe there's another way to debug IIS applications in Windows 10?

更新:
问题是所有w3wp.exe进程都有停止。只需通过浏览器点击URL再次启动w3wp.exe进程,我就可以像往常一样进行调试。

UPDATE: The issue was that all w3wp.exe processes had stopped. Simply hitting the URL by a browser again started the w3wp.exe process, and I was able to debug as usual.

推荐答案

某些原因所有w3wp.exe进程都已停止。我只是回收了应用程序池并刷新了浏览器窗口并启动了w3wp.exe并正常显示在Attach to Process对话框中。

For some reason all w3wp.exe processes had stopped. I just recycled the app pool and refreshed the browser window and w3wp.exe started and showed up in the Attach to Process dialog as normal.

我不确定如果这是一个与IIS 10相关的问题,但我从未在早期版本的IIS中遇到过这种情况。

I don't know for sure if this is an IIS 10 related issue, but I never experienced this in earlier versions of IIS.

这篇关于如何在Windows 10 / IIS 10上附加到IIS进程(w3wp.exe)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆