do not stop on breakpoints in evaluated methods in resume one thread mode

This commit is contained in:
Egor.Ushakov
2016-03-01 14:52:59 +03:00
parent 73ee1e62c1
commit da05d79b77
@@ -186,7 +186,7 @@ public class DebugProcessEvents extends DebugProcessImpl {
// check if there is already one request with policy SUSPEND_ALL
for (SuspendContextImpl context : getSuspendManager().getEventContexts()) {
if (context.getSuspendPolicy() == EventRequest.SUSPEND_ALL) {
if (isResumeOnlyCurrentThread() && locatableEvent != null) {
if (isResumeOnlyCurrentThread() && locatableEvent != null && !context.isEvaluating()) {
// if step event is present - switch context
getSuspendManager().resume(context);
//((SuspendManagerImpl)getSuspendManager()).popContext(context);