mat-musings [mat-myoo-zings]: the written expressions of my contemplations about a variety of topics
NOTE: I reserve the right to delete comments at my own discretion (off-topic, uncivilized, etc). Information provided herein is provided “as is” with no warranties and confers no rights. Opinions expressed herein are mine, and do not necessarily represent the opinions of my employer (EarthSoft, Inc.).
Thursday, January 12, 2012
Breakpoints in REST WCF Service
I have a project in Visual Studio 2010 that I am using to develop some REST WCF services. Everything was working, but for some reason my breakpoints were not getting called. I could tell the code was executing because the correct JSON was getting returned, but Visual Studio was not stopping on the breakpoint. It turns out that all I needed to do was go to the project properties, click on the Web tab, then check the ASP.NET debugger. After that, the breakpoints were working as expected. It is much easier to develop a web service if you can debug it.
Labels:
.NET
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment