[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

debug javascript IE developer documents

I have a site in old ASP and I use Microsoft visual studio 2003. (I am forced to them)
I would like to debug the javascript code and instead of entering alert I would like to use the IE developer toolbar. WIll that help me?
If yes I am looking for help documnet ablout the IE Developer.
Thankyou
Anat
0
ANAT2403
Asked:
ANAT2403
2 Solutions
 
copyPasteGhostCommented:
0
 
rhodesbCommented:
The javascript debugger in VS2003 is good.  Just make sure that you enable debugging in Internet Explorer: http://geekswithblogs.net/devin/archive/2005/10/31/58734.aspx.
Once, you have done this, when an error occurs, VS should show up as one of the programs that can be used to debug.  If not, it can be done by doing the following:

Then hit the start debugging button in VS to open Internet Explorer that is owned by VS.  If you get an error about not being able to start debugging (because it is classic asp and not .NET), then just make sure you start the debugging on a really basic html page, and once the browser opens, just paste the address into IE and when a javascript error occurs, it will let you debug with visual studio which is very powerful and allows stepping, breaking, etc. as well as the ability to see the values of all the variables, etc.
The same thing can be done with MS Visual Web Developer Express (if you are at home or are looking for a good, free environment): http://www.berniecode.com/blog/2007/03/08/how-to-debug-javascript-with-visual-web-developer-express/
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now