[debugger] Minor IJ-MR-129983 fixes

GitOrigin-RevId: 2c9184caf508393271019dea64405ca4da368da5
This commit is contained in:
Alexey Merkulov
2024-03-27 14:16:16 +00:00
committed by intellij-monorepo-bot
parent bd1855cfbd
commit 6a8741a991
@@ -88,12 +88,8 @@ public abstract class SuspendContextImpl extends XSuspendContext implements Susp
if (myThread == threadProxy) {
return;
}
if (myEvaluationContext != null) {
LOG.error("Resetting thread during evaluation is not supported");
}
if (myActiveExecutionStack != null) {
LOG.error("Thread should be retested before the active execution stack initialization");
}
LOG.assertTrue(myEvaluationContext == null, "Resetting thread during evaluation is not supported");
LOG.assertTrue(myActiveExecutionStack == null, "Thread should be retested before the active execution stack initialization");
assertNotResumed();
if (myThread != null) {
myThread.removeListener(myListener);