Tip

Web Developers, Debug Your Code Already!

Ever wonder what script line is crashing your code? Better yet, good luck finding where that line of code exists in your script! If you're not already using it, for sanity purposes, you must download the MS Script Debugger! It will save you hours of trial and error trying to debug your code.

Code: Since its "MS" script debugger, it doesn't work w/Netscape. i have yet to find a worthy script debugger for NS. If you find one, please let me know! Happy Debugging.

Summary straight from MS:

Microsoft� Script Debugger is a debugging environment that extends the functionality of Microsoft� Internet Explorer 4.0 and later and Microsoft Internet Information Server (IIS). You can use the Script Debugger to browse, edit, and debug .htm and .asp files that contain Microsoft� Visual Basic� Scripting Edition (VBScript) or Microsoft� JScript�. You can also use it to combine HTML and script development and to test programs written in other languages. You can then use the Microsoft virtual machine (Microsoft VM) to run the programs and to debug scripts for any scripting language engine that supports Microsoft� ActiveX� debugging interfaces.

The Script Debugger provides the same functionality as traditional debuggers, including the ability to:

-Set and clear breakpoints.
-Step through and over procedures.
-Display and change the values of variables and properties.
-Evaluate expressions.
-View the call stack, and navigate to any currently loaded procedure.

You can also use the Script Debugger to open and edit HTML pages. The Script Debugger supports script colorization for maximum readability.

The Script Debugger and accompanying documentation is available for download at Microsoft Scripting Technologies (a URL definitely worthy of bookmarking): msdn.microsoft.com/scripting/default.htm?/scripting/debugger/dbdown.htm

This was first published in February 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.