开发者

Difficulty debugging WCF Service in Visual Studio

开发者 https://www.devze.com 2023-01-20 01:40 出处:网络
I think I\'m having an issue where, if I set breakpoints in a ASP Azure project, the page just freezes without letting me step around in Visual Studio 2010. I\'m not sure if I have a bug, or if I\'m d

I think I'm having an issue where, if I set breakpoints in a ASP Azure project, the page just freezes without letting me step around in Visual Studio 2010. I'm not sure if I have a bug, or if I'm doing something wrong.

I have a Silverlight 4 app that consumes a WCF service made available from an Azure project. If I start up VS, build, and run, everything works fine. If I set a breakpoint in the service getData() method, the browser tab becomes unresponsive. If I unset the breakpoint, 开发者_高级运维it remains unresponsive until I restart visual studio.

I have the Azure project set as my web role. I am able to hit breakpoints in WebRole.cs in the ASP project, but it seems like putting a breakpoint in the .svc file messes it up.

Is this a known issue? Or could I be doing something wrong?


I don't how the Azure project might effect things but but you might want to look at:

Configuring Message Logging

Service Trace Viewer Tool (SvcTraceViewer.exe)

WCF Test Client (WcfTestClient.exe)

0

精彩评论

暂无评论...
验证码 换一张
取 消