在VS2010中,有没有办法知道给定w3wp.exe服务的应用程序池,然后决定附加调试器? [英] In VS2010, is there a way to know which application pool a given w3wp.exe is serving, to then decide to attach the debugger to?
问题描述
更新:要点是在VS中写一个宏,然后让我有一个按钮(每个应用程序池是有趣的),这将是可点击的附加调试器。所以解决方案最好不要涉及其他程序。
Update2:这是Windows 7针对IIS7。
另一个选项是 WADA - W3WP高级Attacher 可在Visual Studio Gallery中使用。我通过在扩展管理器的在线画廊中搜索附加工作者来找到它。
So I'm debugging some websites (one from trunk, one from branch) running locally, in separate apppools. I have trunk and branch solutions open in two VS instances. I'd like to debug trunk in one, and branch in the other. I'd like to know if there's a way to know which application pool each w3wp.exe is serving, to know which one is which when attaching the debugger.
Update: the point of this is to write a macro within VS to then let me have a button (per app-pool that is interesting) which will be clickable to attach the debugger to. So solutions should preferably not involve other programs.
Update2: this is on Windows 7 against IIS7.
Another option would be the WADA - W3WP Advanced Attacher available in the Visual Studio Gallery. I found it by searching in the Online Gallery of Extension Manager for "attach worker".
这篇关于在VS2010中,有没有办法知道给定w3wp.exe服务的应用程序池,然后决定附加调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!