NetBeans debugging support for Internet Explorer is enabled through a Browser Helper Object (BHO; also known as an add-on). A BHO is a COM component which gets loaded into every instance of Internet Explorer. The NetBeans add-on uses Active Scripting debugger API's to talk to the IE Scripting engine, and communicates with the NetBeans IDE via the DBGP protocol.
Supported Versions and Operating Systems
Debugging support is enabled for
- Internet Explorer versions 6 and 7
- Windows XP and Vista operating systems
Differences from FireFox
Installation of the Debugging Framework and Internet Explorer Add-On
The user should successfully install the Active Scripting debugger framework before clicking OK in the above dialog.
Upon clicking OK, the Add-on is registered in the Windows system registry.
Local variables window
For example, the actual type is not shown for animElements or animElements._newEnum. Whereas type is shown for the rect variable.
A second difference between Firefox and IE, is that there is no parent scope node listed under the scope node.
Stepping Through Code
The easiest way to move to next line is to use the Run to Cursor feature.
Stopping on First Line
For example, in the case of Internet Explorer, the debugger stops below on line 9, where as in the case of FireFox it stops on line 5.
If the user has selected the option to Suspend on Exceptions, and if an exception is encountered during execution, the debugger suspends as it would for a breakpoint, but with a status of 'EXCEPTION'. The actual message for the exception is shown in the Console for the current debugging session.
Detaching Browser or Terminating Session
When the user terminates the session, either by shutting down the IDE or detaching the session, Internet Explorer continues to run normally.