Skip to content

Commit 30ce966

Browse files
committed
debug: anounce when program continues
fixes microsoft#3408
1 parent 4c786de commit 30ce966

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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('programPaused', "Program paused, reason {0}, {1} {2}", event.body.reason, callStack[0].source.name, callStack[0].lineNumber));
247+
aria.alert(nls.localize('debuggingPaused', "Debugging 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 {
@@ -255,6 +255,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
255255
}));
256256

257257
this.toDispose.push(this.session.addListener2(debug.SessionEvents.CONTINUED, () => {
258+
aria.alert(nls.localize('debuggingContinued', "Debugging continued."));
258259
this.model.clearThreads(false);
259260
this.setFocusedStackFrameAndEvaluate(null);
260261
this.setStateAndEmit(debug.State.Running);

0 commit comments

Comments
 (0)