web services - Viewing process command line arguments in visual studio -


I have a web service that runs in the ICE pool in the app pool. Whenever I try to debug this web service, I attach it to the Visual Studio debugger. However, the problem is that many w3wp.exe (which hosts the web service) and I do not know which one to attach as an alternate solution, I first got the task manager (Which includes the process command line as one of the columns), see that multiple w3wp.exe note down the PID of which my app is getting pooled and its After enclosing Visual Studio with that PID Is there a better way to do this in the process? Can I see the w3wp.exe command line parameters from the 'associated with process' window of Visual Studio? I am using Visual Studio 2010.

For Windows 2008 / Vista / 7 (IIS 7.0 / 7.5)

  • IIS 7.0 / 7.5 was sent with a new utility called APCMD which works as a command line server management feature.
  • This tool is located in% systemroot% \ system32 \ inetsrv \ AppCmd ​​.exe
  • To list current worker process IDA, the associated site with the following command Use

    C: \ Windows \ System32 \ inetsrv> APCMD list wp

  • Once you know your application worker process ID, you select the correct work process. Process Dialog on Visual Studio

    Hope it helps.

Comments