@codingame/monaco-vscode-debug-service-override 20.5.0 → 21.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 +16 -16
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.d.ts +1 -0
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +3 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +116 -116
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +18 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +55 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +22 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
- 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
|
@@ -61,14 +61,14 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/misc
|
|
|
61
61
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
62
62
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
63
63
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
64
|
-
import { registerNavigableContainer } from '@codingame/monaco-vscode-
|
|
65
|
-
import { FilterViewPane, ViewAction } from '@codingame/monaco-vscode-
|
|
64
|
+
import { registerNavigableContainer } from '@codingame/monaco-vscode-e39a1c8f-7892-5d9b-9987-7b10b79e1a0a-common/vscode/vs/workbench/browser/actions/widgetNavigationCommands';
|
|
65
|
+
import { FilterViewPane, ViewAction } from '@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
66
66
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
67
67
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
68
68
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
69
69
|
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
70
70
|
import { AccessibilityCommandId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/common/accessibilityCommands';
|
|
71
|
-
import { getSimpleEditorOptions, getSimpleCodeEditorWidgetOptions } from '@codingame/monaco-vscode-
|
|
71
|
+
import { getSimpleEditorOptions, getSimpleCodeEditorWidgetOptions } from '@codingame/monaco-vscode-e39a1c8f-7892-5d9b-9987-7b10b79e1a0a-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
72
72
|
import { DEBUG_SCHEME, CONTEXT_MULTI_SESSION_REPL, State, CONTEXT_IN_DEBUG_REPL, REPL_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
73
73
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
74
74
|
import { Variable } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
@@ -76,7 +76,7 @@ import { ReplGroup, ReplEvaluationResult } from '@codingame/monaco-vscode-88aa9a
|
|
|
76
76
|
import { FocusSessionActionViewItem } from './debugActionViewItems.js';
|
|
77
77
|
import { DEBUG_COMMAND_CATEGORY, FOCUS_REPL_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
78
78
|
import { DebugExpressionRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
|
|
79
|
-
import { debugConsoleEvaluationPrompt, debugConsoleClearAll } from '@codingame/monaco-vscode-
|
|
79
|
+
import { debugConsoleEvaluationPrompt, debugConsoleClearAll } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
80
80
|
import * as repl from './media/repl.css';
|
|
81
81
|
import { ReplFilter } from './replFilter.js';
|
|
82
82
|
import { ReplDelegate, ReplDataSource, ReplEvaluationInputsRenderer, ReplEvaluationResultsRenderer, ReplRawObjectsRenderer, ReplVariablesRenderer, ReplOutputElementRenderer, ReplGroupRenderer, ReplAccessibilityProvider } from './replViewer.js';
|
|
@@ -102,7 +102,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
102
102
|
super({
|
|
103
103
|
...options,
|
|
104
104
|
filterOptions: {
|
|
105
|
-
placeholder: ( localize(
|
|
105
|
+
placeholder: ( localize(6462, "Filter (e.g. text, !exclude, \\escape)")),
|
|
106
106
|
text: filterText,
|
|
107
107
|
history: JSON.parse(storageService.get(FILTER_HISTORY_STORAGE_KEY, StorageScope.WORKSPACE, '[]')),
|
|
108
108
|
}
|
|
@@ -507,7 +507,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
507
507
|
await autoExpandElements(session.getReplElements());
|
|
508
508
|
}
|
|
509
509
|
const { total, filtered } = this.getFilterStats();
|
|
510
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
510
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(6463, "Showing {0} of {1}", filtered, total)));
|
|
511
511
|
}, Repl_1.REFRESH_DELAY));
|
|
512
512
|
}
|
|
513
513
|
render() {
|
|
@@ -631,17 +631,17 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
631
631
|
this._register(addStandardDisposableListener(this.replInputContainer, EventType.BLUR, () => this.replInputContainer.classList.remove('synthetic-focus')));
|
|
632
632
|
}
|
|
633
633
|
getAriaLabel() {
|
|
634
|
-
let ariaLabel = ( localize(
|
|
634
|
+
let ariaLabel = ( localize(6464, "Debug Console"));
|
|
635
635
|
if (!this.configurationService.getValue(AccessibilityVerbositySettingId.Debug)) {
|
|
636
636
|
return ariaLabel;
|
|
637
637
|
}
|
|
638
638
|
const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getAriaLabel();
|
|
639
639
|
if (keybinding) {
|
|
640
|
-
ariaLabel = ( localize(
|
|
640
|
+
ariaLabel = ( localize(6465, "{0}, use ({1}) for accessibility help", ariaLabel, keybinding));
|
|
641
641
|
}
|
|
642
642
|
else {
|
|
643
643
|
ariaLabel = ( localize(
|
|
644
|
-
|
|
644
|
+
6466,
|
|
645
645
|
"{0}, run the command Open Accessibility Help which is currently not triggerable via keybinding.",
|
|
646
646
|
ariaLabel
|
|
647
647
|
));
|
|
@@ -680,7 +680,7 @@ let Repl = class Repl extends FilterViewPane {
|
|
|
680
680
|
},
|
|
681
681
|
renderOptions: {
|
|
682
682
|
after: {
|
|
683
|
-
contentText: ( localize(
|
|
683
|
+
contentText: ( localize(6467, "Please start a debug session to evaluate expressions")),
|
|
684
684
|
color: transparentForeground ? ( transparentForeground.toString()) : undefined
|
|
685
685
|
}
|
|
686
686
|
}
|
|
@@ -792,7 +792,7 @@ class AcceptReplInputAction extends EditorAction {
|
|
|
792
792
|
constructor() {
|
|
793
793
|
super({
|
|
794
794
|
id: 'repl.action.acceptInput',
|
|
795
|
-
label: ( localize2(
|
|
795
|
+
label: ( localize2(6468, "Debug Console: Accept Input")),
|
|
796
796
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
797
797
|
kbOpts: {
|
|
798
798
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -812,7 +812,7 @@ class FilterReplAction extends ViewAction {
|
|
|
812
812
|
super({
|
|
813
813
|
viewId: REPL_VIEW_ID,
|
|
814
814
|
id: 'repl.action.filter',
|
|
815
|
-
title: ( localize(
|
|
815
|
+
title: ( localize(6469, "Debug Console: Focus Filter")),
|
|
816
816
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
817
817
|
keybinding: [{
|
|
818
818
|
when: EditorContextKeys.textInputFocus,
|
|
@@ -830,7 +830,7 @@ class FindReplAction extends ViewAction {
|
|
|
830
830
|
super({
|
|
831
831
|
viewId: REPL_VIEW_ID,
|
|
832
832
|
id: 'repl.action.find',
|
|
833
|
-
title: ( localize(
|
|
833
|
+
title: ( localize(6470, "Debug Console: Focus Find")),
|
|
834
834
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
835
835
|
keybinding: [{
|
|
836
836
|
when: ( ContextKeyExpr.or(CONTEXT_IN_DEBUG_REPL, ( ContextKeyExpr.equals('focusedView', 'workbench.panel.repl.view')))),
|
|
@@ -858,7 +858,7 @@ class ReplCopyAllAction extends EditorAction {
|
|
|
858
858
|
constructor() {
|
|
859
859
|
super({
|
|
860
860
|
id: 'repl.action.copyAll',
|
|
861
|
-
label: ( localize(
|
|
861
|
+
label: ( localize(6471, "Debug: Console Copy All")),
|
|
862
862
|
alias: 'Debug Console Copy All',
|
|
863
863
|
precondition: CONTEXT_IN_DEBUG_REPL,
|
|
864
864
|
});
|
|
@@ -895,7 +895,7 @@ registerAction2(class extends ViewAction {
|
|
|
895
895
|
super({
|
|
896
896
|
id: selectReplCommandId,
|
|
897
897
|
viewId: REPL_VIEW_ID,
|
|
898
|
-
title: ( localize(
|
|
898
|
+
title: ( localize(6472, "Select Debug Console")),
|
|
899
899
|
f1: false,
|
|
900
900
|
menu: {
|
|
901
901
|
id: MenuId.ViewTitle,
|
|
@@ -924,9 +924,9 @@ registerAction2(class extends ViewAction {
|
|
|
924
924
|
super({
|
|
925
925
|
id: 'workbench.debug.panel.action.clearReplAction',
|
|
926
926
|
viewId: REPL_VIEW_ID,
|
|
927
|
-
title: ( localize2(
|
|
927
|
+
title: ( localize2(6473, 'Clear Console')),
|
|
928
928
|
metadata: {
|
|
929
|
-
description: ( localize2(
|
|
929
|
+
description: ( localize2(6474, 'Clears all program output from your debug REPL'))
|
|
930
930
|
},
|
|
931
931
|
f1: true,
|
|
932
932
|
icon: debugConsoleClearAll,
|
|
@@ -958,7 +958,7 @@ registerAction2(class extends ViewAction {
|
|
|
958
958
|
constructor() {
|
|
959
959
|
super({
|
|
960
960
|
id: 'debug.collapseRepl',
|
|
961
|
-
title: ( localize(
|
|
961
|
+
title: ( localize(6475, "Collapse All")),
|
|
962
962
|
viewId: REPL_VIEW_ID,
|
|
963
963
|
menu: {
|
|
964
964
|
id: MenuId.DebugConsoleContext,
|
|
@@ -976,7 +976,7 @@ registerAction2(class extends ViewAction {
|
|
|
976
976
|
constructor() {
|
|
977
977
|
super({
|
|
978
978
|
id: 'debug.replPaste',
|
|
979
|
-
title: ( localize(
|
|
979
|
+
title: ( localize(6476, "Paste")),
|
|
980
980
|
viewId: REPL_VIEW_ID,
|
|
981
981
|
precondition: ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Inactive))),
|
|
982
982
|
menu: {
|
|
@@ -1006,7 +1006,7 @@ registerAction2(class extends ViewAction {
|
|
|
1006
1006
|
constructor() {
|
|
1007
1007
|
super({
|
|
1008
1008
|
id: 'workbench.debug.action.copyAll',
|
|
1009
|
-
title: ( localize(
|
|
1009
|
+
title: ( localize(6477, "Copy All")),
|
|
1010
1010
|
viewId: REPL_VIEW_ID,
|
|
1011
1011
|
menu: {
|
|
1012
1012
|
id: MenuId.DebugConsoleContext,
|
|
@@ -1024,7 +1024,7 @@ registerAction2(class extends Action2 {
|
|
|
1024
1024
|
constructor() {
|
|
1025
1025
|
super({
|
|
1026
1026
|
id: 'debug.replCopy',
|
|
1027
|
-
title: ( localize(
|
|
1027
|
+
title: ( localize(6478, "Copy")),
|
|
1028
1028
|
menu: {
|
|
1029
1029
|
id: MenuId.DebugConsoleContext,
|
|
1030
1030
|
group: '2_cutcopypaste',
|
|
@@ -1067,7 +1067,7 @@ registerAction2(class extends Action2 {
|
|
|
1067
1067
|
super({
|
|
1068
1068
|
id: FOCUS_REPL_ID,
|
|
1069
1069
|
category: DEBUG_COMMAND_CATEGORY,
|
|
1070
|
-
title: ( localize2(
|
|
1070
|
+
title: ( localize2(6479, "Focus on Debug Console View")),
|
|
1071
1071
|
});
|
|
1072
1072
|
}
|
|
1073
1073
|
async run(accessor) {
|
|
@@ -42,41 +42,41 @@ class ReplAccessibilityHelpProvider extends Disposable {
|
|
|
42
42
|
provideContent() {
|
|
43
43
|
return [
|
|
44
44
|
( localize(
|
|
45
|
-
|
|
45
|
+
6480,
|
|
46
46
|
"The debug console is a Read-Eval-Print-Loop that allows you to evaluate expressions and run commands and can be focused with{0}.",
|
|
47
47
|
'<keybinding:workbench.panel.repl.view.focus>'
|
|
48
48
|
)),
|
|
49
49
|
( localize(
|
|
50
|
-
|
|
50
|
+
6481,
|
|
51
51
|
"The debug console output can be navigated to from the input field with the Focus Previous Widget command{0}.",
|
|
52
52
|
'<keybinding:widgetNavigation.focusPrevious>'
|
|
53
53
|
)),
|
|
54
54
|
( localize(
|
|
55
|
-
|
|
55
|
+
6482,
|
|
56
56
|
"The debug console input can be navigated to from the output with the Focus Next Widget command{0}.",
|
|
57
57
|
'<keybinding:widgetNavigation.focusNext>'
|
|
58
58
|
)),
|
|
59
59
|
( localize(
|
|
60
|
-
|
|
60
|
+
6483,
|
|
61
61
|
"The debug console output history can be navigated with the up and down arrow keys."
|
|
62
62
|
)),
|
|
63
63
|
( localize(
|
|
64
|
-
|
|
64
|
+
6484,
|
|
65
65
|
"The Open Accessible View command{0} will allow character by character navigation of the console output.",
|
|
66
66
|
'<keybinding:editor.action.accessibleView>'
|
|
67
67
|
)),
|
|
68
68
|
( localize(
|
|
69
|
-
|
|
69
|
+
6485,
|
|
70
70
|
"The Show Run and Debug view command{0} will open the Run and Debug view and provides more information about debugging.",
|
|
71
71
|
'<keybinding:workbench.view.debug>'
|
|
72
72
|
)),
|
|
73
73
|
( localize(
|
|
74
|
-
|
|
74
|
+
6486,
|
|
75
75
|
"The Debug: Clear Console command{0} will clear the console output.",
|
|
76
76
|
'<keybinding:workbench.debug.panel.action.clearReplAction>'
|
|
77
77
|
)),
|
|
78
78
|
( localize(
|
|
79
|
-
|
|
79
|
+
6487,
|
|
80
80
|
"The setting `debug.expandLazyVariables` controls whether variables are evaluated automatically. This is enabled by default when using a screen reader."
|
|
81
81
|
)),
|
|
82
82
|
].join('\n');
|
|
@@ -21,7 +21,7 @@ import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/
|
|
|
21
21
|
import { Variable } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
22
22
|
import { ReplVariableElement, ReplEvaluationResult, ReplOutputElement, ReplEvaluationInput, ReplGroup, RawObjectReplElement } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/replModel';
|
|
23
23
|
import { AbstractExpressionsRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
|
|
24
|
-
import { debugConsoleEvaluationInput } from '@codingame/monaco-vscode-
|
|
24
|
+
import { debugConsoleEvaluationInput } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
25
25
|
|
|
26
26
|
var ReplGroupRenderer_1, ReplOutputElementRenderer_1, ReplVariablesRenderer_1;
|
|
27
27
|
const $ = $$1;
|
|
@@ -308,20 +308,20 @@ class ReplDataSource {
|
|
|
308
308
|
}
|
|
309
309
|
class ReplAccessibilityProvider {
|
|
310
310
|
getWidgetAriaLabel() {
|
|
311
|
-
return localize(
|
|
311
|
+
return localize(6488, "Debug Console");
|
|
312
312
|
}
|
|
313
313
|
getAriaLabel(element) {
|
|
314
314
|
if (element instanceof Variable) {
|
|
315
|
-
return localize(
|
|
315
|
+
return localize(6489, "Variable {0}, value {1}", element.name, element.value);
|
|
316
316
|
}
|
|
317
317
|
if (element instanceof ReplOutputElement || element instanceof ReplEvaluationInput || element instanceof ReplEvaluationResult) {
|
|
318
|
-
return element.value + (element instanceof ReplOutputElement && element.count > 1 ? ( localize(
|
|
318
|
+
return element.value + (element instanceof ReplOutputElement && element.count > 1 ? ( localize(6490, ", occurred {0} times", element.count)) : '');
|
|
319
319
|
}
|
|
320
320
|
if (element instanceof RawObjectReplElement) {
|
|
321
|
-
return localize(
|
|
321
|
+
return localize(6491, "Debug console variable {0}, value {1}", element.name, element.value);
|
|
322
322
|
}
|
|
323
323
|
if (element instanceof ReplGroup) {
|
|
324
|
-
return localize(
|
|
324
|
+
return localize(6492, "Debug console group {0}", element.name);
|
|
325
325
|
}
|
|
326
326
|
return '';
|
|
327
327
|
}
|
|
@@ -53,79 +53,79 @@ let RunAndDebugAccessibilityHelpProvider = class RunAndDebugAccessibilityHelpPro
|
|
|
53
53
|
provideContent() {
|
|
54
54
|
return [
|
|
55
55
|
( localize(
|
|
56
|
-
|
|
56
|
+
6493,
|
|
57
57
|
"The Show Run and Debug view command{0} will open the current view.",
|
|
58
58
|
'<keybinding:workbench.view.debug>'
|
|
59
59
|
)),
|
|
60
60
|
( localize(
|
|
61
|
-
|
|
61
|
+
6494,
|
|
62
62
|
"The Debug: Start Debugging command{0} will start a debug session.",
|
|
63
63
|
'<keybinding:workbench.action.debug.start>'
|
|
64
64
|
)),
|
|
65
65
|
( localize(
|
|
66
|
-
|
|
66
|
+
6495,
|
|
67
67
|
"Access debug output and evaluate expressions in the debug console, which can be focused with{0}.",
|
|
68
68
|
'<keybinding:workbench.panel.repl.view.focus>'
|
|
69
69
|
)),
|
|
70
70
|
AccessibilityHelpNLS.setBreakpoint,
|
|
71
71
|
AccessibilityHelpNLS.addToWatch,
|
|
72
|
-
( localize(
|
|
72
|
+
( localize(6496, "Once debugging, the following commands will be available:")),
|
|
73
73
|
( localize(
|
|
74
|
-
|
|
74
|
+
6497,
|
|
75
75
|
"- Debug: Restart Debugging command{0} will restart the current debug session.",
|
|
76
76
|
'<keybinding:workbench.action.debug.restart>'
|
|
77
77
|
)),
|
|
78
78
|
( localize(
|
|
79
|
-
|
|
79
|
+
6498,
|
|
80
80
|
"- Debug: Stop Debugging command{0} will stop the current debugging session.",
|
|
81
81
|
'<keybinding:workbench.action.debug.stop>'
|
|
82
82
|
)),
|
|
83
83
|
( localize(
|
|
84
|
-
|
|
84
|
+
6499,
|
|
85
85
|
"- Debug: Continue command{0} will continue execution until the next breakpoint.",
|
|
86
86
|
'<keybinding:workbench.action.debug.continue>'
|
|
87
87
|
)),
|
|
88
88
|
( localize(
|
|
89
|
-
|
|
89
|
+
6500,
|
|
90
90
|
"- Debug: Step Into command{0} will step into the next function call.",
|
|
91
91
|
'<keybinding:workbench.action.debug.stepInto>'
|
|
92
92
|
)),
|
|
93
93
|
( localize(
|
|
94
|
-
|
|
94
|
+
6501,
|
|
95
95
|
"- Debug: Step Over command{0} will step over the current function call.",
|
|
96
96
|
'<keybinding:workbench.action.debug.stepOver>'
|
|
97
97
|
)),
|
|
98
98
|
( localize(
|
|
99
|
-
|
|
99
|
+
6502,
|
|
100
100
|
"- Debug: Step Out command{0} will step out of the current function call.",
|
|
101
101
|
'<keybinding:workbench.action.debug.stepOut>'
|
|
102
102
|
)),
|
|
103
103
|
( localize(
|
|
104
|
-
|
|
104
|
+
6503,
|
|
105
105
|
'The debug viewlet is comprised of several views that can be focused with the following commands or navigated to via tab then arrow keys:'
|
|
106
106
|
)),
|
|
107
107
|
( localize(
|
|
108
|
-
|
|
108
|
+
6504,
|
|
109
109
|
"- Debug: Focus Breakpoints View command{0} will focus the breakpoints view.",
|
|
110
110
|
'<keybinding:workbench.debug.action.focusBreakpointsView>'
|
|
111
111
|
)),
|
|
112
112
|
( localize(
|
|
113
|
-
|
|
113
|
+
6505,
|
|
114
114
|
"- Debug: Focus Call Stack View command{0} will focus the call stack view.",
|
|
115
115
|
'<keybinding:workbench.debug.action.focusCallStackView>'
|
|
116
116
|
)),
|
|
117
117
|
( localize(
|
|
118
|
-
|
|
118
|
+
6506,
|
|
119
119
|
"- Debug: Focus Variables View command{0} will focus the variables view.",
|
|
120
120
|
'<keybinding:workbench.debug.action.focusVariablesView>'
|
|
121
121
|
)),
|
|
122
122
|
( localize(
|
|
123
|
-
|
|
123
|
+
6507,
|
|
124
124
|
"- Debug: Focus Watch View command{0} will focus the watch view.",
|
|
125
125
|
'<keybinding:workbench.debug.action.focusWatchView>'
|
|
126
126
|
)),
|
|
127
127
|
( localize(
|
|
128
|
-
|
|
128
|
+
6508,
|
|
129
129
|
"The setting {0} controls whether watch variable changes are announced.",
|
|
130
130
|
'accessibility.debugWatchVariableAnnouncements'
|
|
131
131
|
)),
|
|
@@ -27,7 +27,7 @@ const STATUS_BAR_DEBUGGING_BACKGROUND = registerColor('statusBar.debuggingBackgr
|
|
|
27
27
|
hcDark: '#BA592C',
|
|
28
28
|
hcLight: '#B5200D'
|
|
29
29
|
}, ( localize(
|
|
30
|
-
|
|
30
|
+
6509,
|
|
31
31
|
"Status bar background color when a program is being debugged. The status bar is shown in the bottom of the window"
|
|
32
32
|
)));
|
|
33
33
|
const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForeground', {
|
|
@@ -36,14 +36,14 @@ const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForegr
|
|
|
36
36
|
hcDark: STATUS_BAR_FOREGROUND,
|
|
37
37
|
hcLight: '#FFFFFF'
|
|
38
38
|
}, ( localize(
|
|
39
|
-
|
|
39
|
+
6510,
|
|
40
40
|
"Status bar foreground color when a program is being debugged. The status bar is shown in the bottom of the window"
|
|
41
41
|
)));
|
|
42
42
|
const STATUS_BAR_DEBUGGING_BORDER = registerColor('statusBar.debuggingBorder', STATUS_BAR_BORDER, ( localize(
|
|
43
|
-
|
|
43
|
+
6511,
|
|
44
44
|
"Status bar border color separating to the sidebar and editor when a program is being debugged. The status bar is shown in the bottom of the window"
|
|
45
45
|
)));
|
|
46
|
-
const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(
|
|
46
|
+
const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(6512, "Command center background color when a program is being debugged")), true);
|
|
47
47
|
let StatusBarColorProvider = class StatusBarColorProvider {
|
|
48
48
|
set enabled(enabled) {
|
|
49
49
|
if (enabled === !!this.disposable) {
|
|
@@ -12,7 +12,7 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
12
12
|
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
13
13
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
14
14
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
15
|
-
import { ViewPane } from "@codingame/monaco-vscode-
|
|
15
|
+
import { ViewPane } from "@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
16
16
|
import { IViewletViewOptions } from "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
|
|
17
17
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
18
18
|
import { IDebugViewWithVariables, IExpression } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
@@ -21,7 +21,7 @@ import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
21
21
|
import { WorkbenchAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
22
22
|
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
23
23
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
24
|
-
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-
|
|
24
|
+
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
25
25
|
import { FocusedViewContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
26
26
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
27
27
|
import { CONTEXT_WATCH_EXPRESSIONS_EXIST, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_VARIABLE_TYPE, CONTEXT_DEBUG_TYPE, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, WATCH_VIEW_ID, CONTEXT_EXPRESSION_SELECTED } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -30,7 +30,7 @@ import { Expression, Variable, VisualizedExpression } from '@codingame/monaco-vs
|
|
|
30
30
|
import { renderViewTree, expressionAndScopeLabelProvider, AbstractExpressionDataSource, AbstractExpressionsRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
|
|
31
31
|
import { setDataBreakpointInfoResponse, COPY_WATCH_EXPRESSION_COMMAND_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
32
32
|
import { DebugExpressionRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugExpressionRenderer';
|
|
33
|
-
import { watchExpressionsAdd, watchExpressionsRemoveAll } from '@codingame/monaco-vscode-
|
|
33
|
+
import { watchExpressionsAdd, watchExpressionsRemoveAll } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
34
34
|
import { VariablesRenderer, VisualizedVariableRenderer } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/variablesView';
|
|
35
35
|
|
|
36
36
|
var WatchExpressionsRenderer_1;
|
|
@@ -288,7 +288,7 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
|
|
|
288
288
|
if (settingValue) {
|
|
289
289
|
return {
|
|
290
290
|
initialValue: expression.value,
|
|
291
|
-
ariaLabel: ( localize(
|
|
291
|
+
ariaLabel: ( localize(6521, "Type new value")),
|
|
292
292
|
onFinish: async (value, success) => {
|
|
293
293
|
if (success && value) {
|
|
294
294
|
const focusedFrame = this.debugService.getViewModel().focusedStackFrame;
|
|
@@ -302,8 +302,8 @@ let WatchExpressionsRenderer = class WatchExpressionsRenderer extends AbstractEx
|
|
|
302
302
|
}
|
|
303
303
|
return {
|
|
304
304
|
initialValue: expression.name ? expression.name : '',
|
|
305
|
-
ariaLabel: ( localize(
|
|
306
|
-
placeholder: ( localize(
|
|
305
|
+
ariaLabel: ( localize(6522, "Type watch expression")),
|
|
306
|
+
placeholder: ( localize(6523, "Expression to watch")),
|
|
307
307
|
onFinish: (value, success) => {
|
|
308
308
|
if (success && value) {
|
|
309
309
|
this.debugService.renameWatchExpression(expression.getId(), value);
|
|
@@ -379,13 +379,13 @@ async function getContextForWatchExpressionMenuWithDataAccess(parentContext, exp
|
|
|
379
379
|
}
|
|
380
380
|
class WatchExpressionsAccessibilityProvider {
|
|
381
381
|
getWidgetAriaLabel() {
|
|
382
|
-
return localize(
|
|
382
|
+
return localize(6524, "Debug Watch Expressions");
|
|
383
383
|
}
|
|
384
384
|
getAriaLabel(element) {
|
|
385
385
|
if (element instanceof Expression) {
|
|
386
|
-
return localize(
|
|
386
|
+
return localize(6525, "{0}, value {1}", element.name, element.value);
|
|
387
387
|
}
|
|
388
|
-
return localize(
|
|
388
|
+
return localize(6526, "{0}, value {1}", element.name, element.value);
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
class WatchExpressionsDragAndDrop {
|
|
@@ -471,7 +471,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
471
471
|
super({
|
|
472
472
|
id: 'watch.collapse',
|
|
473
473
|
viewId: WATCH_VIEW_ID,
|
|
474
|
-
title: ( localize(
|
|
474
|
+
title: ( localize(6527, "Collapse All")),
|
|
475
475
|
f1: false,
|
|
476
476
|
icon: Codicon.collapseAll,
|
|
477
477
|
precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
|
|
@@ -488,7 +488,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
488
488
|
}
|
|
489
489
|
});
|
|
490
490
|
const ADD_WATCH_ID = 'workbench.debug.viewlet.action.addWatchExpression';
|
|
491
|
-
const ADD_WATCH_LABEL = ( localize(
|
|
491
|
+
const ADD_WATCH_LABEL = ( localize(6528, "Add Expression"));
|
|
492
492
|
registerAction2(class AddWatchExpressionAction extends Action2 {
|
|
493
493
|
constructor() {
|
|
494
494
|
super({
|
|
@@ -509,7 +509,7 @@ registerAction2(class AddWatchExpressionAction extends Action2 {
|
|
|
509
509
|
}
|
|
510
510
|
});
|
|
511
511
|
const REMOVE_WATCH_EXPRESSIONS_COMMAND_ID = 'workbench.debug.viewlet.action.removeAllWatchExpressions';
|
|
512
|
-
const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(
|
|
512
|
+
const REMOVE_WATCH_EXPRESSIONS_LABEL = ( localize(6529, "Remove All Expressions"));
|
|
513
513
|
registerAction2(class RemoveAllWatchExpressionsAction extends Action2 {
|
|
514
514
|
constructor() {
|
|
515
515
|
super({
|
|
@@ -535,7 +535,7 @@ registerAction2(class CopyExpression extends ViewAction {
|
|
|
535
535
|
constructor() {
|
|
536
536
|
super({
|
|
537
537
|
id: COPY_WATCH_EXPRESSION_COMMAND_ID,
|
|
538
|
-
title: ( localize(
|
|
538
|
+
title: ( localize(6530, "Copy Expression")),
|
|
539
539
|
f1: false,
|
|
540
540
|
viewId: WATCH_VIEW_ID,
|
|
541
541
|
precondition: CONTEXT_WATCH_EXPRESSIONS_EXIST,
|
|
@@ -8,7 +8,7 @@ import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platf
|
|
|
8
8
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
9
9
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
10
10
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
11
|
-
import { ViewPane } from "@codingame/monaco-vscode-
|
|
11
|
+
import { ViewPane } from "@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
12
12
|
import { IViewletViewOptions } from "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
|
|
13
13
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
14
14
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
@@ -16,7 +16,7 @@ import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode
|
|
|
16
16
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
17
17
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
18
18
|
import { OpenFileAction, OpenFolderAction } from '@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common/vscode/vs/workbench/browser/actions/workspaceActions';
|
|
19
|
-
import { ViewPane } from '@codingame/monaco-vscode-
|
|
19
|
+
import { ViewPane } from '@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
20
20
|
import { WorkbenchStateContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
21
21
|
import { Extensions, ViewContentGroups } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
22
22
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
@@ -30,7 +30,7 @@ const CONTEXT_DEBUG_START_LANGUAGE = ( new RawContextKey(debugStartLanguageKey,
|
|
|
30
30
|
const CONTEXT_DEBUGGER_INTERESTED_IN_ACTIVE_EDITOR = ( new RawContextKey('debuggerInterestedInActiveEditor', false));
|
|
31
31
|
let WelcomeView = class WelcomeView extends ViewPane {
|
|
32
32
|
static { this.ID = 'workbench.debug.welcome'; }
|
|
33
|
-
static { this.LABEL = ( localize2(
|
|
33
|
+
static { this.LABEL = ( localize2(6531, "Run")); }
|
|
34
34
|
constructor(options, themeService, keybindingService, contextMenuService, configurationService, contextKeyService, debugService, editorService, instantiationService, viewDescriptorService, openerService, storageSevice, hoverService) {
|
|
35
35
|
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
|
|
36
36
|
this.debugService = debugService;
|
|
@@ -100,7 +100,7 @@ WelcomeView = ( __decorate([
|
|
|
100
100
|
const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
|
|
101
101
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
102
102
|
content: ( localize(
|
|
103
|
-
|
|
103
|
+
6532,
|
|
104
104
|
"[Open a file](command:{0}) which can be debugged or run.",
|
|
105
105
|
OpenFileAction.ID
|
|
106
106
|
)),
|
|
@@ -109,14 +109,14 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
|
109
109
|
});
|
|
110
110
|
let debugKeybindingLabel = '';
|
|
111
111
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
112
|
-
content: `[${( localize(
|
|
112
|
+
content: `[${( localize(6533, "Run and Debug"))}${debugKeybindingLabel}](command:${DEBUG_START_COMMAND_ID})`,
|
|
113
113
|
when: CONTEXT_DEBUGGERS_AVAILABLE,
|
|
114
114
|
group: ViewContentGroups.Debug,
|
|
115
115
|
order: 1
|
|
116
116
|
});
|
|
117
117
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
118
118
|
content: ( localize(
|
|
119
|
-
|
|
119
|
+
6534,
|
|
120
120
|
"To customize Run and Debug [create a launch.json file](command:{0}).",
|
|
121
121
|
`${DEBUG_CONFIGURE_COMMAND_ID}?${encodeURIComponent(JSON.stringify([{ addNew: true }]))}`
|
|
122
122
|
)),
|
|
@@ -125,7 +125,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
|
125
125
|
});
|
|
126
126
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
127
127
|
content: ( localize(
|
|
128
|
-
|
|
128
|
+
6535,
|
|
129
129
|
"To customize Run and Debug, [open a folder](command:{0}) and create a launch.json file.",
|
|
130
130
|
OpenFolderAction.ID
|
|
131
131
|
)),
|
|
@@ -134,7 +134,7 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
|
134
134
|
});
|
|
135
135
|
viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
|
|
136
136
|
content: ( localize(
|
|
137
|
-
|
|
137
|
+
6536,
|
|
138
138
|
"All debug extensions are disabled. Enable a debug extension or install a new one from the Marketplace."
|
|
139
139
|
)),
|
|
140
140
|
when: ( CONTEXT_DEBUG_EXTENSION_AVAILABLE.toNegated()),
|
|
@@ -53,14 +53,14 @@ let DebugContentProvider = class DebugContentProvider extends Disposable {
|
|
|
53
53
|
session = this.debugService.getViewModel().focusedSession;
|
|
54
54
|
}
|
|
55
55
|
if (!session) {
|
|
56
|
-
return Promise.reject(( new ErrorNoTelemetry(( localize(
|
|
56
|
+
return Promise.reject(( new ErrorNoTelemetry(( localize(6603, "Unable to resolve the resource without a debug session")))));
|
|
57
57
|
}
|
|
58
58
|
const createErrModel = (errMsg) => {
|
|
59
59
|
this.debugService.sourceIsNotAvailable(resource);
|
|
60
60
|
const languageSelection = this.languageService.createById(PLAINTEXT_LANGUAGE_ID);
|
|
61
61
|
const message = errMsg
|
|
62
|
-
? ( localize(
|
|
63
|
-
: ( localize(
|
|
62
|
+
? ( localize(6604, "Could not load source '{0}': {1}.", resource.path, errMsg))
|
|
63
|
+
: ( localize(6605, "Could not load source '{0}'.", resource.path));
|
|
64
64
|
return this.modelService.createModel(message, languageSelection, resource);
|
|
65
65
|
};
|
|
66
66
|
return session.loadSource(resource).then(response => {
|
|
@@ -31,20 +31,20 @@ let DebugLifecycle = class DebugLifecycle {
|
|
|
31
31
|
let message;
|
|
32
32
|
if (numSessions === 1) {
|
|
33
33
|
message = ( localize(
|
|
34
|
-
|
|
34
|
+
6606,
|
|
35
35
|
"There is an active debug session, are you sure you want to stop it?"
|
|
36
36
|
));
|
|
37
37
|
}
|
|
38
38
|
else {
|
|
39
39
|
message = ( localize(
|
|
40
|
-
|
|
40
|
+
6607,
|
|
41
41
|
"There are active debug sessions, are you sure you want to stop them?"
|
|
42
42
|
));
|
|
43
43
|
}
|
|
44
44
|
const res = await this.dialogService.confirm({
|
|
45
45
|
message,
|
|
46
46
|
type: 'warning',
|
|
47
|
-
primaryButton: ( localize(
|
|
47
|
+
primaryButton: ( localize(6608, "&&Stop Debugging"))
|
|
48
48
|
});
|
|
49
49
|
return !res.confirmed;
|
|
50
50
|
}
|