I have a console app that is calling a WCF app hosted in IIS.
Up until now everything has been fine and I am able to debug the app – step through it without any problems…
Until I added my dev pc to a domain…. now every time I get step into the code hosted in IIS, a popup comes up asking if I would like to attach to this process…
I can then continue debugging… again not a huge train smash – however… now it randomly just jumps to the end of the process (almost like some kind of timeout) and I am not able to reliably step and debug the IIS hosted code….
Any ideas?
All the projects are in the same solution, and all running on the local dev pc… Using Visual Studio 2008, dev PC is Win 7
With regards to the timeout, have you tried modifying the timeout settings on the binding being used? Otherwise the waiting client will process the timeout when it’s hit, even if you’re still debugging hosted code. For dev purposes, something that I’ve found useful is to have a debug binding that I can switch to with exagerated settings for message sizes and timeouts to prevent this like below: