Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

IJSDebugger

Provides the JavaScript Debugger service. You should usually interface with this using the JavaScript code module instead of directly. See the JavaScript Debugger API Guide for details.
1.0
49
Introduced
Gecko 9.0
Inherits from: nsISupports Last changed in Gecko 9.0 (Firefox 9.0 / Thunderbird 9.0 / SeaMonkey 2.6)

Implemented by: @mozilla.org/jsdebugger;1 as a service:

var jsDebugger = Components.classes["@mozilla.org/jsdebugger;1"]
                 .createInstance(Components.interfaces.IJSDebugger);
Note: You should almost never directly use this service; instead, you should use the JavaScript code module that does this for you. The only time you should directly use this interface to create the Debugger object is if you need to debug chrome; due to bugĀ 707237, the JavaScript code module doesn't work in that case. See the JavaScript Debugger API Guide for details on using the Debugger API.

Method overview

[implicit_jscontext] void addClass();

Methods

addClass()

Defines the global Debugger constructor. On return, the Debugger object has been added to the global context.

[implicit_jscontext] void addClass();
Parameters

None.

See also

Document Tags and Contributors

 Contributors to this page: Sebastianz, Sheppy, fscholz
 Last updated by: Sebastianz,