void () { runPythonTest(new PySmartStepIntoDebuggerTask("test_smart_step_into_multiline1.py") { @Override public void before() { toggleBreakpoint(4); } @Override public void testing() throws Exception { waitForPause(); stepOver(); waitForPause(); assertSmartStepIntoVariants("f", "f", "f", "f", "f"); smartStepInto("f", 2); waitForPause(); eval("x").hasValue("2"); stepOver(); waitForPause(); assertSmartStepIntoVariants("f", "f"); smartStepInto("f", 4); waitForPause(); eval("x").hasValue("4"); } }); }