IESupport

JavaScript Debugger Support for Internet Explorer(IE)

Overview

JavaScript debugger support for Internet Explorer(IE) is included as of the Netbeans 6.5 release.

IE support is based on Microsoft Active Script Debugging APIs. It requires the presence of Process Debug Manager and Machine Debug Manager on the user system. The required components cannot be re-distributed. However it is part of free downloadable Script Debugger which is available at http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&displaylang=en. Todo: Update this paragraph to mention changes/additional dependencies for IE8 Support

Similar to Firefox extension (which is required for Firefox support), we use a Browser Helper Object(BHO). BHO is a dll module which gets loaded into every instance of IE. Netbeans BHO will act as a communication bridge between Netbeans and Microsoft Active Script debugging framework when debugging is in progress.

Differences from Firefox support

Generally speaking, user should not see any difference between support for Firefox and IE except for the following two items

  • Configuring client side debugging, user may see an option to select between IE and Firefox.
  • Initial start of debugging. User will see dialogs to install Script Debugger and Netbeans BHO. This is similar to the dialogs we show the user to install Netbeans Firefox and Firebug extensions.
  • Todo: There are additional minor differences that may want to also be listed here]

Implementation Notes

  • Netbeans BHO is implemented as a C++ COM module(.dll) and is checked into repository with sources.

Note that the Microsoft Active Script Debugging APIs are low level APIs when compared to Firebug debugger interfaces.

Http Monitor Support for Internet Explorer(IE)

This is a new feature that will be added in NB 7.0 Feature should work similar to the existing support for Firefox.

Support for capturing HTTP Headers is done in the existing Javascript Debugging DLL/BHO by adding code to be a passthrough Asynchronous Pluggable Protocol (APP) handler.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo