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?

后端 未结 5 1975
情深已故
情深已故 2021-01-07 14:03

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 l

5条回答
  •  被撕碎了的回忆
    2021-01-07 14:23

    You can use task manager to view the user name under which the process is running (which in general is the same as the application pool name) and the process ID, but you have to turn on these columns in task manager, and also the process name has to be the same as the application pool (which is the default as far as I know).
    Also note that all methods listed on this page might only display the processes that are currently running, which means that if your particular process has shut down due to idle time you have first to use the site in order to bring the process up in the list, and in your case it means you should first access all sites to make sure that the process associated with them is runing.

提交回复
热议问题