void (IdeaProjectTestFixture fixture, boolean notifyOnTerminate, boolean notifyOnFirst, boolean ignoreLibraries, @Nullable String condition, @Nullable String logExpression) { XDebuggerTestUtil.removeAllBreakpoints(fixture.getProject()); XDebuggerTestUtil.setDefaultBreakpointEnabled(fixture.getProject(), PyExceptionBreakpointType.class, false); PyExceptionBreakpointProperties properties = new PyExceptionBreakpointProperties("BaseException"); properties.setNotifyOnTerminate(notifyOnTerminate); properties.setNotifyOnlyOnFirst(notifyOnFirst); properties.setIgnoreLibraries(ignoreLibraries); XBreakpoint exceptionBreakpoint = addExceptionBreakpoint(fixture, properties); if (condition != null) { exceptionBreakpoint.setCondition(condition); } if (logExpression != null) { exceptionBreakpoint.setLogExpression(logExpression); } }