mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-64498 - assert: SuspendContextImpl.setIsEvaluating - resume may happen during the evaluation in the context
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
package com.intellij.debugger.engine;
|
||||
|
||||
import com.intellij.debugger.engine.events.DebuggerCommandImpl;
|
||||
import com.intellij.debugger.engine.events.SuspendContextCommandImpl;
|
||||
import com.intellij.debugger.jdi.ThreadReferenceProxyImpl;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.sun.jdi.InternalException;
|
||||
@@ -309,9 +309,9 @@ public class SuspendManagerImpl implements SuspendManager {
|
||||
if(suspendContext.myVotesToVote == 0) {
|
||||
if(suspendContext.myIsVotedForResume) {
|
||||
// resume in a separate request to allow other requests be processed (e.g. dependent bpts enable)
|
||||
myDebugProcess.getManagerThread().schedule(new DebuggerCommandImpl() {
|
||||
myDebugProcess.getManagerThread().schedule(new SuspendContextCommandImpl(suspendContext) {
|
||||
@Override
|
||||
protected void action() throws Exception {
|
||||
public void contextAction() throws Exception {
|
||||
resume(suspendContext);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user