How can I avoid timeout errors while debugging a web service in visual studio 2008

c#, web-services

Solution

Ok, now a serious answer, found at:

http://bytes.com/groups/net-web-services/628561-increase-default-webservice-timeout-globally

Increase the `Timeout` property of the web-service-proxy.

MyWebServ obj = new MyWebServ();
obj.Timeout = -1; // -1 for forever otherwise in milliseconds

Increase the timeout value in http-runtime tag in web-config of ASP.NET project./app.config if the web consumer application is Windows.

Increase the timeout value in http-runtime tag in web-config of Web Services project.

Problem

I am using a console application to call web service methods and I am stepping through the code using the debugger in vs2008. Sometimes I need to stop and think about things, and compare values. Not talking hours, just a few minutes, at this point the web service times out, how can I avoid this, so that the web service does not time out at all. Thank you

Original source