[debugger] fix skipping suspend-thread breakpoints during stepping

It was a regression after skipping rework

GitOrigin-RevId: f59fdfa7eaed90a94da6d65f9d3acdc5965efda7
This commit is contained in:
Vladimir Parfinenko
2023-03-28 15:02:42 +02:00
committed by intellij-monorepo-bot
parent cfbf6ffcca
commit 195031facc

View File

@@ -663,10 +663,8 @@ public class DebugProcessEvents extends DebugProcessImpl {
});
}
// Skip suspend-all breakpoints in other threads during suspend-all stepping:
if (suspendContext.getSuspendPolicy() == EventRequest.SUSPEND_ALL &&
!DebuggerSession.filterBreakpointsDuringSteppingUsingDebuggerEngine()) {
// Skip breakpoints in other threads during suspend-all stepping:
if (!DebuggerSession.filterBreakpointsDuringSteppingUsingDebuggerEngine()) {
ThreadReference filteredThread = getRequestsManager().getFilterThread();
if (filteredThread != null && !Comparing.equal(filteredThread, thread)) {
notifySkippedBreakpoints(event, SkippedBreakpointReason.STEPPING);