I have published an hosted a .NET application in IIS, is there any way I can see what happens in the code when I make a call to the server side from my Android client?
1 Answer
You should be able to use the debug - attach to process menu option to attach to w3wp.exe
As long as the compiled code is the same as the source, and the pdb's are there, it should attach fine.
9 Comments
Sreekanth
Can you please explain the steps.
Marc Gravell
@Sreekanth in Visual Studio: "Tools" -> "Attach to Process..."; or more simply, set the web debugging options to be IIS, and just hit F5. Note: you need to be running Visual Studio as a local administrator in elevated privilege to debug inside IIS.
Joe
I forgot about the permissions, thanks @MarcGravell - it's probably worth noting that when I use that, it's under the "Debug" -> "Attach to Process..." menu, rather than Tools.
Sreekanth
In that case what should I use as the URL? I have given the project URL as "localhost/WcfImageUpload" I understand the localhost should be replaced with 10.0.2.2, but should I need to provide a port number?
Marc Gravell
@Sreekanth anything that resolves to that site in IIS
|