extra logging for EA-916477 - T: SuspendContextImpl.setThread

GitOrigin-RevId: 3529eae38ebf58c233e937c52083dd5033606a38
This commit is contained in:
Egor Ushakov
2024-02-07 14:25:24 +01:00
committed by intellij-monorepo-bot
parent fdf77933ec
commit 989a7dc786

View File

@@ -238,6 +238,12 @@ public class DebugProcessEvents extends DebugProcessImpl {
}
else if (event instanceof LocatableEvent) {
preloadEventInfo(((LocatableEvent)event));
if (eventSet.size() > 1) {
// check for more than one different thread
if (StreamEx.of(eventSet).select(LocatableEvent.class).map(LocatableEvent::thread).toSet().size() > 1) {
LOG.error("Two different threads in LocatableEvents: " + eventSet);
}
}
//AccessWatchpointEvent, BreakpointEvent, ExceptionEvent, MethodEntryEvent, MethodExitEvent,
//ModificationWatchpointEvent, StepEvent, WatchpointEvent
if (event instanceof StepEvent) {