none
Debugging service RRS feed

  • Question

  • Can a WCF service be debugged from the calling mething using reflector or any other means. I am geeting an exception from the service but since I don't have the source code I am not able to figure out what exactly is happening at the service end.

    Shivendra

    Monday, February 24, 2014 1:45 PM

Answers

  • Hi,

    There are only the three ways that you can begin debugging a WCF service:

    • You are debugging a client process that calls a service. The debugger steps into the service. The service does not have to be in the same solution as your client application.

    • You are debugging a client process that makes a request to a service. The service must be part of your solution.

    • You use Attach to Process to attach to a service that is currently running. Debugging begins inside the service.

    For more information, please try to refer to:
    http://msdn.microsoft.com/en-us/library/bb157687.aspx .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, February 26, 2014 7:23 AM
    Moderator
  • Is the source inside your organization or outside? You might benefit from WCF tracing. Try putting it on your client side application, and see what errors you get. If you have access to the config file of the WCF service you could also add it to the service side to get a clearer picture of what's going on.
    Wednesday, February 26, 2014 11:26 PM

All replies

  • Hi,

    There are only the three ways that you can begin debugging a WCF service:

    • You are debugging a client process that calls a service. The debugger steps into the service. The service does not have to be in the same solution as your client application.

    • You are debugging a client process that makes a request to a service. The service must be part of your solution.

    • You use Attach to Process to attach to a service that is currently running. Debugging begins inside the service.

    For more information, please try to refer to:
    http://msdn.microsoft.com/en-us/library/bb157687.aspx .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, February 26, 2014 7:23 AM
    Moderator
  • Is the source inside your organization or outside? You might benefit from WCF tracing. Try putting it on your client side application, and see what errors you get. If you have access to the config file of the WCF service you could also add it to the service side to get a clearer picture of what's going on.
    Wednesday, February 26, 2014 11:26 PM