Some things you have done for ages, are already phrased so nicely, the only thing you can do is quote.
Thanks Dave Coulter:
You can attach the Visual Studio debugger to a process by:
Debug > Attach to Process > Attach
Where after you select
Attach to Process
you browse the available processes for the one you are looking for. If you service is running in Debug with symbols, that should work. You can then put breaks in your code.
And for Alfonso to indicate that sometimes you need to do this as Administrator:
You can attach to all w3wp.exe processes IIS app pools. This is done through the “Attach to process…” option in the “Debug” menu.
If the process does not show up, then in Task Manager perform “Show processes from all users” and “Show processes from all sessions”. If they now show up in Task Manager, you might need to run Visual Studio with admin rights
–jeroen
via: .net – How to attach a debugger to a WebService? – Stack Overflow.
Filed under: .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, Visual Studio 11, Visual Studio 2002, Visual Studio 2003, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools
