Debugging ASP,JavaScript,VBScript in IE & Firefox

  • Share/Save/Bookmark

During development debugging plays an important role as it reduces our development efforts in fixing the bugs.In this article we will describe some of the techniques to help you with debugging the ASP, JavaScript,VBScript in Internet explorer and Firefox.

Debugging JavaScript in Internet Explorer.

Check these under IE Menu bar Tools button.

                       Tools->Internet Options->Advanced->Disable Script Debugging (Internet Explorer)
                       Tools->Internet Options->Advanced->Disable Script Debugging (Other Browsers)

There are three applications you can use for script debugging.  One is Visual Studio.Net, the second is Microsoft Script Debugger and the third is Microsoft Script Editor: To invoke one of this script debuggers Click on

                    IE View -> External Script debugger -> Open

Then you are prompted with dialog box with all the installed above applications select one of them and start debugging just like your normal code behind(C#) code or pressing keys f9/f10/f11 keys.

Alternatively you can set the below statements inline your code to debug.

The debugger statement can also be placed anywhere in your code to suspend execution this is similar to setting a breakpoint. The Stop statement is the VBScript version of JScript’s debugger statement

If you want to debug JavaScript in Firefox you need to install Firebug tool.

Debugging ASP Code in Internet Explorer.

To debug the asp code first check these settings under internet manager. Right click on your Virtual Directory properties then popup will appear under the popup go to

VirtualDirectory tab –> Configuration –> Debugging -> Enable server side script debugging

VirtualDirectory tab –> Configuration –> Debugging -> Enable client side script debugging

Now open your asp page and write the debugger statement in your code now it will invoke dllhost and stops at that statement. Just right click on that location and say Break at next statement from popup and then debug just pressing f9/f10/f11 keys.

Categories : ASP, ASP.Net, Javascript

Leave a Reply

About Techieon

Techieon is all about sharing Development experience of experienced talented developers of different technologies working in real time. Here at Techieon we talk about latest updates of different technologies, provide solutions to the developers problems, write tutorials on frequently used tools of development and provide tips to developers day to day activities.

This is a Widget Section

This section is widgetized. If you would like to add content to this section, you may do so by using the Widgets panel from within your WordPress Admin Dashboard. This Widget Section is called "Feature Bottom Middle"

Want to Write for Techieon?

Techieon have few opening positions for talented developers who want to share their development experience with Techieon users.If you are interested in writing at Techieon please Contact us or e-mail me for more information.