if(!(x.getFirstElement() instanceof EStackFrameLocatableEvent))
{
stackTrace.setInput(Collections.EMPTY_LIST);
return;
}
EStackFrameLocatableEvent eEvent=(EStackFrameLocatableEvent) x.getFirstElement();
ArrayList<EStackFrame> stack=new ArrayList<EStackFrame>();
EStackFrame frame=eEvent.getStackFrame();
do
{
stack.add(frame);
}
while((frame=frame.getPreviousStackFrame())!=null);