void waitForSuspend(int timeout,int period) throws NotConnectedException {
  waitForSuspend(timeout,period,Isolate.DEFAULT_ID);
}

void waitForSuspend ( int timeout , int period ) throws NotConnectedException { waitForSuspend ( timeout , period , Isolate . DEFAULT_ID ) ; }
we spin in this spot until the player reaches the requested suspend state , either true or false . < p / > during this time we wake up every period milliseconds and update the display and our state with information received from the debug event queue .
