rem: for (i = 0; i < count; ++i) 
add: if (console._stopLevel > 0) { --console._stopLevel; 
context: function detachDebugger(){    var count = console._stopLevel;    var i;    for (i = 0; i < count; ++i)        console.jsds.exitNestedEventLoop();    ASSERT (console._stopLevel == 0,            "console.stopLevel != 0 after detachDebugger");    console.jsds.clearAllBreakpoints();    console.jsds.scriptHook = null;    console.jsds.debuggerHook = null;    console.jsds.off();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/8b27bf568ca555c3d7e32d55ff44ccf699aae130/venkman-debugger.js/clean/extensions/venkman/resources/content/venkman-debugger.js