rem: catman = Components.classes[CATMAN_CTRID].getService(nsICategoryManager); catman.addCategoryEntry("command-line-argument-handlers", 
add: catman = Components.classes[CATMAN_CTRID].getService(nsICategoryManager); catman.addCategoryEntry("command-line-argument-handlers", "venkman command line handler", CLINE_SERVICE_CTRID, true, true);  catman.addCategoryEntry("command-line-handler", 
context: Module.registerSelf =function (compMgr, fileSpec, location, type){    debug("*** Registering -venkman handler.\n");        compMgr =        compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar);    compMgr.registerFactoryLocation(CLINE_SERVICE_CID,                                    "Venkman CommandLine Service",                                    CLINE_SERVICE_CTRID,                                     fileSpec,                                    location,                                     type);	catman = Components.classes[CATMAN_CTRID].getService(nsICategoryManager);	catman.addCategoryEntry("command-line-argument-handlers",                            "venkman command line handler",                            CLINE_SERVICE_CTRID, true, true);    debug("*** Registering x-jsd protocol handler.\n");    compMgr.registerFactoryLocation(JSDPROT_HANDLER_CID,                                    "x-jsd protocol handler",                                    JSDPROT_HANDLER_CTRID,                                     fileSpec,                                     location,                                    type);    debug("*** Registering x-application-jsd content handler.\n");    compMgr.registerFactoryLocation(JSDCNT_HANDLER_CID,                                    "x-application-jsd content handler",                                    JSDCNT_HANDLER_CTRID,                                     fileSpec,                                     location,                                    type);    try    {        const JSD_CTRID = "@mozilla.org/js/jsd/debugger-service;1";        const jsdIDebuggerService = Components.interfaces.jsdIDebuggerService;        var jsds = Components.classes[JSD_CTRID].getService(jsdIDebuggerService);        jsds.initAtStartup = true;    }    catch (ex)    {        debug ("*** ERROR initializing debugger service");        debug (ex);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9f0e9e111998b028d320b5df587f4f7fd74b5a44/venkman-service.js/buggy/extensions/venkman/js/venkman-service.js