How to: Step into WCF Services
This topic applies to:
Pro and Team
Does not apply
Command or commands hidden by default.
In Visual Studio 2008, you can step into a WCF service. If the WCF service is in the same Visual Studio solution as the client, you can hit breakpoints inside the WCF Service.
For stepping to work, you must have debugging enabled in the app.config or Web.config file. For information about how to enable debugging and for limitations on stepping into WCF services, see Limitations on WCF Debugging.
To step into a WCF Service
Create a Visual Studio solution that contains both the WCF client and WCF service projects.
In Solution Explorer, right-click the WCF Client project and then click Set as Startup Project.
Enable debugging in the app.config or web.config file. For more information, see Limitations on WCF Debugging.
Set a breakpoint at the location in the client project where you want to start stepping. Typically, this will be just before the WCF service call.
Run to the breakpoint, then begin stepping. The debugger will step into the service automatically.