EA-210080 - IE: ThreadBlockedMonitor$.action

GitOrigin-RevId: 681e6f6965d65e4afdd0a1d4090b2f8dd6dd5c7d
This commit is contained in:
Egor Ushakov
2020-06-17 15:44:03 +03:00
committed by intellij-monorepo-bot
parent ddd56a50d6
commit 80ca376ca7

View File

@@ -5,6 +5,7 @@ import com.intellij.concurrency.JobScheduler;
import com.intellij.debugger.JavaDebuggerBundle;
import com.intellij.debugger.engine.events.DebuggerCommandImpl;
import com.intellij.debugger.engine.jdi.ThreadReferenceProxy;
import com.intellij.debugger.jdi.JvmtiError;
import com.intellij.debugger.jdi.ThreadReferenceProxyImpl;
import com.intellij.debugger.jdi.VirtualMachineProxyImpl;
import com.intellij.notification.NotificationType;
@@ -138,11 +139,16 @@ public class ThreadBlockedMonitor {
}
catch (ObjectCollectedException ignored) {
}
catch (IncompatibleThreadStateException e) {
LOG.info(e);
}
catch (InternalException e) {
if (e.errorCode() != JvmtiError.THREAD_NOT_ALIVE) {
throw e;
}
}
}
}
catch (IncompatibleThreadStateException e) {
LOG.info(e);
}
finally {
vmProxy.getVirtualMachine().resume();
}