@Override protected void runTest() throws Throwable { super.runTest(); if (getDebugProcess() != null) { getDebugProcess().getProcessHandler().startNotify(); waitProcess(getDebugProcess().getProcessHandler()); waitForCompleted(); // disposeSession(myDebuggerSession); assertNull( DebuggerManagerEx.getInstanceEx(myProject) .getDebugProcess(getDebugProcess().getProcessHandler())); myDebuggerSession = null; } throwExceptionsIfAny(); checkTestOutput(); }