/** * @see org.eclipse.debug.core.model.ISourceLocator#getSourceElement(IStackFrame) */ public Object getSourceElement(IStackFrame stackFrame) { Object res = findSourceElement(stackFrame); if (res == null && fAllowedToAsk) { IJavaStackFrame frame = (IJavaStackFrame) stackFrame.getAdapter(IJavaStackFrame.class); if (frame != null) { try { if (!frame.isObsolete()) { showDebugSourcePage(frame); res = fSourceLocator.getSourceElement(stackFrame); } } catch (DebugException e) { } } } return res; }
return fSourceLocator.getSourceElement(stackFrame);