Solved

debug javascript IE developer documents

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Classic ASP - SQL Server connection problem Part 2! 3 61
INNER JOIN ? 8 47
Select case on click 3 16
VBScript on Html 11 20
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
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/…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 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