Debugging WCF service in wcsf

Aug 14, 2008 at 4:02 AM
Hi,
I noticed that it is not possible to debug my wcf service using wcsf. Will using Web Service Software Factory be a better tool to use for testing WCF services?
Thanks
Aug 26, 2008 at 7:34 PM

Hi

 

Using WCSF or WSSF will not influence the way you debug your WCF services.

To be able to debug your WCF service you should attach the Visual Studio debugger to the WCF Service Host (WcfSvcHost.exe) process when your application is running. To get this done follow these steps:

1.       Add the breakpoints to your WCF service code.

2.       Press F5 to build and run your application.

3.       Go to the Debug menu in Visual Studio and select Attach to Process…

4.       Select the WcfSvcHost.exe process in the Available Process grid and click in the Attach button.

Now you will be able to debug your service.

 

Please, let me know if it helps.

 

Mariano Converti

http://blogs.southworks.net/mconverti