void (TracerEvent ev) { if (myTracing) return; if (myDebugger.getCurrentFrame() == null) { return; } // xsl:choose (and maybe others) don't generate traceEnd()-events final String instr = XalanStyleFrame.getInstruction(ev.m_styleNode); while (!instr.equals(myDebugger.getCurrentFrame().getInstruction())) { leave(); } super.traceEnd(ev); leave(); }