reverted part of the fix for IDEA-43728 due to regression in evaluation

This commit is contained in:
Egor.Ushakov
2015-07-06 23:20:07 +03:00
parent be94a28c5d
commit 7ee4cc55e6
@@ -193,15 +193,8 @@ 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) {
for (Event event : eventSet) {
if (event instanceof LocatableEvent && SuspendManagerUtil.isEvaluating(getSuspendManager(),
getVirtualMachineProxy().getThreadReferenceProxy(
((LocatableEvent)event).thread()))) {
eventSet.resume();
return;
}
}
((SuspendManagerImpl)getSuspendManager()).popContext(context);
eventSet.resume();
return;
}
}
}