@codingame/monaco-vscode-debug-service-override 1.83.4 → 1.83.6
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/baseDebugView.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +193 -86
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +44 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +254 -60
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +10 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +98 -28
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +429 -185
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +25 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +62 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +130 -32
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +20 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +105 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +10 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +18 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +39 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +100 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +58 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +17 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +12 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +80 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +15 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +8 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +36 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +24 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +33 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +34 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +26 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +48 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +31 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +20 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +40 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +49 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +5 -60
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +18 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +15 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +32 -22
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +205 -41
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +51 -10
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +5 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -1
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +18 -7
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +80 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +5 -1
|
@@ -19,7 +19,7 @@ import { BreakpointsView } from './breakpointsView.js';
|
|
|
19
19
|
import { CallStackEditorContribution } from './callStackEditorContribution.js';
|
|
20
20
|
import { CallStackView } from './callStackView.js';
|
|
21
21
|
import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
22
|
-
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, TERMINATE_THREAD_ID, STEP_OVER_LABEL, STEP_OVER_ID, STEP_INTO_LABEL, STEP_INTO_ID, STEP_INTO_TARGET_LABEL, STEP_INTO_TARGET_ID, STEP_OUT_LABEL, STEP_OUT_ID, PAUSE_LABEL, PAUSE_ID, STOP_LABEL, STOP_ID, CONTINUE_LABEL, CONTINUE_ID, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, SELECT_AND_START_LABEL, CALLSTACK_TOP_LABEL, CALLSTACK_TOP_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_UP_LABEL, CALLSTACK_UP_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_DOWN_ID, RESTART_LABEL, RESTART_SESSION_ID, DISCONNECT_LABEL, DISCONNECT_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID,
|
|
22
|
+
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, TERMINATE_THREAD_ID, STEP_OVER_LABEL, STEP_OVER_ID, STEP_INTO_LABEL, STEP_INTO_ID, STEP_INTO_TARGET_LABEL, STEP_INTO_TARGET_ID, STEP_OUT_LABEL, STEP_OUT_ID, PAUSE_LABEL, PAUSE_ID, STOP_LABEL, STOP_ID, CONTINUE_LABEL, CONTINUE_ID, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, SELECT_AND_START_LABEL, CALLSTACK_TOP_LABEL, CALLSTACK_TOP_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_UP_LABEL, CALLSTACK_UP_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_DOWN_ID, RESTART_LABEL, RESTART_SESSION_ID, DISCONNECT_LABEL, DISCONNECT_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, DEBUG_COMMAND_CATEGORY, NEXT_DEBUG_CONSOLE_LABEL, NEXT_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, OPEN_LOADED_SCRIPTS_LABEL, SHOW_LOADED_SCRIPTS_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_LABEL, SELECT_DEBUG_SESSION_ID } from './debugCommands.js';
|
|
23
23
|
import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
|
|
24
24
|
import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
|
|
25
25
|
import { DebugEditorContribution } from './debugEditorContribution.js';
|
|
@@ -42,7 +42,11 @@ import { DebugLifecycle } from '../common/debugLifecycle.js';
|
|
|
42
42
|
import { DisassemblyViewInput } from '../common/disassemblyViewInput.js';
|
|
43
43
|
import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
|
|
44
44
|
|
|
45
|
-
const debugCategory = nls.localizeWithPath(
|
|
45
|
+
const debugCategory = ( nls.localizeWithPath(
|
|
46
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
47
|
+
'debugCategory',
|
|
48
|
+
"Debug"
|
|
49
|
+
));
|
|
46
50
|
registerColors();
|
|
47
51
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, 4 );
|
|
48
52
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, 4 );
|
|
@@ -58,9 +62,17 @@ if (isWeb) {
|
|
|
58
62
|
ctor: StartDebugQuickAccessProvider,
|
|
59
63
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
60
64
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
61
|
-
placeholder: nls.localizeWithPath(
|
|
65
|
+
placeholder: ( nls.localizeWithPath(
|
|
66
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
67
|
+
'startDebugPlaceholder',
|
|
68
|
+
"Type the name of a launch configuration to run."
|
|
69
|
+
)),
|
|
62
70
|
helpEntries: [{
|
|
63
|
-
description: nls.localizeWithPath(
|
|
71
|
+
description: ( nls.localizeWithPath(
|
|
72
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
73
|
+
'startDebuggingHelp',
|
|
74
|
+
"Start Debugging"
|
|
75
|
+
)),
|
|
64
76
|
commandId: SELECT_AND_START_ID,
|
|
65
77
|
commandCenterOrder: 50
|
|
66
78
|
}]
|
|
@@ -69,8 +81,16 @@ if (isWeb) {
|
|
|
69
81
|
ctor: DebugConsoleQuickAccess,
|
|
70
82
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
71
83
|
contextKey: 'inDebugConsolePicker',
|
|
72
|
-
placeholder: nls.localizeWithPath(
|
|
73
|
-
|
|
84
|
+
placeholder: ( nls.localizeWithPath(
|
|
85
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
86
|
+
'tasksQuickAccessPlaceholder',
|
|
87
|
+
"Type the name of a debug console to open."
|
|
88
|
+
)),
|
|
89
|
+
helpEntries: [{ description: ( nls.localizeWithPath(
|
|
90
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
91
|
+
'tasksQuickAccessHelp',
|
|
92
|
+
"Show All Debug Consoles"
|
|
93
|
+
)), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
74
94
|
});
|
|
75
95
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, 1 );
|
|
76
96
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, 1 );
|
|
@@ -87,7 +107,11 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
87
107
|
}
|
|
88
108
|
});
|
|
89
109
|
};
|
|
90
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, { value: nls.localizeWithPath(
|
|
110
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, { value: ( nls.localizeWithPath(
|
|
111
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
112
|
+
'terminateThread',
|
|
113
|
+
"Terminate Thread"
|
|
114
|
+
)), original: 'Terminate Thread' }, CONTEXT_IN_DEBUG_MODE);
|
|
91
115
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
92
116
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
93
117
|
registerDebugCommandPaletteItem(STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.and(CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')))));
|
|
@@ -95,13 +119,29 @@ registerDebugCommandPaletteItem(STEP_OUT_ID, STEP_OUT_LABEL, CONTEXT_IN_DEBUG_MO
|
|
|
95
119
|
registerDebugCommandPaletteItem(PAUSE_ID, PAUSE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('running')));
|
|
96
120
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
97
121
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
98
|
-
registerDebugCommandPaletteItem(FOCUS_REPL_ID, { value: nls.localizeWithPath(
|
|
99
|
-
|
|
100
|
-
|
|
122
|
+
registerDebugCommandPaletteItem(FOCUS_REPL_ID, { value: ( nls.localizeWithPath(
|
|
123
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
124
|
+
{ comment: ['Debug is a noun in this context, not a verb.'], key: 'debugFocusConsole' },
|
|
125
|
+
"Focus on Debug Console View"
|
|
126
|
+
)), original: 'Focus on Debug Console View' });
|
|
127
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, { value: ( nls.localizeWithPath(
|
|
128
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
129
|
+
'jumpToCursor',
|
|
130
|
+
"Jump to Cursor"
|
|
131
|
+
)), original: 'Jump to Cursor' }, CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
132
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, { value: ( nls.localizeWithPath(
|
|
133
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
134
|
+
'SetNextStatement',
|
|
135
|
+
"Set Next Statement"
|
|
136
|
+
)), original: 'Set Next Statement' }, CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
101
137
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, { value: RunToCursorAction.LABEL, original: 'Run to Cursor' }, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
102
138
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, { value: SelectionToReplAction.LABEL, original: 'Evaluate in Debug Console' }, CONTEXT_IN_DEBUG_MODE);
|
|
103
139
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, { value: SelectionToWatchExpressionsAction.LABEL, original: 'Add to Watch' });
|
|
104
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, { value: nls.localizeWithPath(
|
|
140
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, { value: ( nls.localizeWithPath(
|
|
141
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
142
|
+
'inlineBreakpoint',
|
|
143
|
+
"Inline Breakpoint"
|
|
144
|
+
)), original: 'Inline Breakpoint' });
|
|
105
145
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
|
|
106
146
|
registerDebugCommandPaletteItem(NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL);
|
|
107
147
|
registerDebugCommandPaletteItem(PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL);
|
|
@@ -135,148 +175,126 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
135
175
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
136
176
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
137
177
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
138
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, nls.localizeWithPath(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
registerDebugViewMenuItem(MenuId.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
registerDebugViewMenuItem(MenuId.
|
|
178
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( nls.localizeWithPath(
|
|
179
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
180
|
+
'terminateThread',
|
|
181
|
+
"Terminate Thread"
|
|
182
|
+
)), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), undefined, 'termination');
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( nls.localizeWithPath(
|
|
184
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
185
|
+
'restartFrame',
|
|
186
|
+
"Restart Frame"
|
|
187
|
+
)), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
188
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( nls.localizeWithPath(
|
|
189
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
190
|
+
'copyStackTrace',
|
|
191
|
+
"Copy Call Stack"
|
|
192
|
+
)), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
193
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( nls.localizeWithPath(
|
|
194
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
195
|
+
'viewMemory',
|
|
196
|
+
"View Binary Data"
|
|
197
|
+
)), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
198
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( nls.localizeWithPath(
|
|
199
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
200
|
+
'setValue',
|
|
201
|
+
"Set Value"
|
|
202
|
+
)), 10, ( ContextKeyExpr.or(CONTEXT_SET_VARIABLE_SUPPORTED, ( ContextKeyExpr.and(CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED)))), ( CONTEXT_VARIABLE_IS_READONLY.toNegated()), '3_modification');
|
|
203
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, ( nls.localizeWithPath(
|
|
204
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
205
|
+
'copyValue',
|
|
206
|
+
"Copy Value"
|
|
207
|
+
)), 10, undefined, undefined, '5_cutcopypaste');
|
|
208
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, ( nls.localizeWithPath(
|
|
209
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
210
|
+
'copyAsExpression',
|
|
211
|
+
"Copy as Expression"
|
|
212
|
+
)), 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
213
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ( nls.localizeWithPath(
|
|
214
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
215
|
+
'addToWatchExpressions',
|
|
216
|
+
"Add to Watch"
|
|
217
|
+
)), 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
218
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( nls.localizeWithPath(
|
|
219
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
220
|
+
'breakWhenValueIsRead',
|
|
221
|
+
"Break on Value Read"
|
|
222
|
+
)), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
223
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( nls.localizeWithPath(
|
|
224
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
225
|
+
'breakWhenValueChanges',
|
|
226
|
+
"Break on Value Change"
|
|
227
|
+
)), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
228
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( nls.localizeWithPath(
|
|
229
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
230
|
+
'breakWhenValueIsAccessed',
|
|
231
|
+
"Break on Value Access"
|
|
232
|
+
)), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
149
233
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
150
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, nls.localizeWithPath(
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
234
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( nls.localizeWithPath(
|
|
235
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
236
|
+
'editWatchExpression',
|
|
237
|
+
"Edit Expression"
|
|
238
|
+
)), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
239
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( nls.localizeWithPath(
|
|
240
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
241
|
+
'setValue',
|
|
242
|
+
"Set Value"
|
|
243
|
+
)), 30, ( ContextKeyExpr.or(( ContextKeyExpr.and(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), CONTEXT_SET_EXPRESSION_SUPPORTED)), ( ContextKeyExpr.and(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')), CONTEXT_SET_VARIABLE_SUPPORTED)))), ( CONTEXT_VARIABLE_IS_READONLY.toNegated()), '3_modification');
|
|
244
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( nls.localizeWithPath(
|
|
245
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
246
|
+
'copyValue',
|
|
247
|
+
"Copy Value"
|
|
248
|
+
)), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
249
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( nls.localizeWithPath(
|
|
250
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
251
|
+
'viewMemory',
|
|
252
|
+
"View Binary Data"
|
|
253
|
+
)), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
254
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( nls.localizeWithPath(
|
|
255
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
256
|
+
'removeWatchExpression',
|
|
257
|
+
"Remove Expression"
|
|
258
|
+
)), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
155
259
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
156
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: { value: nls.localizeWithPath(
|
|
260
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: { value: ( nls.localizeWithPath(
|
|
261
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
262
|
+
'run',
|
|
263
|
+
"Run or Debug..."
|
|
264
|
+
)), original: 'Run or Debug...', }, icon: debugRun, group: 'navigation', order: -1 });
|
|
157
265
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
158
266
|
submenu: MenuId.MenubarDebugMenu,
|
|
159
267
|
title: {
|
|
160
268
|
value: 'Run',
|
|
161
269
|
original: 'Run',
|
|
162
|
-
mnemonicTitle: nls.localizeWithPath(
|
|
270
|
+
mnemonicTitle: ( nls.localizeWithPath(
|
|
271
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
272
|
+
{ key: 'mRun', comment: ['&& denotes a mnemonic'] },
|
|
273
|
+
"&&Run"
|
|
274
|
+
))
|
|
163
275
|
},
|
|
164
276
|
order: 6
|
|
165
277
|
});
|
|
166
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
167
|
-
group: '1_debug',
|
|
168
|
-
command: {
|
|
169
|
-
id: DEBUG_START_COMMAND_ID,
|
|
170
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStartDebugging', comment: ['&& denotes a mnemonic'] }, "&&Start Debugging")
|
|
171
|
-
},
|
|
172
|
-
order: 1,
|
|
173
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
174
|
-
}));
|
|
175
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
176
|
-
group: '1_debug',
|
|
177
|
-
command: {
|
|
178
|
-
id: DEBUG_RUN_COMMAND_ID,
|
|
179
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miRun', comment: ['&& denotes a mnemonic'] }, "Run &&Without Debugging")
|
|
180
|
-
},
|
|
181
|
-
order: 2,
|
|
182
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
183
|
-
}));
|
|
184
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
185
|
-
group: '1_debug',
|
|
186
|
-
command: {
|
|
187
|
-
id: STOP_ID,
|
|
188
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStopDebugging', comment: ['&& denotes a mnemonic'] }, "&&Stop Debugging"),
|
|
189
|
-
precondition: CONTEXT_IN_DEBUG_MODE
|
|
190
|
-
},
|
|
191
|
-
order: 3,
|
|
192
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
193
|
-
}));
|
|
194
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
195
|
-
group: '1_debug',
|
|
196
|
-
command: {
|
|
197
|
-
id: RESTART_SESSION_ID,
|
|
198
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miRestart Debugging', comment: ['&& denotes a mnemonic'] }, "&&Restart Debugging"),
|
|
199
|
-
precondition: CONTEXT_IN_DEBUG_MODE
|
|
200
|
-
},
|
|
201
|
-
order: 4,
|
|
202
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
203
|
-
}));
|
|
204
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
205
|
-
group: '2_configuration',
|
|
206
|
-
command: {
|
|
207
|
-
id: ADD_CONFIGURATION_ID,
|
|
208
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miAddConfiguration', comment: ['&& denotes a mnemonic'] }, "A&&dd Configuration...")
|
|
209
|
-
},
|
|
210
|
-
order: 2,
|
|
211
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
212
|
-
}));
|
|
213
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
214
|
-
group: '3_step',
|
|
215
|
-
command: {
|
|
216
|
-
id: STEP_OVER_ID,
|
|
217
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStepOver', comment: ['&& denotes a mnemonic'] }, "Step &&Over"),
|
|
218
|
-
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
219
|
-
},
|
|
220
|
-
order: 1,
|
|
221
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
222
|
-
}));
|
|
223
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
224
|
-
group: '3_step',
|
|
225
|
-
command: {
|
|
226
|
-
id: STEP_INTO_ID,
|
|
227
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStepInto', comment: ['&& denotes a mnemonic'] }, "Step &&Into"),
|
|
228
|
-
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
229
|
-
},
|
|
230
|
-
order: 2,
|
|
231
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
232
|
-
}));
|
|
233
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
234
|
-
group: '3_step',
|
|
235
|
-
command: {
|
|
236
|
-
id: STEP_OUT_ID,
|
|
237
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStepOut', comment: ['&& denotes a mnemonic'] }, "Step O&&ut"),
|
|
238
|
-
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
239
|
-
},
|
|
240
|
-
order: 3,
|
|
241
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
242
|
-
}));
|
|
243
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
244
|
-
group: '3_step',
|
|
245
|
-
command: {
|
|
246
|
-
id: CONTINUE_ID,
|
|
247
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miContinue', comment: ['&& denotes a mnemonic'] }, "&&Continue"),
|
|
248
|
-
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
249
|
-
},
|
|
250
|
-
order: 4,
|
|
251
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
252
|
-
}));
|
|
253
278
|
MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
254
279
|
group: '1_breakpoints',
|
|
255
280
|
command: {
|
|
256
281
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
257
|
-
title: nls.localizeWithPath(
|
|
282
|
+
title: ( nls.localizeWithPath(
|
|
283
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
284
|
+
{ key: 'miInlineBreakpoint', comment: ['&& denotes a mnemonic'] },
|
|
285
|
+
"Inline Breakp&&oint"
|
|
286
|
+
))
|
|
258
287
|
},
|
|
259
288
|
order: 2,
|
|
260
289
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
261
290
|
});
|
|
262
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
263
|
-
group: '4_new_breakpoint',
|
|
264
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miNewBreakpoint', comment: ['&& denotes a mnemonic'] }, "&&New Breakpoint"),
|
|
265
|
-
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
266
|
-
order: 2,
|
|
267
|
-
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
268
|
-
}));
|
|
269
|
-
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
270
|
-
group: 'z_install',
|
|
271
|
-
command: {
|
|
272
|
-
id: 'debug.installAdditionalDebuggers',
|
|
273
|
-
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miInstallAdditionalDebuggers', comment: ['&& denotes a mnemonic'] }, "&&Install Additional Debuggers...")
|
|
274
|
-
},
|
|
275
|
-
order: 1
|
|
276
|
-
}));
|
|
277
291
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
278
292
|
id: DEBUG_PANEL_ID,
|
|
279
|
-
title: { value: nls.localizeWithPath(
|
|
293
|
+
title: { value: ( nls.localizeWithPath(
|
|
294
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
295
|
+
{ comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
|
|
296
|
+
"Debug Console"
|
|
297
|
+
)), original: 'Debug Console' },
|
|
280
298
|
icon: debugConsoleViewIcon,
|
|
281
299
|
ctorDescriptor: ( new SyncDescriptor(
|
|
282
300
|
ViewPaneContainer,
|
|
@@ -288,7 +306,11 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
288
306
|
}, 1 , { doNotRegisterOpenCommand: true });
|
|
289
307
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
290
308
|
id: REPL_VIEW_ID,
|
|
291
|
-
name: nls.localizeWithPath(
|
|
309
|
+
name: ( nls.localizeWithPath(
|
|
310
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
311
|
+
{ comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
|
|
312
|
+
"Debug Console"
|
|
313
|
+
)),
|
|
292
314
|
containerIcon: debugConsoleViewIcon,
|
|
293
315
|
canToggleVisibility: false,
|
|
294
316
|
canMoveView: true,
|
|
@@ -296,17 +318,29 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
296
318
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
297
319
|
openCommandActionDescriptor: {
|
|
298
320
|
id: 'workbench.debug.action.toggleRepl',
|
|
299
|
-
mnemonicTitle: nls.localizeWithPath(
|
|
321
|
+
mnemonicTitle: ( nls.localizeWithPath(
|
|
322
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
323
|
+
{ key: 'miToggleDebugConsole', comment: ['&& denotes a mnemonic'] },
|
|
324
|
+
"De&&bug Console"
|
|
325
|
+
)),
|
|
300
326
|
keybindings: { primary: 2048 | 1024 | 55 },
|
|
301
327
|
order: 2
|
|
302
328
|
}
|
|
303
329
|
}], VIEW_CONTAINER);
|
|
304
330
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
305
331
|
id: VIEWLET_ID,
|
|
306
|
-
title: { value: nls.localizeWithPath(
|
|
332
|
+
title: { value: ( nls.localizeWithPath(
|
|
333
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
334
|
+
'run and debug',
|
|
335
|
+
"Run and Debug"
|
|
336
|
+
)), original: 'Run and Debug' },
|
|
307
337
|
openCommandActionDescriptor: {
|
|
308
338
|
id: VIEWLET_ID,
|
|
309
|
-
mnemonicTitle: nls.localizeWithPath(
|
|
339
|
+
mnemonicTitle: ( nls.localizeWithPath(
|
|
340
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
341
|
+
{ key: 'miViewRun', comment: ['&& denotes a mnemonic'] },
|
|
342
|
+
"&&Run"
|
|
343
|
+
)),
|
|
310
344
|
keybindings: { primary: 2048 | 1024 | 34 },
|
|
311
345
|
order: 3
|
|
312
346
|
},
|
|
@@ -316,179 +350,389 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
316
350
|
order: 3,
|
|
317
351
|
}, 0 );
|
|
318
352
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
319
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: nls.localizeWithPath(
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
353
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( nls.localizeWithPath(
|
|
354
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
355
|
+
'variables',
|
|
356
|
+
"Variables"
|
|
357
|
+
)), containerIcon: variablesViewIcon, ctorDescriptor: ( new SyncDescriptor(VariablesView)), order: 10, weight: 40, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusVariablesView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
358
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'watch', "Watch")), containerIcon: watchViewIcon, ctorDescriptor: ( new SyncDescriptor(WatchExpressionsView)), order: 20, weight: 10, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusWatchView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
359
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( nls.localizeWithPath(
|
|
360
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
361
|
+
'callStack',
|
|
362
|
+
"Call Stack"
|
|
363
|
+
)), containerIcon: callStackViewIcon, ctorDescriptor: ( new SyncDescriptor(CallStackView)), order: 30, weight: 30, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusCallStackView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
364
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( nls.localizeWithPath(
|
|
365
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
366
|
+
'breakpoints',
|
|
367
|
+
"Breakpoints"
|
|
368
|
+
)), containerIcon: breakpointsViewIcon, ctorDescriptor: ( new SyncDescriptor(BreakpointsView)), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( ContextKeyExpr.or(CONTEXT_BREAKPOINTS_EXIST, ( CONTEXT_DEBUG_UX.isEqualTo('default')), CONTEXT_HAS_DEBUGGED)) }], viewContainer);
|
|
369
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( nls.localizeWithPath(
|
|
370
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
371
|
+
'loadedScripts',
|
|
372
|
+
"Loaded Scripts"
|
|
373
|
+
)), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( new SyncDescriptor(LoadedScriptsView)), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( ContextKeyExpr.and(CONTEXT_LOADED_SCRIPTS_SUPPORTED, ( CONTEXT_DEBUG_UX.isEqualTo('default')))) }], viewContainer);
|
|
374
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( nls.localizeWithPath(
|
|
375
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
376
|
+
'disassembly',
|
|
377
|
+
"Disassembly"
|
|
378
|
+
))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
325
379
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
326
380
|
configurationRegistry.registerConfiguration({
|
|
327
381
|
id: 'debug',
|
|
328
382
|
order: 20,
|
|
329
|
-
title: nls.localizeWithPath(
|
|
383
|
+
title: ( nls.localizeWithPath(
|
|
384
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
385
|
+
'debugConfigurationTitle',
|
|
386
|
+
"Debug"
|
|
387
|
+
)),
|
|
330
388
|
type: 'object',
|
|
331
389
|
properties: {
|
|
332
390
|
'debug.allowBreakpointsEverywhere': {
|
|
333
391
|
type: 'boolean',
|
|
334
|
-
description: nls.localizeWithPath(
|
|
392
|
+
description: ( nls.localizeWithPath(
|
|
393
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
394
|
+
{ comment: ['This is the description for a setting'], key: 'allowBreakpointsEverywhere' },
|
|
395
|
+
"Allow setting breakpoints in any file."
|
|
396
|
+
)),
|
|
335
397
|
default: false
|
|
336
398
|
},
|
|
337
399
|
'debug.openExplorerOnEnd': {
|
|
338
400
|
type: 'boolean',
|
|
339
|
-
description: nls.localizeWithPath(
|
|
401
|
+
description: ( nls.localizeWithPath(
|
|
402
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
403
|
+
{ comment: ['This is the description for a setting'], key: 'openExplorerOnEnd' },
|
|
404
|
+
"Automatically open the explorer view at the end of a debug session."
|
|
405
|
+
)),
|
|
340
406
|
default: false
|
|
341
407
|
},
|
|
342
408
|
'debug.inlineValues': {
|
|
343
409
|
type: 'string',
|
|
344
410
|
'enum': ['on', 'off', 'auto'],
|
|
345
|
-
description: nls.localizeWithPath(
|
|
411
|
+
description: ( nls.localizeWithPath(
|
|
412
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
413
|
+
{ comment: ['This is the description for a setting'], key: 'inlineValues' },
|
|
414
|
+
"Show variable values inline in editor while debugging."
|
|
415
|
+
)),
|
|
346
416
|
'enumDescriptions': [
|
|
347
|
-
nls.localizeWithPath(
|
|
348
|
-
|
|
349
|
-
|
|
417
|
+
( nls.localizeWithPath(
|
|
418
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
419
|
+
'inlineValues.on',
|
|
420
|
+
"Always show variable values inline in editor while debugging."
|
|
421
|
+
)),
|
|
422
|
+
( nls.localizeWithPath(
|
|
423
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
424
|
+
'inlineValues.off',
|
|
425
|
+
"Never show variable values inline in editor while debugging."
|
|
426
|
+
)),
|
|
427
|
+
( nls.localizeWithPath(
|
|
428
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
429
|
+
'inlineValues.focusNoScroll',
|
|
430
|
+
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
431
|
+
)),
|
|
350
432
|
],
|
|
351
433
|
default: 'auto'
|
|
352
434
|
},
|
|
353
435
|
'debug.toolBarLocation': {
|
|
354
436
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
355
|
-
markdownDescription: nls.localizeWithPath(
|
|
437
|
+
markdownDescription: ( nls.localizeWithPath(
|
|
438
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
439
|
+
{ comment: ['This is the description for a setting'], key: 'toolBarLocation' },
|
|
440
|
+
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires `{0}`), or `hidden`.",
|
|
441
|
+
'#window.commandCenter#',
|
|
442
|
+
'#window.titleBarStyle#'
|
|
443
|
+
)),
|
|
356
444
|
default: 'floating',
|
|
357
445
|
markdownEnumDescriptions: [
|
|
358
|
-
nls.localizeWithPath(
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
446
|
+
( nls.localizeWithPath(
|
|
447
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
448
|
+
'debugToolBar.floating',
|
|
449
|
+
"Show debug toolbar in all views."
|
|
450
|
+
)),
|
|
451
|
+
( nls.localizeWithPath(
|
|
452
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
453
|
+
'debugToolBar.docked',
|
|
454
|
+
"Show debug toolbar only in debug views."
|
|
455
|
+
)),
|
|
456
|
+
( nls.localizeWithPath(
|
|
457
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
458
|
+
'debugToolBar.commandCenter',
|
|
459
|
+
"`(Experimental)` Show debug toolbar in the command center."
|
|
460
|
+
)),
|
|
461
|
+
( nls.localizeWithPath(
|
|
462
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
463
|
+
'debugToolBar.hidden',
|
|
464
|
+
"Do not show debug toolbar."
|
|
465
|
+
)),
|
|
362
466
|
]
|
|
363
467
|
},
|
|
364
468
|
'debug.showInStatusBar': {
|
|
365
469
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
366
|
-
enumDescriptions: [
|
|
367
|
-
|
|
470
|
+
enumDescriptions: [( nls.localizeWithPath(
|
|
471
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
472
|
+
'never',
|
|
473
|
+
"Never show debug in Status bar"
|
|
474
|
+
)), ( nls.localizeWithPath(
|
|
475
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
476
|
+
'always',
|
|
477
|
+
"Always show debug in Status bar"
|
|
478
|
+
)), ( nls.localizeWithPath(
|
|
479
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
480
|
+
'onFirstSessionStart',
|
|
481
|
+
"Show debug in Status bar only after debug was started for the first time"
|
|
482
|
+
))],
|
|
483
|
+
description: ( nls.localizeWithPath(
|
|
484
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
485
|
+
{ comment: ['This is the description for a setting'], key: 'showInStatusBar' },
|
|
486
|
+
"Controls when the debug Status bar should be visible."
|
|
487
|
+
)),
|
|
368
488
|
default: 'onFirstSessionStart'
|
|
369
489
|
},
|
|
370
490
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
371
491
|
'debug.console.closeOnEnd': {
|
|
372
492
|
type: 'boolean',
|
|
373
|
-
description: nls.localizeWithPath(
|
|
493
|
+
description: ( nls.localizeWithPath(
|
|
494
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
495
|
+
'debug.console.closeOnEnd',
|
|
496
|
+
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
497
|
+
)),
|
|
374
498
|
default: false
|
|
375
499
|
},
|
|
376
500
|
'debug.terminal.clearBeforeReusing': {
|
|
377
501
|
type: 'boolean',
|
|
378
|
-
description: nls.localizeWithPath(
|
|
502
|
+
description: ( nls.localizeWithPath(
|
|
503
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
504
|
+
{ comment: ['This is the description for a setting'], key: 'debug.terminal.clearBeforeReusing' },
|
|
505
|
+
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
506
|
+
)),
|
|
379
507
|
default: false
|
|
380
508
|
},
|
|
381
509
|
'debug.openDebug': {
|
|
382
510
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
383
511
|
default: 'openOnDebugBreak',
|
|
384
|
-
description: nls.localizeWithPath(
|
|
512
|
+
description: ( nls.localizeWithPath(
|
|
513
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
514
|
+
'openDebug',
|
|
515
|
+
"Controls when the debug view should open."
|
|
516
|
+
))
|
|
385
517
|
},
|
|
386
518
|
'debug.showSubSessionsInToolBar': {
|
|
387
519
|
type: 'boolean',
|
|
388
|
-
description: nls.localizeWithPath(
|
|
520
|
+
description: ( nls.localizeWithPath(
|
|
521
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
522
|
+
{ comment: ['This is the description for a setting'], key: 'showSubSessionsInToolBar' },
|
|
523
|
+
"Controls whether the debug sub-sessions are shown in the debug tool bar. When this setting is false the stop command on a sub-session will also stop the parent session."
|
|
524
|
+
)),
|
|
389
525
|
default: false
|
|
390
526
|
},
|
|
391
527
|
'debug.console.fontSize': {
|
|
392
528
|
type: 'number',
|
|
393
|
-
description: nls.localizeWithPath(
|
|
529
|
+
description: ( nls.localizeWithPath(
|
|
530
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
531
|
+
'debug.console.fontSize',
|
|
532
|
+
"Controls the font size in pixels in the Debug Console."
|
|
533
|
+
)),
|
|
394
534
|
default: isMacintosh ? 12 : 14,
|
|
395
535
|
},
|
|
396
536
|
'debug.console.fontFamily': {
|
|
397
537
|
type: 'string',
|
|
398
|
-
description: nls.localizeWithPath(
|
|
538
|
+
description: ( nls.localizeWithPath(
|
|
539
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
540
|
+
'debug.console.fontFamily',
|
|
541
|
+
"Controls the font family in the Debug Console."
|
|
542
|
+
)),
|
|
399
543
|
default: 'default'
|
|
400
544
|
},
|
|
401
545
|
'debug.console.lineHeight': {
|
|
402
546
|
type: 'number',
|
|
403
|
-
description: nls.localizeWithPath(
|
|
547
|
+
description: ( nls.localizeWithPath(
|
|
548
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
549
|
+
'debug.console.lineHeight',
|
|
550
|
+
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
551
|
+
)),
|
|
404
552
|
default: 0
|
|
405
553
|
},
|
|
406
554
|
'debug.console.wordWrap': {
|
|
407
555
|
type: 'boolean',
|
|
408
|
-
description: nls.localizeWithPath(
|
|
556
|
+
description: ( nls.localizeWithPath(
|
|
557
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
558
|
+
'debug.console.wordWrap',
|
|
559
|
+
"Controls if the lines should wrap in the Debug Console."
|
|
560
|
+
)),
|
|
409
561
|
default: true
|
|
410
562
|
},
|
|
411
563
|
'debug.console.historySuggestions': {
|
|
412
564
|
type: 'boolean',
|
|
413
|
-
description: nls.localizeWithPath(
|
|
565
|
+
description: ( nls.localizeWithPath(
|
|
566
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
567
|
+
'debug.console.historySuggestions',
|
|
568
|
+
"Controls if the Debug Console should suggest previously typed input."
|
|
569
|
+
)),
|
|
414
570
|
default: true
|
|
415
571
|
},
|
|
416
572
|
'debug.console.collapseIdenticalLines': {
|
|
417
573
|
type: 'boolean',
|
|
418
|
-
description: nls.localizeWithPath(
|
|
574
|
+
description: ( nls.localizeWithPath(
|
|
575
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
576
|
+
'debug.console.collapseIdenticalLines',
|
|
577
|
+
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
578
|
+
)),
|
|
419
579
|
default: true
|
|
420
580
|
},
|
|
421
581
|
'debug.console.acceptSuggestionOnEnter': {
|
|
422
582
|
enum: ['off', 'on'],
|
|
423
|
-
description: nls.localizeWithPath(
|
|
583
|
+
description: ( nls.localizeWithPath(
|
|
584
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
585
|
+
'debug.console.acceptSuggestionOnEnter',
|
|
586
|
+
"Controls whether suggestions should be accepted on Enter in the Debug Console. Enter is also used to evaluate whatever is typed in the Debug Console."
|
|
587
|
+
)),
|
|
424
588
|
default: 'off'
|
|
425
589
|
},
|
|
426
590
|
'launch': {
|
|
427
591
|
type: 'object',
|
|
428
|
-
description: nls.localizeWithPath(
|
|
592
|
+
description: ( nls.localizeWithPath(
|
|
593
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
594
|
+
{ comment: ['This is the description for a setting'], key: 'launch' },
|
|
595
|
+
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
596
|
+
)),
|
|
429
597
|
default: { configurations: [], compounds: [] },
|
|
430
598
|
$ref: launchSchemaId
|
|
431
599
|
},
|
|
432
600
|
'debug.focusWindowOnBreak': {
|
|
433
601
|
type: 'boolean',
|
|
434
|
-
description: nls.localizeWithPath(
|
|
602
|
+
description: ( nls.localizeWithPath(
|
|
603
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
604
|
+
'debug.focusWindowOnBreak',
|
|
605
|
+
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
606
|
+
)),
|
|
435
607
|
default: true
|
|
436
608
|
},
|
|
437
609
|
'debug.focusEditorOnBreak': {
|
|
438
610
|
type: 'boolean',
|
|
439
|
-
description: nls.localizeWithPath(
|
|
611
|
+
description: ( nls.localizeWithPath(
|
|
612
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
613
|
+
'debug.focusEditorOnBreak',
|
|
614
|
+
"Controls whether the editor should be focused when the debugger breaks."
|
|
615
|
+
)),
|
|
440
616
|
default: true
|
|
441
617
|
},
|
|
442
618
|
'debug.onTaskErrors': {
|
|
443
619
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
444
|
-
enumDescriptions: [
|
|
445
|
-
|
|
620
|
+
enumDescriptions: [( nls.localizeWithPath(
|
|
621
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
622
|
+
'debugAnyway',
|
|
623
|
+
"Ignore task errors and start debugging."
|
|
624
|
+
)), ( nls.localizeWithPath(
|
|
625
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
626
|
+
'showErrors',
|
|
627
|
+
"Show the Problems view and do not start debugging."
|
|
628
|
+
)), ( nls.localizeWithPath(
|
|
629
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
630
|
+
'prompt',
|
|
631
|
+
"Prompt user."
|
|
632
|
+
)), ( nls.localizeWithPath(
|
|
633
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
634
|
+
'cancel',
|
|
635
|
+
"Cancel debugging."
|
|
636
|
+
))],
|
|
637
|
+
description: ( nls.localizeWithPath(
|
|
638
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
639
|
+
'debug.onTaskErrors',
|
|
640
|
+
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
641
|
+
)),
|
|
446
642
|
default: 'prompt'
|
|
447
643
|
},
|
|
448
644
|
'debug.showBreakpointsInOverviewRuler': {
|
|
449
645
|
type: 'boolean',
|
|
450
|
-
description: nls.localizeWithPath(
|
|
646
|
+
description: ( nls.localizeWithPath(
|
|
647
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
648
|
+
{ comment: ['This is the description for a setting'], key: 'showBreakpointsInOverviewRuler' },
|
|
649
|
+
"Controls whether breakpoints should be shown in the overview ruler."
|
|
650
|
+
)),
|
|
451
651
|
default: false
|
|
452
652
|
},
|
|
453
653
|
'debug.showInlineBreakpointCandidates': {
|
|
454
654
|
type: 'boolean',
|
|
455
|
-
description: nls.localizeWithPath(
|
|
655
|
+
description: ( nls.localizeWithPath(
|
|
656
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
657
|
+
{ comment: ['This is the description for a setting'], key: 'showInlineBreakpointCandidates' },
|
|
658
|
+
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
659
|
+
)),
|
|
456
660
|
default: true
|
|
457
661
|
},
|
|
458
662
|
'debug.saveBeforeStart': {
|
|
459
|
-
description: nls.localizeWithPath(
|
|
663
|
+
description: ( nls.localizeWithPath(
|
|
664
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
665
|
+
'debug.saveBeforeStart',
|
|
666
|
+
"Controls what editors to save before starting a debug session."
|
|
667
|
+
)),
|
|
460
668
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
461
669
|
enumDescriptions: [
|
|
462
|
-
nls.localizeWithPath(
|
|
463
|
-
|
|
464
|
-
|
|
670
|
+
( nls.localizeWithPath(
|
|
671
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
672
|
+
'debug.saveBeforeStart.allEditorsInActiveGroup',
|
|
673
|
+
"Save all editors in the active group before starting a debug session."
|
|
674
|
+
)),
|
|
675
|
+
( nls.localizeWithPath(
|
|
676
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
677
|
+
'debug.saveBeforeStart.nonUntitledEditorsInActiveGroup',
|
|
678
|
+
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
679
|
+
)),
|
|
680
|
+
( nls.localizeWithPath(
|
|
681
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
682
|
+
'debug.saveBeforeStart.none',
|
|
683
|
+
"Don't save any editors before starting a debug session."
|
|
684
|
+
)),
|
|
465
685
|
],
|
|
466
686
|
default: 'allEditorsInActiveGroup',
|
|
467
687
|
scope: 5
|
|
468
688
|
},
|
|
469
689
|
'debug.confirmOnExit': {
|
|
470
|
-
description: nls.localizeWithPath(
|
|
690
|
+
description: ( nls.localizeWithPath(
|
|
691
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
692
|
+
'debug.confirmOnExit',
|
|
693
|
+
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
694
|
+
)),
|
|
471
695
|
type: 'string',
|
|
472
696
|
enum: ['never', 'always'],
|
|
473
697
|
enumDescriptions: [
|
|
474
|
-
nls.localizeWithPath(
|
|
475
|
-
|
|
698
|
+
( nls.localizeWithPath(
|
|
699
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
700
|
+
'debug.confirmOnExit.never',
|
|
701
|
+
"Never confirm."
|
|
702
|
+
)),
|
|
703
|
+
( nls.localizeWithPath(
|
|
704
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
705
|
+
'debug.confirmOnExit.always',
|
|
706
|
+
"Always confirm if there are debug sessions."
|
|
707
|
+
)),
|
|
476
708
|
],
|
|
477
709
|
default: 'never'
|
|
478
710
|
},
|
|
479
711
|
'debug.disassemblyView.showSourceCode': {
|
|
480
712
|
type: 'boolean',
|
|
481
713
|
default: true,
|
|
482
|
-
description: nls.localizeWithPath(
|
|
714
|
+
description: ( nls.localizeWithPath(
|
|
715
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
716
|
+
'debug.disassemblyView.showSourceCode',
|
|
717
|
+
"Show Source Code in Disassembly View."
|
|
718
|
+
))
|
|
483
719
|
},
|
|
484
720
|
'debug.autoExpandLazyVariables': {
|
|
485
721
|
type: 'boolean',
|
|
486
722
|
default: false,
|
|
487
|
-
description: nls.localizeWithPath(
|
|
723
|
+
description: ( nls.localizeWithPath(
|
|
724
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
725
|
+
'debug.autoExpandLazyVariables',
|
|
726
|
+
"Automatically show values for variables that are lazily resolved by the debugger, such as getters."
|
|
727
|
+
))
|
|
488
728
|
},
|
|
489
729
|
'debug.enableStatusBarColor': {
|
|
490
730
|
type: 'boolean',
|
|
491
|
-
description: nls.localizeWithPath(
|
|
731
|
+
description: ( nls.localizeWithPath(
|
|
732
|
+
'vs/workbench/contrib/debug/browser/debug.contribution',
|
|
733
|
+
'debug.enableStatusBarColor',
|
|
734
|
+
"Color status bar when debugger is active"
|
|
735
|
+
)),
|
|
492
736
|
default: true
|
|
493
737
|
}
|
|
494
738
|
}
|