if (debuggerThread != null) { debuggerThread.cancel(); }
	public void run() {		try {			String[] arguments = getArguments();			boolean wait = this.emulatorSetting.doWait();			long startTime = System.currentTimeMillis();			int res = exec( arguments, this.device.getIdentifier() + ": ",  wait, this, getExecutionDir() );			long usedTime = System.currentTimeMillis() - startTime;			if ( res != 0 || (wait && usedTime < 2000) ) {				if (res == 0) {					res = -110011;				}				System.out.println("Emulator returned [" + res + "], arguments were:");				for (int i = 0; i < arguments.length; i++) {					String argument = arguments[i];					System.out.println( argument );				}							}		} catch (IOException e) {			e.printStackTrace();			System.out.println("Unable to start or run emulator: " + e.toString() );		} finally {			this.isFinished = true;		}	}