Home > DeveloperSection > Forums > How-to debug a VB.NET WebMethod?
jayprakash sharma
jayprakash sharma

Total Post:117

Posted on    August-26-2014 2:01 AM

 VB.Net VB.Net 

 1 Reply(s)
 976  View(s)
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!

Sumit Kesarwani

Total Post:378

Posted on    August-26-2014 2:51 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick