Break point inside web service code ?

Posted on 2008-11-07
Last Modified: 2013-12-17
How do I set a break point inside the code for a web service call.

I set the break point inside the file with the c# code for a webservice
in VS 2005.

The debugger did break on breakpoints set in the javascript. The javascript
calls a web service, but the break point in the service did not work.

How do I set it ?
Question by:pillmill
    1 Comment
    LVL 16

    Accepted Solution

    I had a little trouble with that as well. Here is how I got it to work.
    1. You have to set the breakpoint BEFORE you run with debugging. You can't set it when you are running and expect it to get hit.
    2. Set a javacript breakpoint at the call. When you hit that single step into the web service. Then you can run again and it will hit the breakpoint.
    3. Oddly enough after I did that a couple times I could remove the javascript breakpoint and it went ahead and hit the webservice breakpoint so I could eliminate the single step. Go figure. :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video is a brief demonstration on how to use security groups and Network Access Control Lists (ACLs) in Amazon Web Services.  Security groups and Network ACLs are mechanisms you can use in AWS to control network traffic.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now