HOW-TO DEBUG A VB.NET WEBMETHOD?

jayprakash sharma

Total Post:117

Points:821
Posted by  jayprakash sharma
VB.Net 
 1369  View(s)
Ratings:
Rate this:

I have an ASP.NET C# project consuming webservices and WebMethods are wrote in VB.NET with source code on a local IIS server. The WebMethod returns null, and I want to debug it to know why I get this.

As you may know, if I set a breakpoint just before the webmethod call, I cant step into this webmethod.

So, how is the correct way to debug this webmethod?

Thank you!

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: How-to debug a VB.NET WebMethod?

    Hi jay, 

    Attach the debugger to the server process, put a breakpoint in the web method code and invoke the web method.

    Visual Studio should break within the web method.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!