![]() After that, you can debug and step into the service without having to edit the. When you use Attach to Process on a service, the debug code is automatically added to the. ![]() ![]() config file or by attaching to the service by using Attach to Process. If the server is asynchronous, you cannot view the full call stack while you are executing code inside the service.ĭebugging must be enabled with the following code in the app.config or Web.config file: The contract operation cannot be one-way. The client must call the service by using a synchronous client object. To step into a service from a client applications that you are debugging, the following conditions must be met: This topic describes limitations on these scenarios. You use Attach to Process to attach to a service that is currently running. The service must be part of your solution. You are debugging a client process that makes a request to a service. The service does not have to be in the same solution as your client application. You are debugging a client process that calls a service. There are three ways that you can begin debugging a WCF service: Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
0 Comments
Leave a Reply. |