How to debug classic ASP pages during AJAX calls in ASP.NET website

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andwan0
    New Member
    • Jun 2009
    • 7

    How to debug classic ASP pages during AJAX calls in ASP.NET website

    I have a legacy classic ASP website with lots of classic AJAX (many ASP files specially made for processing AJAX requests).

    We are slowly migrating the website to ASP.NET 2.0 and developing under Visual Web Developer 2005/2008. I notice VWD doesn't debug ASP files. Since we are still migrating a very large website, we are mixing ASP.NET code with classic ASP (ASP.NET pages making AJAX calls to classic ASP pages).

    In Visual Studio 2003.NET it supported full server-side debugging in all ASP pages. Now, how can I debug the AJAX classic ASP pages? I tried running Visual Studio 2003.NET and attaching it as a debugger to Internet Explorer, but no breakpoints were stopped at.

    Please can someone help. How can we debug classic ASP pages during AJAX calls?
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Use the browser's debugger tools to debug Ajax and JavaScript.

    IE8 comes with a debugger built in.
    FireFox has a plugin (that I love) called FireBug that you can use for it.
    Safari has it's own debugging tools built into it as well (though they're a little harder to use than IE8 or Firebug)

    I have no idea how you would debug classic ASP server side code though....how did you do this in the past?

    Comment

    Working...