context: function initDebugger(){       dd ("initDebugger {");        console._continueCodeStack = new Array(); /* top of stack is the default  */                                              /* return code for the most     */                                              /* recent debugTrap().          */    console.scripts = new Object();        /* create the debugger instance */    if (!Components.classes[JSD_CTRID])        throw new BadMojo (ERR_NO_DEBUGGER);        console.jsds = Components.classes[JSD_CTRID].getService(jsdIDebuggerService);    console.jsds.on();    console.jsds.breakpointHook = console._executionHook;    console.jsds.debuggerHook = console._executionHook;    console.jsds.debugHook = console._executionHook;    console.jsds.errorHook = console._errorHook;    console.jsds.scriptHook = console._scriptHook;    var venkmanFilter1 = { /* glob based filter goes first, because it's the */        glob: this,        /* easiest to match.                              */        flags: FILTER_SYSTEM | jsdIFilter.FLAG_ENABLED,        urlPattern: null,        startLine: 0,        endLine: 0    };    var venkmanFilter2 = { /* url based filter for XPCOM callbacks that may  */        glob: null,        /* not happen under our glob.                     */        flags: FILTER_SYSTEM | jsdIFilter.FLAG_ENABLED,        urlPattern: "chrome://venkman/*",        startLine: 0,        endLine: 0    };    console.jsds.appendFilter (venkmanFilter1);    console.jsds.appendFilter (venkmanFilter2);        console.throwMode = TMODE_IGNORE;    console.errorMode = EMODE_IGNORE;    var enumer = {        enumerateScript: function _es (script) {            realizeScript(script);        }    };        console.scriptsView.freeze();    console.jsds.enumerateScripts(enumer);    console.scriptsView.thaw();    dd ("} initDebugger");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7544d3415d65bb702cb3060dd8ac2a22f009997b/venkman-debugger.js/clean/extensions/venkman/resources/content/venkman-debugger.js