void () { synchronized (theLock) { if (myState == State.STOPPED) { throw new DebuggerStoppedException(); } else if (myState != State.RUNNING) { throw new IllegalStateException(); } myCurrentStopCondition = Condition.TRUE; } }