title: how to debug a program that calls a WCF Service,
body: <p>I am using Visual Studio 2010. I have a very simple asp.net webpage, I browse and upload an xml file, and I have 2 textboxes for now. In the left box, I show the original xml content, and then, I want to call the WCF service, using the xml as input, and display the result returned in the right box.</p>
  
  <p>Right now, I keep getting an error of "Message Service Queue is not available". I have set the system account for message queue service from google searching.</p>
  
  <p>So now, I need to debug the service. After searching around, I thought attach to process might be a good approach. However, in my collegue's machine, restarting the service is so fast that I cannot stop it and click Debug->Attach to Process->select_exe, and to be honest, it's weird that it doesn't stop at the OnStart function at all...</p>
  
  <p>WCF is hosted as windows service.</p>
  
  <p>Could anyone give me any ideas or hints from your experience and knowledge? Or any other approach that you think might be good in my situation.</p>
  
  <p>Any ideas are appreciated. Great thanks. =)</p>