Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

debug javascript IE developer documents

Posted on 2008-10-07
2
272 Views
Last Modified: 2012-05-05
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
Comment
Question by:ANAT2403
2 Comments
 
LVL 13

Accepted Solution

by:
copyPasteGhost earned 400 total points
ID: 22660212
0
 
LVL 4

Assisted Solution

by:rhodesb
rhodesb earned 100 total points
ID: 22691268
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Attaching a file to SMTP in Classic ASP 1 42
Want the count number from this QUery 2 54
Weighted Randomizing 6 30
ASP exit 10 18
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question