return ret;
}
private void loadStackTraceAndLocation(EStackFrameLocatableEvent ret, ThreadReference thread)
{
EThread eThread = createQueryThread(thread);
try
{
List<StackFrame> frames = thread.frames();
if(frames.size()>0)
{
ret.setStackFrame(getStackFrame(eThread, frames, 0));
ret.setLineNumber(frames.get(0).location().lineNumber());
}
}
catch (IncompatibleThreadStateException e)
{
throw new RuntimeException("No se pudo obtener el stack frame para el hilo " + eThread.getCompleteName(), e);
}
}