Solved

debug javascript IE developer documents

Posted on 2008-10-07
2
269 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now