if(sSelection.isEmpty()){
return;
}
Object element = sSelection.getFirstElement();
if(element instanceof JDIStackFrame){
JDIStackFrame frame = (JDIStackFrame) element;
try {
lastTypeInDebugger = frame.getReferenceType();
lastMethodInDebugger = frame.getMethodName() + frame.getSignature();
} catch (DebugException e) {
BytecodeOutlinePlugin.log(e, IStatus.ERROR);
}
}
}