IJSDebugger 编辑
js/ductwork/debugger/IJSDebugger.idl
Scriptable 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 66 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论