Debugging Page Methods

  • Thread starter Thread starter probashi
  • Start date Start date
P

probashi

I am having hard time trying to debug a Page Method in an ASPX page.
I was able to set break point in client side JavaScript code but not
in C# code in ASPX page.

How do one can debug Page Methods?

Thanks
 
If you had modified your code you need to do a complete rebuild.
Basically you need to restart application each time. The problem is that
ASP.NET/Ajax engine make a proxy to that static method and even if you've
modified it asp.net will still call old version and your breakpoint will not
be hit.

George.
 
If you had modified your code you need to do a complete rebuild.
Basically you need to restart application each time. The problem is that
ASP.NET/Ajax engine make a proxy to that static method and even if you've
modified it asp.net will still call old version and your breakpoint will not
be hit.

George.










- Show quoted text -

thanks
 
Back
Top