void () { switch (myTestCase) { case CONSOLE, EVALUATE -> toggleBreakpoint(9); case BREAKPOINT -> { toggleBreakpoint(8); toggleBreakpoint(9); XDebuggerTestUtil.setBreakpointCondition(getProject(), 8, "await foo(1) == 2"); XDebuggerTestUtil.setBreakpointCondition(getProject(), 9, "await foo(1) != 2"); XDebuggerTestUtil.setBreakpointLogExpression(getProject(), 8, "await foo(1)"); } case GATHER -> { setWaitForTermination(false); toggleBreakpoint(9); XDebuggerTestUtil.setBreakpointCondition(getProject(), 9, "await foo(1) == 2"); } } setWaitForTermination(false); }