void () { runPythonTest(new PyDebuggerTask("/debug", "test2.py") { @Override public void before() { toggleBreakpoints(5, 7); } @Override public void testing() throws Exception { waitForPause(); consoleExecAndWait("z = 42"); resume(); waitForPause(); eval("z").hasValue("43"); resume(); waitForTerminate(); } }); }