Your friend iisapp.vbs (VS Remote Debugging)

If you are going to do a remote debugging with Visual Studio, you will need to know exactly which processes you want to debug. In case you are working with some web application linked to IIS 6.0 (WS 2003), you should be careful and know its corresponding application pool.

Each application pool has one or more worker processes and they are unique to the application pool and are not shared across application pools. See the Web Garden section in the screenshot that follows:

image

Therefore, if you are going to debug your remote web application, you will need to attach to all the worker processes (w3wp.exe) from Visual Studio:

AttachProcess

In the server side, you should see the connection:

 Remote Debugging

However, if you have many application pools, to find out which are your needed w3wp.exe process will be a heavy task. Now you will need our useful script iisapp.vbs (~/System32/iisapp.vbs) that show us a summary of processes and application pools:

image

 

Note: Don’t forget to place the pdb files in the assembly folder of the remote server !!

Publicado 17 septiembre 09 04:47 por rtebar
Archivado en: ,

Comentarios

Aún no ha hecho nadie ningún comentario. Escribe alguno y sé el primero :P
No se permiten comentarios de usuarios anónimos

About rtebar

Microsoft Dynamics CRM Developer and Consultant in Alfapeople Ltd (London)

Search

Go

Sindicación