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?
When running an application that accesses WCF services there are often two processes involved
It sounds like you are debugging the client process. In order to step through the actual WCF service code you need to attach the Visual Studio Debugger to the process which is hosting the service and set a break point in the code.
Note: Visual Studio can attach to multiple processes simultaneously so you can debug both your client and server code in the same session. Use