Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

Normally when we want to debug any application.. we run it in Visual Studio and use the breakpoints. that works fine...

But I have a scenario that application is deployed in IIS server 7 and I wanted to debug it without opening that application in visual studio.

NOTE.... application is deployed on physical path on IIS server.

:)

EDITING::: Application is using webservices, and web services are deployed over IIS through Physical Path. So we have to add the web services reference in Application to run it properly.
while if we want to debug the web services, so than we have to run them in Visual Studio and add the reference of that locally build web service in application and after finished, re add the reference in application.

BUT I wanted that reference remains same of Deployed service, I just open the services from physical path in VS, debug that through break points and application uses that from IIS.

I know a bit stupid or strange scenario,, but this is what and how I want.



Regards,
Posted
Updated 15-May-13 21:39pm
v2

1 solution

Build your code in DEBUG mode in Visual Studio. Set a breakpoint in your code. Press F5 to start debugging.
 
Share this answer
 
Comments
VICK 16-May-13 2:52am    
isn't the same way I told in my question.. ??? :-/

I don't wana build the code again in VS.. as I already built it while deploying the application.
So I want some new thing... :)
_Damian S_ 16-May-13 17:24pm    
It wasn't in your question when I posted my answer.

The other option is to either attach your code to the ASP process through tools-->Attach to Process, or do it the old fashioned way by writing a log or sending an email to yourself at critical points in the system so you can see where it falls over.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900