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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top