public void updateFromDebuggerOptions(final DebuggerOptions options){
  Preconditions.checkNotNull(options,"IE01521: Options argument can not be null");
  m_detachButton.setEnabled(options.canDetach());
  m_terminateButton.setEnabled(options.canTerminate());
  m_haltButton.setEnabled(options.canHalt());
  updateGui();
}

public void updateFromDebuggerOptions ( final DebuggerOptions options ) { Preconditions . checkNotNull ( options , "IE01521: Options argument can not be null" ) ; m_detachButton . setEnabled ( options . canDetach ( ) ) ; m_terminateButton . setEnabled ( options . canTerminate ( ) ) ; m_haltButton . setEnabled ( options . canHalt ( ) ) ; updateGui ( ) ; }
updates the toolbar depending on the debugger options of the target debugger .
