Skip to content

Commit 4c786de

Browse files
committed
debug: tune aria alerts
fixes microsoft#3410
1 parent dc23a72 commit 4c786de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/vs/workbench/parts/debug/electron-browser/debugService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
225225

226226
private registerSessionListeners(): void {
227227
this.toDispose.push(this.session.addListener2(debug.SessionEvents.INITIALIZED, (event: DebugProtocol.InitializedEvent) => {
228-
aria.alert(nls.localize('programStarted', "Program started."));
228+
aria.alert(nls.localize('debuggingStarted', "Debugging started."));
229229
this.sendAllBreakpoints().then(() => {
230230
if (this.session.capabilities.supportsConfigurationDoneRequest) {
231231
this.session.configurationDone().done(null, errors.onUnexpectedError);
@@ -244,7 +244,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
244244
this.windowService.getWindow().focus();
245245
const callStack = this.model.getThreads()[threadId].callStack;
246246
if (callStack.length > 0) {
247-
aria.alert(nls.localize('programStopped', "Program stopped, reason {0}, {1} {2}", event.body.reason, callStack[0].source.name, callStack[0].lineNumber));
247+
aria.alert(nls.localize('programPaused', "Program paused, reason {0}, {1} {2}", event.body.reason, callStack[0].source.name, callStack[0].lineNumber));
248248
this.setFocusedStackFrameAndEvaluate(callStack[0]);
249249
this.openOrRevealEditor(callStack[0].source, callStack[0].lineNumber, false, false).done(null, errors.onUnexpectedError);
250250
} else {
@@ -277,7 +277,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
277277
}));
278278

279279
this.toDispose.push(this.session.addListener2(debug.SessionEvents.DEBUGEE_TERMINATED, (event: DebugProtocol.TerminatedEvent) => {
280-
aria.alert(nls.localize('programTerminated', "Program terminated."));
280+
aria.alert(nls.localize('debuggingStopped', "Debugging stopped."));
281281
if (this.session && this.session.getId() === (<any>event).sessionId) {
282282
if (event.body && typeof event.body.restart === 'boolean' && event.body.restart) {
283283
this.restartSession().done(null, errors.onUnexpectedError);

0 commit comments

Comments
 (0)