void () { runPythonTest(new PyDebuggerTask("/debug", "test_resume_after_step.py") { @Override public void before() { toggleBreakpoint(getScriptName(), 2); toggleBreakpoint(getScriptName(), 3); } @Override public void testing() throws Exception { waitForPause(); eval("a").hasValue("1"); toggleBreakpoint(getScriptName(), 5); resume(); waitForPause(); eval("b").hasValue("2"); resume(); waitForPause(); eval("d").hasValue("4"); resume(); } }); }