Bug 515206 - JavaThreadEventHandler.indexOf(IStackFrame) returns
-1 during evaluation

If the thread is performing evaluation right now, it will report no
frames and so we would be unable to compute the right index. Check and
in case evaluation is running, wait a second, which will work for most
(short running) evaluations.

Change-Id: I1c1a69ae168ceb270379d847806240bb11e6a801
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2 files changed