@codingame/monaco-vscode-debug-service-override 8.0.4 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +107 -107
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +49 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +19 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +37 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +15 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +21 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +53 -42
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +109 -82
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +8 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +80 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +12 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.js +7 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +19 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +29 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +11 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +21 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugAccessibilityAnnouncer.js +2 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -233
|
@@ -290,7 +290,7 @@ let DebugSession = class DebugSession {
|
|
|
290
290
|
async launchOrAttach(config) {
|
|
291
291
|
if (!this.raw) {
|
|
292
292
|
throw ( (new Error(
|
|
293
|
-
localize(
|
|
293
|
+
localize(5729, "No debugger available, can not send '{0}'", 'launch or attach')
|
|
294
294
|
)));
|
|
295
295
|
}
|
|
296
296
|
if (this.parentSession && this.parentSession.state === State.Inactive) {
|
|
@@ -346,7 +346,7 @@ let DebugSession = class DebugSession {
|
|
|
346
346
|
}
|
|
347
347
|
async restart() {
|
|
348
348
|
if (!this.raw) {
|
|
349
|
-
throw ( (new Error(localize(
|
|
349
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'restart'))));
|
|
350
350
|
}
|
|
351
351
|
this.cancelAllRequests();
|
|
352
352
|
if (this._options.lifecycleManagedByParent && this.parentSession) {
|
|
@@ -358,7 +358,7 @@ let DebugSession = class DebugSession {
|
|
|
358
358
|
}
|
|
359
359
|
async sendBreakpoints(modelUri, breakpointsToSend, sourceModified) {
|
|
360
360
|
if (!this.raw) {
|
|
361
|
-
throw ( (new Error(localize(
|
|
361
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'breakpoints'))));
|
|
362
362
|
}
|
|
363
363
|
if (!this.raw.readyForBreakpoints) {
|
|
364
364
|
return Promise.resolve(undefined);
|
|
@@ -387,7 +387,7 @@ let DebugSession = class DebugSession {
|
|
|
387
387
|
async sendFunctionBreakpoints(fbpts) {
|
|
388
388
|
if (!this.raw) {
|
|
389
389
|
throw ( (new Error(
|
|
390
|
-
localize(
|
|
390
|
+
localize(5729, "No debugger available, can not send '{0}'", 'function breakpoints')
|
|
391
391
|
)));
|
|
392
392
|
}
|
|
393
393
|
if (this.raw.readyForBreakpoints) {
|
|
@@ -404,7 +404,7 @@ let DebugSession = class DebugSession {
|
|
|
404
404
|
async sendExceptionBreakpoints(exbpts) {
|
|
405
405
|
if (!this.raw) {
|
|
406
406
|
throw ( (new Error(
|
|
407
|
-
localize(
|
|
407
|
+
localize(5729, "No debugger available, can not send '{0}'", 'exception breakpoints')
|
|
408
408
|
)));
|
|
409
409
|
}
|
|
410
410
|
if (this.raw.readyForBreakpoints) {
|
|
@@ -429,7 +429,7 @@ let DebugSession = class DebugSession {
|
|
|
429
429
|
}
|
|
430
430
|
dataBytesBreakpointInfo(address, bytes) {
|
|
431
431
|
if (this.raw?.capabilities.supportsDataBreakpointBytes === false) {
|
|
432
|
-
throw ( (new Error(localize(
|
|
432
|
+
throw ( (new Error(localize(5730, "Session does not support breakpoints with bytes"))));
|
|
433
433
|
}
|
|
434
434
|
return this._dataBreakpointInfo({ name: address, bytes, asAddress: true });
|
|
435
435
|
}
|
|
@@ -439,11 +439,11 @@ let DebugSession = class DebugSession {
|
|
|
439
439
|
async _dataBreakpointInfo(args) {
|
|
440
440
|
if (!this.raw) {
|
|
441
441
|
throw ( (new Error(
|
|
442
|
-
localize(
|
|
442
|
+
localize(5729, "No debugger available, can not send '{0}'", 'data breakpoints info')
|
|
443
443
|
)));
|
|
444
444
|
}
|
|
445
445
|
if (!this.raw.readyForBreakpoints) {
|
|
446
|
-
throw ( (new Error(localize(
|
|
446
|
+
throw ( (new Error(localize(5731, "Session is not ready for breakpoints"))));
|
|
447
447
|
}
|
|
448
448
|
const response = await this.raw.dataBreakpointInfo(args);
|
|
449
449
|
return response?.body;
|
|
@@ -451,7 +451,7 @@ let DebugSession = class DebugSession {
|
|
|
451
451
|
async sendDataBreakpoints(dataBreakpoints) {
|
|
452
452
|
if (!this.raw) {
|
|
453
453
|
throw ( (new Error(
|
|
454
|
-
localize(
|
|
454
|
+
localize(5729, "No debugger available, can not send '{0}'", 'data breakpoints')
|
|
455
455
|
)));
|
|
456
456
|
}
|
|
457
457
|
if (this.raw.readyForBreakpoints) {
|
|
@@ -483,7 +483,7 @@ let DebugSession = class DebugSession {
|
|
|
483
483
|
async sendInstructionBreakpoints(instructionBreakpoints) {
|
|
484
484
|
if (!this.raw) {
|
|
485
485
|
throw ( (new Error(localize(
|
|
486
|
-
|
|
486
|
+
5729,
|
|
487
487
|
"No debugger available, can not send '{0}'",
|
|
488
488
|
'instruction breakpoints'
|
|
489
489
|
))));
|
|
@@ -502,7 +502,7 @@ let DebugSession = class DebugSession {
|
|
|
502
502
|
async breakpointsLocations(uri, lineNumber) {
|
|
503
503
|
if (!this.raw) {
|
|
504
504
|
throw ( (new Error(
|
|
505
|
-
localize(
|
|
505
|
+
localize(5729, "No debugger available, can not send '{0}'", 'breakpoints locations')
|
|
506
506
|
)));
|
|
507
507
|
}
|
|
508
508
|
const source = this.getRawSource(uri);
|
|
@@ -518,13 +518,13 @@ let DebugSession = class DebugSession {
|
|
|
518
518
|
}
|
|
519
519
|
customRequest(request, args) {
|
|
520
520
|
if (!this.raw) {
|
|
521
|
-
throw ( (new Error(localize(
|
|
521
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", request))));
|
|
522
522
|
}
|
|
523
523
|
return this.raw.custom(request, args);
|
|
524
524
|
}
|
|
525
525
|
stackTrace(threadId, startFrame, levels, token) {
|
|
526
526
|
if (!this.raw) {
|
|
527
|
-
throw ( (new Error(localize(
|
|
527
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'stackTrace'))));
|
|
528
528
|
}
|
|
529
529
|
const sessionToken = this.getNewCancellationToken(threadId, token);
|
|
530
530
|
return this.raw.stackTrace({ threadId, startFrame, levels }, sessionToken);
|
|
@@ -532,7 +532,7 @@ let DebugSession = class DebugSession {
|
|
|
532
532
|
async exceptionInfo(threadId) {
|
|
533
533
|
if (!this.raw) {
|
|
534
534
|
throw ( (new Error(
|
|
535
|
-
localize(
|
|
535
|
+
localize(5729, "No debugger available, can not send '{0}'", 'exceptionInfo')
|
|
536
536
|
)));
|
|
537
537
|
}
|
|
538
538
|
const response = await this.raw.exceptionInfo({ threadId });
|
|
@@ -548,21 +548,21 @@ let DebugSession = class DebugSession {
|
|
|
548
548
|
}
|
|
549
549
|
scopes(frameId, threadId) {
|
|
550
550
|
if (!this.raw) {
|
|
551
|
-
throw ( (new Error(localize(
|
|
551
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'scopes'))));
|
|
552
552
|
}
|
|
553
553
|
const token = this.getNewCancellationToken(threadId);
|
|
554
554
|
return this.raw.scopes({ frameId }, token);
|
|
555
555
|
}
|
|
556
556
|
variables(variablesReference, threadId, filter, start, count) {
|
|
557
557
|
if (!this.raw) {
|
|
558
|
-
throw ( (new Error(localize(
|
|
558
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'variables'))));
|
|
559
559
|
}
|
|
560
560
|
const token = threadId ? this.getNewCancellationToken(threadId) : undefined;
|
|
561
561
|
return this.raw.variables({ variablesReference, filter, start, count }, token);
|
|
562
562
|
}
|
|
563
563
|
evaluate(expression, frameId, context, location) {
|
|
564
564
|
if (!this.raw) {
|
|
565
|
-
throw ( (new Error(localize(
|
|
565
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'evaluate'))));
|
|
566
566
|
}
|
|
567
567
|
return this.raw.evaluate({ expression, frameId, context, line: location?.line, column: location?.column, source: location?.source });
|
|
568
568
|
}
|
|
@@ -570,7 +570,7 @@ let DebugSession = class DebugSession {
|
|
|
570
570
|
await this.waitForTriggeredBreakpoints();
|
|
571
571
|
if (!this.raw) {
|
|
572
572
|
throw ( (new Error(
|
|
573
|
-
localize(
|
|
573
|
+
localize(5729, "No debugger available, can not send '{0}'", 'restartFrame')
|
|
574
574
|
)));
|
|
575
575
|
}
|
|
576
576
|
await this.raw.restartFrame({ frameId }, threadId);
|
|
@@ -584,7 +584,7 @@ let DebugSession = class DebugSession {
|
|
|
584
584
|
async next(threadId, granularity) {
|
|
585
585
|
await this.waitForTriggeredBreakpoints();
|
|
586
586
|
if (!this.raw) {
|
|
587
|
-
throw ( (new Error(localize(
|
|
587
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'next'))));
|
|
588
588
|
}
|
|
589
589
|
this.setLastSteppingGranularity(threadId, granularity);
|
|
590
590
|
await this.raw.next({ threadId, granularity });
|
|
@@ -592,7 +592,7 @@ let DebugSession = class DebugSession {
|
|
|
592
592
|
async stepIn(threadId, targetId, granularity) {
|
|
593
593
|
await this.waitForTriggeredBreakpoints();
|
|
594
594
|
if (!this.raw) {
|
|
595
|
-
throw ( (new Error(localize(
|
|
595
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'stepIn'))));
|
|
596
596
|
}
|
|
597
597
|
this.setLastSteppingGranularity(threadId, granularity);
|
|
598
598
|
await this.raw.stepIn({ threadId, targetId, granularity });
|
|
@@ -600,7 +600,7 @@ let DebugSession = class DebugSession {
|
|
|
600
600
|
async stepOut(threadId, granularity) {
|
|
601
601
|
await this.waitForTriggeredBreakpoints();
|
|
602
602
|
if (!this.raw) {
|
|
603
|
-
throw ( (new Error(localize(
|
|
603
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'stepOut'))));
|
|
604
604
|
}
|
|
605
605
|
this.setLastSteppingGranularity(threadId, granularity);
|
|
606
606
|
await this.raw.stepOut({ threadId, granularity });
|
|
@@ -608,7 +608,7 @@ let DebugSession = class DebugSession {
|
|
|
608
608
|
async stepBack(threadId, granularity) {
|
|
609
609
|
await this.waitForTriggeredBreakpoints();
|
|
610
610
|
if (!this.raw) {
|
|
611
|
-
throw ( (new Error(localize(
|
|
611
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'stepBack'))));
|
|
612
612
|
}
|
|
613
613
|
this.setLastSteppingGranularity(threadId, granularity);
|
|
614
614
|
await this.raw.stepBack({ threadId, granularity });
|
|
@@ -616,7 +616,7 @@ let DebugSession = class DebugSession {
|
|
|
616
616
|
async continue(threadId) {
|
|
617
617
|
await this.waitForTriggeredBreakpoints();
|
|
618
618
|
if (!this.raw) {
|
|
619
|
-
throw ( (new Error(localize(
|
|
619
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'continue'))));
|
|
620
620
|
}
|
|
621
621
|
await this.raw.continue({ threadId });
|
|
622
622
|
}
|
|
@@ -624,54 +624,54 @@ let DebugSession = class DebugSession {
|
|
|
624
624
|
await this.waitForTriggeredBreakpoints();
|
|
625
625
|
if (!this.raw) {
|
|
626
626
|
throw ( (new Error(
|
|
627
|
-
localize(
|
|
627
|
+
localize(5729, "No debugger available, can not send '{0}'", 'reverse continue')
|
|
628
628
|
)));
|
|
629
629
|
}
|
|
630
630
|
await this.raw.reverseContinue({ threadId });
|
|
631
631
|
}
|
|
632
632
|
async pause(threadId) {
|
|
633
633
|
if (!this.raw) {
|
|
634
|
-
throw ( (new Error(localize(
|
|
634
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'pause'))));
|
|
635
635
|
}
|
|
636
636
|
await this.raw.pause({ threadId });
|
|
637
637
|
}
|
|
638
638
|
async terminateThreads(threadIds) {
|
|
639
639
|
if (!this.raw) {
|
|
640
640
|
throw ( (new Error(
|
|
641
|
-
localize(
|
|
641
|
+
localize(5729, "No debugger available, can not send '{0}'", 'terminateThreads')
|
|
642
642
|
)));
|
|
643
643
|
}
|
|
644
644
|
await this.raw.terminateThreads({ threadIds });
|
|
645
645
|
}
|
|
646
646
|
setVariable(variablesReference, name, value) {
|
|
647
647
|
if (!this.raw) {
|
|
648
|
-
throw ( (new Error(localize(
|
|
648
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'setVariable'))));
|
|
649
649
|
}
|
|
650
650
|
return this.raw.setVariable({ variablesReference, name, value });
|
|
651
651
|
}
|
|
652
652
|
setExpression(frameId, expression, value) {
|
|
653
653
|
if (!this.raw) {
|
|
654
654
|
throw ( (new Error(
|
|
655
|
-
localize(
|
|
655
|
+
localize(5729, "No debugger available, can not send '{0}'", 'setExpression')
|
|
656
656
|
)));
|
|
657
657
|
}
|
|
658
658
|
return this.raw.setExpression({ expression, value, frameId });
|
|
659
659
|
}
|
|
660
660
|
gotoTargets(source, line, column) {
|
|
661
661
|
if (!this.raw) {
|
|
662
|
-
throw ( (new Error(localize(
|
|
662
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'gotoTargets'))));
|
|
663
663
|
}
|
|
664
664
|
return this.raw.gotoTargets({ source, line, column });
|
|
665
665
|
}
|
|
666
666
|
goto(threadId, targetId) {
|
|
667
667
|
if (!this.raw) {
|
|
668
|
-
throw ( (new Error(localize(
|
|
668
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'goto'))));
|
|
669
669
|
}
|
|
670
670
|
return this.raw.goto({ threadId, targetId });
|
|
671
671
|
}
|
|
672
672
|
loadSource(resource) {
|
|
673
673
|
if (!this.raw) {
|
|
674
|
-
return Promise.reject(( (new Error(( localize(
|
|
674
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'loadSource'))))));
|
|
675
675
|
}
|
|
676
676
|
const source = this.getSourceForUri(resource);
|
|
677
677
|
let rawSource;
|
|
@@ -686,7 +686,7 @@ let DebugSession = class DebugSession {
|
|
|
686
686
|
}
|
|
687
687
|
async getLoadedSources() {
|
|
688
688
|
if (!this.raw) {
|
|
689
|
-
return Promise.reject(( (new Error(( localize(
|
|
689
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'getLoadedSources'))))));
|
|
690
690
|
}
|
|
691
691
|
const response = await this.raw.loadedSources({});
|
|
692
692
|
if (response?.body && response.body.sources) {
|
|
@@ -700,7 +700,7 @@ let DebugSession = class DebugSession {
|
|
|
700
700
|
}
|
|
701
701
|
async completions(frameId, threadId, text, position, overwriteBefore, token) {
|
|
702
702
|
if (!this.raw) {
|
|
703
|
-
return Promise.reject(( (new Error(( localize(
|
|
703
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'completions'))))));
|
|
704
704
|
}
|
|
705
705
|
const sessionCancelationToken = this.getNewCancellationToken(threadId, token);
|
|
706
706
|
return this.raw.completions({
|
|
@@ -712,36 +712,47 @@ let DebugSession = class DebugSession {
|
|
|
712
712
|
}
|
|
713
713
|
async stepInTargets(frameId) {
|
|
714
714
|
if (!this.raw) {
|
|
715
|
-
return Promise.reject(( (new Error(( localize(
|
|
715
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'stepInTargets'))))));
|
|
716
716
|
}
|
|
717
717
|
const response = await this.raw.stepInTargets({ frameId });
|
|
718
718
|
return response?.body.targets;
|
|
719
719
|
}
|
|
720
720
|
async cancel(progressId) {
|
|
721
721
|
if (!this.raw) {
|
|
722
|
-
return Promise.reject(( (new Error(( localize(
|
|
722
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'cancel'))))));
|
|
723
723
|
}
|
|
724
724
|
return this.raw.cancel({ progressId });
|
|
725
725
|
}
|
|
726
726
|
async disassemble(memoryReference, offset, instructionOffset, instructionCount) {
|
|
727
727
|
if (!this.raw) {
|
|
728
|
-
return Promise.reject(( (new Error(( localize(
|
|
728
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'disassemble'))))));
|
|
729
729
|
}
|
|
730
730
|
const response = await this.raw.disassemble({ memoryReference, offset, instructionOffset, instructionCount, resolveSymbols: true });
|
|
731
731
|
return response?.body?.instructions;
|
|
732
732
|
}
|
|
733
733
|
readMemory(memoryReference, offset, count) {
|
|
734
734
|
if (!this.raw) {
|
|
735
|
-
return Promise.reject(( (new Error(( localize(
|
|
735
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'readMemory'))))));
|
|
736
736
|
}
|
|
737
737
|
return this.raw.readMemory({ count, memoryReference, offset });
|
|
738
738
|
}
|
|
739
739
|
writeMemory(memoryReference, offset, data, allowPartial) {
|
|
740
740
|
if (!this.raw) {
|
|
741
|
-
return Promise.reject(( (new Error(( localize(
|
|
741
|
+
return Promise.reject(( (new Error(( localize(5729, "No debugger available, can not send '{0}'", 'disassemble'))))));
|
|
742
742
|
}
|
|
743
743
|
return this.raw.writeMemory({ memoryReference, offset, allowPartial, data });
|
|
744
744
|
}
|
|
745
|
+
async resolveLocationReference(locationReference) {
|
|
746
|
+
if (!this.raw) {
|
|
747
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'locations'))));
|
|
748
|
+
}
|
|
749
|
+
const location = await this.raw.locations({ locationReference });
|
|
750
|
+
if (!location?.body) {
|
|
751
|
+
throw ( (new Error(localize(5729, "No debugger available, can not send '{0}'", 'locations'))));
|
|
752
|
+
}
|
|
753
|
+
const source = this.getSource(location.body.source);
|
|
754
|
+
return { column: 1, ...location.body, source };
|
|
755
|
+
}
|
|
745
756
|
getThread(threadId) {
|
|
746
757
|
return this.threads.get(threadId);
|
|
747
758
|
}
|
|
@@ -849,8 +860,8 @@ let DebugSession = class DebugSession {
|
|
|
849
860
|
}
|
|
850
861
|
this.rawListeners.add(this.raw.onDidInitialize(async () => {
|
|
851
862
|
status(this.configuration.noDebug
|
|
852
|
-
? ( localize(
|
|
853
|
-
: ( localize(
|
|
863
|
+
? ( localize(5732, "Started running without debugging."))
|
|
864
|
+
: ( localize(5733, "Debugging started.")));
|
|
854
865
|
const sendConfigurationDone = async () => {
|
|
855
866
|
if (this.raw && this.raw.capabilities.supportsConfigurationDoneRequest) {
|
|
856
867
|
try {
|
|
@@ -897,7 +908,7 @@ let DebugSession = class DebugSession {
|
|
|
897
908
|
}
|
|
898
909
|
}));
|
|
899
910
|
this.rawListeners.add(this.raw.onDidTerminateDebugee(async (event) => {
|
|
900
|
-
status(( localize(
|
|
911
|
+
status(( localize(5734, "Debugging stopped.")));
|
|
901
912
|
if (event.body && event.body.restart) {
|
|
902
913
|
await this.debugService.restartSession(this, event.body.restart);
|
|
903
914
|
}
|
|
@@ -1121,7 +1132,7 @@ let DebugSession = class DebugSession {
|
|
|
1121
1132
|
return;
|
|
1122
1133
|
}
|
|
1123
1134
|
const focusedStackFrame = this.debugService.getViewModel().focusedStackFrame;
|
|
1124
|
-
if (!focusedStackFrame ||
|
|
1135
|
+
if (!focusedStackFrame || isFrameDeemphasized(focusedStackFrame)) {
|
|
1125
1136
|
focus();
|
|
1126
1137
|
}
|
|
1127
1138
|
}
|
|
@@ -49,10 +49,10 @@ let DebugStatusContribution = class DebugStatusContribution {
|
|
|
49
49
|
text = (manager.getLaunches().length > 1 ? `${name} (${manager.selectedConfiguration.launch.name})` : name);
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
|
-
name: ( localize(
|
|
52
|
+
name: ( localize(5981, "Debug")),
|
|
53
53
|
text: '$(debug-alt-small) ' + text,
|
|
54
|
-
ariaLabel: ( localize(
|
|
55
|
-
tooltip: ( localize(
|
|
54
|
+
ariaLabel: ( localize(5982, "Debug: {0}", text)),
|
|
55
|
+
tooltip: ( localize(5983, "Select and start debug configuration")),
|
|
56
56
|
command: 'workbench.action.debug.selectandstart'
|
|
57
57
|
};
|
|
58
58
|
}
|