Connecting Tech Pros Worldwide Help | Site Map

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

Newbie
 
Join Date: Jun 2009
Posts: 1
#1: Aug 6 '09
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's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#2: Aug 6 '09

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


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?
Reply