void (NodeEvent event) { if (myEnabled) { final Debugger.StyleFrame frame = myDebugger.getCurrentFrame(); if (frame != null) { event.setLocation(frame.getURI(), frame.getLineNumber()); } myEvents.add(event); } }