84858687888990
synchronized (lock) { this.params = params; } // TODO: Define a contract for DebuggingParameters.equals(), and fire a change event // only if the new parameters differs from the existing ones. fireParamsChanged(new DebugSessionEvent(this)); }
156157158159160161162
if (this.state != DebuggingState.IDLE) { return; } this.state = DebuggingState.RUNNING; } fireStateChanged(new DebugSessionEvent(this, DebuggingState.RUNNING)); }
168169170171172173174
return; } this.result = result; this.state = DebuggingState.PAUSED; } fireStateChanged(new DebugSessionEvent(this, DebuggingState.PAUSED)); }
179180181182183184185
if (this.state != DebuggingState.PAUSED) { return; } this.state = DebuggingState.RUNNING; } fireStateChanged(new DebugSessionEvent(this, DebuggingState.RUNNING)); }
200201202203204205206207208
return; } this.result = result; this.state = DebuggingState.DONE; } fireStateChanged(new DebugSessionEvent(this, DebuggingState.DONE)); listeners.clear(); debugService.stopSession(this); }