void () { runPythonTest(new PySmartStepIntoDebuggerTask("test_my_code.py") { @Override public void before() { toggleBreakpoint(getFilePath(getScriptName()), 5); toggleBreakpoint(getFilePath(getScriptName()), 7); } @Override public void testing() throws Exception { waitForPause(); stepIntoMyCode(); waitForPause(); eval("x").hasValue("2"); resume(); waitForPause(); eval("x").hasValue("3"); stepIntoMyCode(); waitForPause(); eval("stopped_in_user_file").hasValue("True"); } }); }