Solved

debug javascript IE developer documents

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

11 Experts available now in Live!

Get 1:1 Help Now