void () { runPythonTest(new PySmartStepIntoDebuggerTask("test_smart_step_into_another_module.py") { @Override public void before() { toggleBreakpoint(2); } @Override public void testing() throws Exception { waitForPause(); assertSmartStepIntoVariants("A", "get_x"); smartStepInto("A", 0); waitForPause(); eval("x").hasValue("42"); stepOver(); waitForPause(); assertSmartStepIntoVariants("get_x"); smartStepInto("get_x", 0); waitForPause(); eval("self.x").hasValue("42"); resume(); waitForTerminate(); } }); }