rem: delete console.currentFrameIndex; 
add: clearCurrentFrame(); 
context: function debugTrap (frame, type, rv){    var tn = "";    var showFrame = true;    var sourceContext = 2;        switch (type)    {        case jsdIExecutionHook.TYPE_BREAKPOINT:            tn = MSG_WORD_BREAKPOINT;            break;        case jsdIExecutionHook.TYPE_DEBUG_REQUESTED:            tn = MSG_WORD_DEBUG;            break;        case jsdIExecutionHook.TYPE_DEBUGGER_KEYWORD:            tn = MSG_WORD_DEBUGGER;            break;        case jsdIExecutionHook.TYPE_THROW:            tn = MSG_WORD_THROW;            break;        case jsdIExecutionHook.TYPE_INTERRUPTED:            if (console._stepPast == frame.script.fileName + frame.line)                return jsdIExecutionHook.RETURN_CONTINUE;            delete console._stepPast;            showFrame = false;            sourceContext = 0;            console.jsds.interruptHook = null;            break;        default:            /* don't print stop/cont messages for other types */    }    if (tn)        display (getMsg(MSN_STOP, tn), MT_STOP);    ++console._stopLevel;    /* set our default return value */    console._continueCodeStack.push (jsdIExecutionHook.RETURN_CONTINUE);    $ = new Array();    console.currentFrameIndex = 0;        /* build an array of frames */    console.frames = new Array(frame);    while ((frame = frame.callingFrame))        console.frames.push(frame);    frame = console.frames[0];        if (showFrame)        display (formatFrame(frame));        if (sourceContext > -1)        displaySource (frame.script.fileName, frame.line, sourceContext);        console.jsds.enterNestedEventLoop();     /* execution pauses here until someone calls      * console.dbg.exitNestedEventLoop()      */    if (tn)        display (getMsg(MSN_CONT, tn), MT_CONT);    $ = new Array();    delete console.currentFrameIndex;    delete console.frames;        return console._continueCodeStack.pop();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f973eadac24164a3535a106aea82d9d4298a864b/venkman-debugger.js/buggy/extensions/venkman/resources/content/venkman-debugger.js