void () { runPythonTest(new PySmartStepIntoDebuggerTask("test_step_into_with_threads.py") { @Override public void before() { toggleBreakpoint(getFilePath(getScriptName()), 15); toggleBreakpoint(getFilePath(getScriptName()), 17); } @Override public void testing() throws Exception { waitForPause(); stepInto(); waitForPause(); stepOver(); waitForPause(); waitForOutput("foo"); resume(); waitForOutput("bar"); waitForPause(); stepInto(); waitForPause(); stepOver(); waitForPause(); waitForOutput("baz"); resume(); waitForTerminate(); } }); }