How to debug WCF programs

后端 未结 7 1167
执笔经年
执笔经年 2020-12-31 01:21

My code uses lots of WCF calls and when I try to debug it, it doesnt go to the service code itself. Is there a way to debug WCF code somehow?

7条回答
  •  别那么骄傲
    2020-12-31 01:56

    There's a much easier way. Just start multiple processes in Visual Studio. Right click the Solution. Click Properties. Select Startup Project. Click Multiple Startup Projects. Set the WCF and the Client projects to Action=Start. Now you will step through the WCF as well as the client.

提交回复
热议问题