@codingame/monaco-vscode-debug-service-override 4.5.2 → 5.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 +42 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +93 -93
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +12 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +6 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +16 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +12 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +20 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +4 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +22 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +33 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -963
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -103
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -84
|
@@ -20,7 +20,7 @@ import { BreakpointsView } from 'vscode/vscode/vs/workbench/contrib/debug/browse
|
|
|
20
20
|
import { CallStackEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
|
|
21
21
|
import { CallStackView } from './callStackView.js';
|
|
22
22
|
import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
23
|
-
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, DEBUG_COMMAND_CATEGORY, RESTART_SESSION_ID, RESTART_LABEL, TERMINATE_THREAD_ID, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, PAUSE_ID, PAUSE_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, STOP_ID, STOP_LABEL, CONTINUE_ID, CONTINUE_LABEL, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, SELECT_AND_START_LABEL, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID } from '
|
|
23
|
+
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, DEBUG_COMMAND_CATEGORY, RESTART_SESSION_ID, RESTART_LABEL, TERMINATE_THREAD_ID, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, PAUSE_ID, PAUSE_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, STOP_ID, STOP_LABEL, CONTINUE_ID, CONTINUE_LABEL, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, SELECT_AND_START_LABEL, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, COPY_VALUE_ID, COPY_VALUE_LABEL, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
24
24
|
import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
|
|
25
25
|
import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
|
|
26
26
|
import { DebugEditorContribution } from './debugEditorContribution.js';
|
|
@@ -36,7 +36,7 @@ import { DisassemblyViewContribution, DisassemblyView } from './disassemblyView.
|
|
|
36
36
|
import { LoadedScriptsView } from './loadedScriptsView.js';
|
|
37
37
|
import { Repl } from './repl.js';
|
|
38
38
|
import { StatusBarColorProvider } from './statusbarColorProvider.js';
|
|
39
|
-
import { VIEW_MEMORY_ID, SET_VARIABLE_ID,
|
|
39
|
+
import { VIEW_MEMORY_ID, SET_VARIABLE_ID, BREAK_WHEN_VALUE_IS_READ_ID, BREAK_WHEN_VALUE_CHANGES_ID, BREAK_WHEN_VALUE_IS_ACCESSED_ID, VariablesView } from './variablesView.js';
|
|
40
40
|
import { ADD_WATCH_ID, ADD_WATCH_LABEL, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, WatchExpressionsView } from './watchExpressionsView.js';
|
|
41
41
|
import { WelcomeView } from './welcomeView.js';
|
|
42
42
|
import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_STATE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, getStateLabel, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_VARIABLE_VALUE, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, VARIABLES_VIEW_ID, CONTEXT_DEBUG_UX, WATCH_VIEW_ID, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, CONTEXT_LOADED_SCRIPTS_SUPPORTED, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -193,21 +193,21 @@ registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( local
|
|
|
193
193
|
CONTEXT_SET_VARIABLE_SUPPORTED,
|
|
194
194
|
(ContextKeyExpr.and(CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED))
|
|
195
195
|
))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
|
|
196
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID,
|
|
197
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID,
|
|
198
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID,
|
|
199
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId,
|
|
200
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId,
|
|
201
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId,
|
|
196
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
197
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
198
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
199
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId, 14, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
200
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId, 15, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
201
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId, 16, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
202
202
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
203
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID,
|
|
204
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID,
|
|
205
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID,
|
|
206
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId,
|
|
207
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId,
|
|
208
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId,
|
|
203
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
204
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
205
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
206
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId, 14, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
207
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId, 15, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
208
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId, 16, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
209
209
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
210
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId,
|
|
210
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 17, "Edit Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, '3_modification');
|
|
211
211
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 13, "Set Value")), 30, ( (ContextKeyExpr.or( (ContextKeyExpr.and(
|
|
212
212
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
|
|
213
213
|
CONTEXT_SET_EXPRESSION_SUPPORTED
|
|
@@ -215,12 +215,12 @@ registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, (
|
|
|
215
215
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')),
|
|
216
216
|
CONTEXT_SET_VARIABLE_SUPPORTED
|
|
217
217
|
))))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
|
|
218
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localizeWithPath(_moduleId,
|
|
218
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localizeWithPath(_moduleId, 18, "Copy Value")), 40, ( (ContextKeyExpr.or(
|
|
219
219
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
|
|
220
220
|
(CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable'))
|
|
221
221
|
))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
222
222
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
223
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId,
|
|
223
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 19, "Remove Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, 'inline', watchExpressionRemove);
|
|
224
224
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
225
225
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
226
226
|
if (isMacintosh) {
|
|
@@ -249,12 +249,12 @@ if (isMacintosh) {
|
|
|
249
249
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png'))));
|
|
250
250
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png'))));
|
|
251
251
|
}
|
|
252
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2WithPath(_moduleId,
|
|
252
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2WithPath(_moduleId, 20, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
253
253
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
254
254
|
submenu: MenuId.MenubarDebugMenu,
|
|
255
255
|
title: {
|
|
256
|
-
...( localize2WithPath(_moduleId,
|
|
257
|
-
mnemonicTitle: ( localizeWithPath(_moduleId,
|
|
256
|
+
...( localize2WithPath(_moduleId, 21, "Run")),
|
|
257
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 22, "&&Run"))
|
|
258
258
|
},
|
|
259
259
|
order: 6
|
|
260
260
|
});
|
|
@@ -262,7 +262,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
262
262
|
group: '1_debug',
|
|
263
263
|
command: {
|
|
264
264
|
id: DEBUG_START_COMMAND_ID,
|
|
265
|
-
title: ( localizeWithPath(_moduleId,
|
|
265
|
+
title: ( localizeWithPath(_moduleId, 23, "&&Start Debugging"))
|
|
266
266
|
},
|
|
267
267
|
order: 1,
|
|
268
268
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -271,7 +271,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
271
271
|
group: '1_debug',
|
|
272
272
|
command: {
|
|
273
273
|
id: DEBUG_RUN_COMMAND_ID,
|
|
274
|
-
title: ( localizeWithPath(_moduleId,
|
|
274
|
+
title: ( localizeWithPath(_moduleId, 24, "Run &&Without Debugging"))
|
|
275
275
|
},
|
|
276
276
|
order: 2,
|
|
277
277
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -280,7 +280,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
280
280
|
group: '1_debug',
|
|
281
281
|
command: {
|
|
282
282
|
id: STOP_ID,
|
|
283
|
-
title: ( localizeWithPath(_moduleId,
|
|
283
|
+
title: ( localizeWithPath(_moduleId, 25, "&&Stop Debugging")),
|
|
284
284
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
285
285
|
},
|
|
286
286
|
order: 3,
|
|
@@ -290,7 +290,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
290
290
|
group: '1_debug',
|
|
291
291
|
command: {
|
|
292
292
|
id: RESTART_SESSION_ID,
|
|
293
|
-
title: ( localizeWithPath(_moduleId,
|
|
293
|
+
title: ( localizeWithPath(_moduleId, 26, "&&Restart Debugging")),
|
|
294
294
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
295
295
|
},
|
|
296
296
|
order: 4,
|
|
@@ -300,7 +300,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
300
300
|
group: '2_configuration',
|
|
301
301
|
command: {
|
|
302
302
|
id: ADD_CONFIGURATION_ID,
|
|
303
|
-
title: ( localizeWithPath(_moduleId,
|
|
303
|
+
title: ( localizeWithPath(_moduleId, 27, "A&&dd Configuration..."))
|
|
304
304
|
},
|
|
305
305
|
order: 2,
|
|
306
306
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -309,7 +309,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
309
309
|
group: '3_step',
|
|
310
310
|
command: {
|
|
311
311
|
id: STEP_OVER_ID,
|
|
312
|
-
title: ( localizeWithPath(_moduleId,
|
|
312
|
+
title: ( localizeWithPath(_moduleId, 28, "Step &&Over")),
|
|
313
313
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
314
314
|
},
|
|
315
315
|
order: 1,
|
|
@@ -319,7 +319,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
319
319
|
group: '3_step',
|
|
320
320
|
command: {
|
|
321
321
|
id: STEP_INTO_ID,
|
|
322
|
-
title: ( localizeWithPath(_moduleId,
|
|
322
|
+
title: ( localizeWithPath(_moduleId, 29, "Step &&Into")),
|
|
323
323
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
324
324
|
},
|
|
325
325
|
order: 2,
|
|
@@ -329,7 +329,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
329
329
|
group: '3_step',
|
|
330
330
|
command: {
|
|
331
331
|
id: STEP_OUT_ID,
|
|
332
|
-
title: ( localizeWithPath(_moduleId,
|
|
332
|
+
title: ( localizeWithPath(_moduleId, 30, "Step O&&ut")),
|
|
333
333
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
334
334
|
},
|
|
335
335
|
order: 3,
|
|
@@ -339,7 +339,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
339
339
|
group: '3_step',
|
|
340
340
|
command: {
|
|
341
341
|
id: CONTINUE_ID,
|
|
342
|
-
title: ( localizeWithPath(_moduleId,
|
|
342
|
+
title: ( localizeWithPath(_moduleId, 31, "&&Continue")),
|
|
343
343
|
precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
|
|
344
344
|
},
|
|
345
345
|
order: 4,
|
|
@@ -349,14 +349,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
349
349
|
group: '1_breakpoints',
|
|
350
350
|
command: {
|
|
351
351
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
352
|
-
title: ( localizeWithPath(_moduleId,
|
|
352
|
+
title: ( localizeWithPath(_moduleId, 32, "Inline Breakp&&oint"))
|
|
353
353
|
},
|
|
354
354
|
order: 2,
|
|
355
355
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
356
356
|
});
|
|
357
357
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
358
358
|
group: '4_new_breakpoint',
|
|
359
|
-
title: ( localizeWithPath(_moduleId,
|
|
359
|
+
title: ( localizeWithPath(_moduleId, 33, "&&New Breakpoint")),
|
|
360
360
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
361
361
|
order: 2,
|
|
362
362
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -365,13 +365,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
365
365
|
group: 'z_install',
|
|
366
366
|
command: {
|
|
367
367
|
id: 'debug.installAdditionalDebuggers',
|
|
368
|
-
title: ( localizeWithPath(_moduleId,
|
|
368
|
+
title: ( localizeWithPath(_moduleId, 34, "&&Install Additional Debuggers..."))
|
|
369
369
|
},
|
|
370
370
|
order: 1
|
|
371
371
|
});
|
|
372
372
|
const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
|
|
373
373
|
id: DEBUG_PANEL_ID,
|
|
374
|
-
title: ( localize2WithPath(_moduleId,
|
|
374
|
+
title: ( localize2WithPath(_moduleId, 35, "Debug Console")),
|
|
375
375
|
icon: debugConsoleViewIcon,
|
|
376
376
|
ctorDescriptor: ( (new SyncDescriptor(
|
|
377
377
|
ViewPaneContainer,
|
|
@@ -383,7 +383,7 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).reg
|
|
|
383
383
|
}, 1 , { doNotRegisterOpenCommand: true });
|
|
384
384
|
( (Registry.as(Extensions$2.ViewsRegistry))).registerViews([{
|
|
385
385
|
id: REPL_VIEW_ID,
|
|
386
|
-
name: ( localize2WithPath(_moduleId,
|
|
386
|
+
name: ( localize2WithPath(_moduleId, 35, "Debug Console")),
|
|
387
387
|
containerIcon: debugConsoleViewIcon,
|
|
388
388
|
canToggleVisibility: false,
|
|
389
389
|
canMoveView: true,
|
|
@@ -391,17 +391,17 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).reg
|
|
|
391
391
|
ctorDescriptor: ( (new SyncDescriptor(Repl))),
|
|
392
392
|
openCommandActionDescriptor: {
|
|
393
393
|
id: 'workbench.debug.action.toggleRepl',
|
|
394
|
-
mnemonicTitle: ( localizeWithPath(_moduleId,
|
|
394
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 36, "De&&bug Console")),
|
|
395
395
|
keybindings: { primary: 2048 | 1024 | 55 },
|
|
396
396
|
order: 2
|
|
397
397
|
}
|
|
398
398
|
}], VIEW_CONTAINER);
|
|
399
399
|
const viewContainer = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
|
|
400
400
|
id: VIEWLET_ID,
|
|
401
|
-
title: ( localize2WithPath(_moduleId,
|
|
401
|
+
title: ( localize2WithPath(_moduleId, 37, "Run and Debug")),
|
|
402
402
|
openCommandActionDescriptor: {
|
|
403
403
|
id: VIEWLET_ID,
|
|
404
|
-
mnemonicTitle: ( localizeWithPath(_moduleId,
|
|
404
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 38, "&&Run")),
|
|
405
405
|
keybindings: { primary: 2048 | 1024 | 34 },
|
|
406
406
|
order: 3
|
|
407
407
|
},
|
|
@@ -411,30 +411,30 @@ const viewContainer = ( (Registry.as(Extensions$2.ViewContainersRegistry))).regi
|
|
|
411
411
|
order: 3,
|
|
412
412
|
}, 0 );
|
|
413
413
|
const viewsRegistry = ( (Registry.as(Extensions$2.ViewsRegistry)));
|
|
414
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2WithPath(_moduleId,
|
|
415
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2WithPath(_moduleId,
|
|
416
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2WithPath(_moduleId,
|
|
417
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2WithPath(_moduleId,
|
|
414
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2WithPath(_moduleId, 39, "Variables")), 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);
|
|
415
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2WithPath(_moduleId, 40, "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);
|
|
416
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2WithPath(_moduleId, 41, "Call Stack")), 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);
|
|
417
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2WithPath(_moduleId, 42, "Breakpoints")), containerIcon: breakpointsViewIcon, ctorDescriptor: ( (new SyncDescriptor(BreakpointsView))), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( (ContextKeyExpr.or(
|
|
418
418
|
CONTEXT_BREAKPOINTS_EXIST,
|
|
419
419
|
(CONTEXT_DEBUG_UX.isEqualTo('default')),
|
|
420
420
|
CONTEXT_HAS_DEBUGGED
|
|
421
421
|
))) }], viewContainer);
|
|
422
422
|
viewsRegistry.registerViews([{ id: WelcomeView.ID, name: WelcomeView.LABEL, containerIcon: runViewIcon, ctorDescriptor: ( (new SyncDescriptor(WelcomeView))), order: 1, weight: 40, canToggleVisibility: true, when: ( (CONTEXT_DEBUG_UX.isEqualTo('simple'))) }], viewContainer);
|
|
423
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2WithPath(_moduleId,
|
|
423
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2WithPath(_moduleId, 43, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( (new SyncDescriptor(LoadedScriptsView))), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( (ContextKeyExpr.and(
|
|
424
424
|
CONTEXT_LOADED_SCRIPTS_SUPPORTED,
|
|
425
425
|
(CONTEXT_DEBUG_UX.isEqualTo('default'))
|
|
426
426
|
))) }], viewContainer);
|
|
427
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localizeWithPath(_moduleId,
|
|
427
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localizeWithPath(_moduleId, 44, "Disassembly"))), [( (new SyncDescriptor(DisassemblyViewInput)))]);
|
|
428
428
|
const configurationRegistry = ( (Registry.as(Extensions$3.Configuration)));
|
|
429
429
|
configurationRegistry.registerConfiguration({
|
|
430
430
|
id: 'debug',
|
|
431
431
|
order: 20,
|
|
432
|
-
title: ( localizeWithPath(_moduleId,
|
|
432
|
+
title: ( localizeWithPath(_moduleId, 45, "Debug")),
|
|
433
433
|
type: 'object',
|
|
434
434
|
properties: {
|
|
435
435
|
'debug.allowBreakpointsEverywhere': {
|
|
436
436
|
type: 'boolean',
|
|
437
|
-
description: ( localizeWithPath(_moduleId,
|
|
437
|
+
description: ( localizeWithPath(_moduleId, 46, "Allow setting breakpoints in any file.")),
|
|
438
438
|
default: false
|
|
439
439
|
},
|
|
440
440
|
'debug.gutterMiddleClickAction': {
|
|
@@ -442,14 +442,14 @@ configurationRegistry.registerConfiguration({
|
|
|
442
442
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
443
443
|
description: ( localizeWithPath(
|
|
444
444
|
_moduleId,
|
|
445
|
-
|
|
445
|
+
47,
|
|
446
446
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
447
447
|
)),
|
|
448
448
|
enumDescriptions: [
|
|
449
|
-
( localizeWithPath(_moduleId,
|
|
450
|
-
( localizeWithPath(_moduleId,
|
|
451
|
-
( localizeWithPath(_moduleId,
|
|
452
|
-
( localizeWithPath(_moduleId,
|
|
449
|
+
( localizeWithPath(_moduleId, 48, "Add Logpoint.")),
|
|
450
|
+
( localizeWithPath(_moduleId, 49, "Add Conditional Breakpoint.")),
|
|
451
|
+
( localizeWithPath(_moduleId, 50, "Add Triggered Breakpoint.")),
|
|
452
|
+
( localizeWithPath(_moduleId, 51, "Don't perform any action.")),
|
|
453
453
|
],
|
|
454
454
|
default: 'logpoint',
|
|
455
455
|
},
|
|
@@ -457,7 +457,7 @@ configurationRegistry.registerConfiguration({
|
|
|
457
457
|
type: 'boolean',
|
|
458
458
|
description: ( localizeWithPath(
|
|
459
459
|
_moduleId,
|
|
460
|
-
|
|
460
|
+
52,
|
|
461
461
|
"Automatically open the explorer view at the end of a debug session."
|
|
462
462
|
)),
|
|
463
463
|
default: false
|
|
@@ -466,7 +466,7 @@ configurationRegistry.registerConfiguration({
|
|
|
466
466
|
type: 'boolean',
|
|
467
467
|
description: ( localizeWithPath(
|
|
468
468
|
_moduleId,
|
|
469
|
-
|
|
469
|
+
53,
|
|
470
470
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
471
471
|
)),
|
|
472
472
|
default: false
|
|
@@ -474,21 +474,21 @@ configurationRegistry.registerConfiguration({
|
|
|
474
474
|
'debug.inlineValues': {
|
|
475
475
|
type: 'string',
|
|
476
476
|
'enum': ['on', 'off', 'auto'],
|
|
477
|
-
description: ( localizeWithPath(_moduleId,
|
|
477
|
+
description: ( localizeWithPath(_moduleId, 54, "Show variable values inline in editor while debugging.")),
|
|
478
478
|
'enumDescriptions': [
|
|
479
479
|
( localizeWithPath(
|
|
480
480
|
_moduleId,
|
|
481
|
-
|
|
481
|
+
55,
|
|
482
482
|
"Always show variable values inline in editor while debugging."
|
|
483
483
|
)),
|
|
484
484
|
( localizeWithPath(
|
|
485
485
|
_moduleId,
|
|
486
|
-
|
|
486
|
+
56,
|
|
487
487
|
"Never show variable values inline in editor while debugging."
|
|
488
488
|
)),
|
|
489
489
|
( localizeWithPath(
|
|
490
490
|
_moduleId,
|
|
491
|
-
|
|
491
|
+
57,
|
|
492
492
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
493
493
|
)),
|
|
494
494
|
],
|
|
@@ -498,30 +498,30 @@ configurationRegistry.registerConfiguration({
|
|
|
498
498
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
499
499
|
markdownDescription: ( localizeWithPath(
|
|
500
500
|
_moduleId,
|
|
501
|
-
|
|
501
|
+
58,
|
|
502
502
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires `{0}`), or `hidden`.",
|
|
503
503
|
'#window.commandCenter#'
|
|
504
504
|
)),
|
|
505
505
|
default: 'floating',
|
|
506
506
|
markdownEnumDescriptions: [
|
|
507
|
-
( localizeWithPath(_moduleId,
|
|
508
|
-
( localizeWithPath(_moduleId,
|
|
507
|
+
( localizeWithPath(_moduleId, 59, "Show debug toolbar in all views.")),
|
|
508
|
+
( localizeWithPath(_moduleId, 60, "Show debug toolbar only in debug views.")),
|
|
509
509
|
( localizeWithPath(
|
|
510
510
|
_moduleId,
|
|
511
|
-
|
|
511
|
+
61,
|
|
512
512
|
"`(Experimental)` Show debug toolbar in the command center."
|
|
513
513
|
)),
|
|
514
|
-
( localizeWithPath(_moduleId,
|
|
514
|
+
( localizeWithPath(_moduleId, 62, "Do not show debug toolbar.")),
|
|
515
515
|
]
|
|
516
516
|
},
|
|
517
517
|
'debug.showInStatusBar': {
|
|
518
518
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
519
|
-
enumDescriptions: [( localizeWithPath(_moduleId,
|
|
519
|
+
enumDescriptions: [( localizeWithPath(_moduleId, 63, "Never show debug in Status bar")), ( localizeWithPath(_moduleId, 64, "Always show debug in Status bar")), ( localizeWithPath(
|
|
520
520
|
_moduleId,
|
|
521
|
-
|
|
521
|
+
65,
|
|
522
522
|
"Show debug in Status bar only after debug was started for the first time"
|
|
523
523
|
))],
|
|
524
|
-
description: ( localizeWithPath(_moduleId,
|
|
524
|
+
description: ( localizeWithPath(_moduleId, 66, "Controls when the debug Status bar should be visible.")),
|
|
525
525
|
default: 'onFirstSessionStart'
|
|
526
526
|
},
|
|
527
527
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
@@ -529,7 +529,7 @@ configurationRegistry.registerConfiguration({
|
|
|
529
529
|
type: 'boolean',
|
|
530
530
|
description: ( localizeWithPath(
|
|
531
531
|
_moduleId,
|
|
532
|
-
|
|
532
|
+
67,
|
|
533
533
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
534
534
|
)),
|
|
535
535
|
default: false
|
|
@@ -538,7 +538,7 @@ configurationRegistry.registerConfiguration({
|
|
|
538
538
|
type: 'boolean',
|
|
539
539
|
description: ( localizeWithPath(
|
|
540
540
|
_moduleId,
|
|
541
|
-
|
|
541
|
+
68,
|
|
542
542
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
543
543
|
)),
|
|
544
544
|
default: false
|
|
@@ -546,46 +546,46 @@ configurationRegistry.registerConfiguration({
|
|
|
546
546
|
'debug.openDebug': {
|
|
547
547
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
548
548
|
default: 'openOnDebugBreak',
|
|
549
|
-
description: ( localizeWithPath(_moduleId,
|
|
549
|
+
description: ( localizeWithPath(_moduleId, 69, "Controls when the debug view should open."))
|
|
550
550
|
},
|
|
551
551
|
'debug.showSubSessionsInToolBar': {
|
|
552
552
|
type: 'boolean',
|
|
553
553
|
description: ( localizeWithPath(
|
|
554
554
|
_moduleId,
|
|
555
|
-
|
|
555
|
+
70,
|
|
556
556
|
"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."
|
|
557
557
|
)),
|
|
558
558
|
default: false
|
|
559
559
|
},
|
|
560
560
|
'debug.console.fontSize': {
|
|
561
561
|
type: 'number',
|
|
562
|
-
description: ( localizeWithPath(_moduleId,
|
|
562
|
+
description: ( localizeWithPath(_moduleId, 71, "Controls the font size in pixels in the Debug Console.")),
|
|
563
563
|
default: isMacintosh ? 12 : 14,
|
|
564
564
|
},
|
|
565
565
|
'debug.console.fontFamily': {
|
|
566
566
|
type: 'string',
|
|
567
|
-
description: ( localizeWithPath(_moduleId,
|
|
567
|
+
description: ( localizeWithPath(_moduleId, 72, "Controls the font family in the Debug Console.")),
|
|
568
568
|
default: 'default'
|
|
569
569
|
},
|
|
570
570
|
'debug.console.lineHeight': {
|
|
571
571
|
type: 'number',
|
|
572
572
|
description: ( localizeWithPath(
|
|
573
573
|
_moduleId,
|
|
574
|
-
|
|
574
|
+
73,
|
|
575
575
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
576
576
|
)),
|
|
577
577
|
default: 0
|
|
578
578
|
},
|
|
579
579
|
'debug.console.wordWrap': {
|
|
580
580
|
type: 'boolean',
|
|
581
|
-
description: ( localizeWithPath(_moduleId,
|
|
581
|
+
description: ( localizeWithPath(_moduleId, 74, "Controls if the lines should wrap in the Debug Console.")),
|
|
582
582
|
default: true
|
|
583
583
|
},
|
|
584
584
|
'debug.console.historySuggestions': {
|
|
585
585
|
type: 'boolean',
|
|
586
586
|
description: ( localizeWithPath(
|
|
587
587
|
_moduleId,
|
|
588
|
-
|
|
588
|
+
75,
|
|
589
589
|
"Controls if the Debug Console should suggest previously typed input."
|
|
590
590
|
)),
|
|
591
591
|
default: true
|
|
@@ -594,7 +594,7 @@ configurationRegistry.registerConfiguration({
|
|
|
594
594
|
type: 'boolean',
|
|
595
595
|
description: ( localizeWithPath(
|
|
596
596
|
_moduleId,
|
|
597
|
-
|
|
597
|
+
76,
|
|
598
598
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
599
599
|
)),
|
|
600
600
|
default: true
|
|
@@ -603,7 +603,7 @@ configurationRegistry.registerConfiguration({
|
|
|
603
603
|
enum: ['off', 'on'],
|
|
604
604
|
description: ( localizeWithPath(
|
|
605
605
|
_moduleId,
|
|
606
|
-
|
|
606
|
+
77,
|
|
607
607
|
"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."
|
|
608
608
|
)),
|
|
609
609
|
default: 'off'
|
|
@@ -612,7 +612,7 @@ configurationRegistry.registerConfiguration({
|
|
|
612
612
|
type: 'object',
|
|
613
613
|
description: ( localizeWithPath(
|
|
614
614
|
_moduleId,
|
|
615
|
-
|
|
615
|
+
78,
|
|
616
616
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
617
617
|
)),
|
|
618
618
|
default: { configurations: [], compounds: [] },
|
|
@@ -622,7 +622,7 @@ configurationRegistry.registerConfiguration({
|
|
|
622
622
|
type: 'boolean',
|
|
623
623
|
description: ( localizeWithPath(
|
|
624
624
|
_moduleId,
|
|
625
|
-
|
|
625
|
+
79,
|
|
626
626
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
627
627
|
)),
|
|
628
628
|
default: true
|
|
@@ -631,17 +631,17 @@ configurationRegistry.registerConfiguration({
|
|
|
631
631
|
type: 'boolean',
|
|
632
632
|
description: ( localizeWithPath(
|
|
633
633
|
_moduleId,
|
|
634
|
-
|
|
634
|
+
80,
|
|
635
635
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
636
636
|
)),
|
|
637
637
|
default: true
|
|
638
638
|
},
|
|
639
639
|
'debug.onTaskErrors': {
|
|
640
640
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
641
|
-
enumDescriptions: [( localizeWithPath(_moduleId,
|
|
641
|
+
enumDescriptions: [( localizeWithPath(_moduleId, 81, "Ignore task errors and start debugging.")), ( localizeWithPath(_moduleId, 82, "Show the Problems view and do not start debugging.")), ( localizeWithPath(_moduleId, 83, "Prompt user.")), ( localizeWithPath(_moduleId, 84, "Cancel debugging."))],
|
|
642
642
|
description: ( localizeWithPath(
|
|
643
643
|
_moduleId,
|
|
644
|
-
|
|
644
|
+
85,
|
|
645
645
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
646
646
|
)),
|
|
647
647
|
default: 'prompt'
|
|
@@ -650,7 +650,7 @@ configurationRegistry.registerConfiguration({
|
|
|
650
650
|
type: 'boolean',
|
|
651
651
|
description: ( localizeWithPath(
|
|
652
652
|
_moduleId,
|
|
653
|
-
|
|
653
|
+
86,
|
|
654
654
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
655
655
|
)),
|
|
656
656
|
default: false
|
|
@@ -659,7 +659,7 @@ configurationRegistry.registerConfiguration({
|
|
|
659
659
|
type: 'boolean',
|
|
660
660
|
description: ( localizeWithPath(
|
|
661
661
|
_moduleId,
|
|
662
|
-
|
|
662
|
+
87,
|
|
663
663
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
664
664
|
)),
|
|
665
665
|
default: true
|
|
@@ -667,22 +667,22 @@ configurationRegistry.registerConfiguration({
|
|
|
667
667
|
'debug.saveBeforeStart': {
|
|
668
668
|
description: ( localizeWithPath(
|
|
669
669
|
_moduleId,
|
|
670
|
-
|
|
670
|
+
88,
|
|
671
671
|
"Controls what editors to save before starting a debug session."
|
|
672
672
|
)),
|
|
673
673
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
674
674
|
enumDescriptions: [
|
|
675
675
|
( localizeWithPath(
|
|
676
676
|
_moduleId,
|
|
677
|
-
|
|
677
|
+
89,
|
|
678
678
|
"Save all editors in the active group before starting a debug session."
|
|
679
679
|
)),
|
|
680
680
|
( localizeWithPath(
|
|
681
681
|
_moduleId,
|
|
682
|
-
|
|
682
|
+
90,
|
|
683
683
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
684
684
|
)),
|
|
685
|
-
( localizeWithPath(_moduleId,
|
|
685
|
+
( localizeWithPath(_moduleId, 91, "Don't save any editors before starting a debug session.")),
|
|
686
686
|
],
|
|
687
687
|
default: 'allEditorsInActiveGroup',
|
|
688
688
|
scope: 5
|
|
@@ -690,41 +690,41 @@ configurationRegistry.registerConfiguration({
|
|
|
690
690
|
'debug.confirmOnExit': {
|
|
691
691
|
description: ( localizeWithPath(
|
|
692
692
|
_moduleId,
|
|
693
|
-
|
|
693
|
+
92,
|
|
694
694
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
695
695
|
)),
|
|
696
696
|
type: 'string',
|
|
697
697
|
enum: ['never', 'always'],
|
|
698
698
|
enumDescriptions: [
|
|
699
|
-
( localizeWithPath(_moduleId,
|
|
700
|
-
( localizeWithPath(_moduleId,
|
|
699
|
+
( localizeWithPath(_moduleId, 93, "Never confirm.")),
|
|
700
|
+
( localizeWithPath(_moduleId, 94, "Always confirm if there are debug sessions.")),
|
|
701
701
|
],
|
|
702
702
|
default: 'never'
|
|
703
703
|
},
|
|
704
704
|
'debug.disassemblyView.showSourceCode': {
|
|
705
705
|
type: 'boolean',
|
|
706
706
|
default: true,
|
|
707
|
-
description: ( localizeWithPath(_moduleId,
|
|
707
|
+
description: ( localizeWithPath(_moduleId, 95, "Show Source Code in Disassembly View."))
|
|
708
708
|
},
|
|
709
709
|
'debug.autoExpandLazyVariables': {
|
|
710
710
|
type: 'boolean',
|
|
711
711
|
default: false,
|
|
712
712
|
description: ( localizeWithPath(
|
|
713
713
|
_moduleId,
|
|
714
|
-
|
|
714
|
+
96,
|
|
715
715
|
"Automatically show values for variables that are lazily resolved by the debugger, such as getters."
|
|
716
716
|
))
|
|
717
717
|
},
|
|
718
718
|
'debug.enableStatusBarColor': {
|
|
719
719
|
type: 'boolean',
|
|
720
|
-
description: ( localizeWithPath(_moduleId,
|
|
720
|
+
description: ( localizeWithPath(_moduleId, 97, "Color of the Status bar when debugger is active.")),
|
|
721
721
|
default: true
|
|
722
722
|
},
|
|
723
723
|
'debug.hideLauncherWhileDebugging': {
|
|
724
724
|
type: 'boolean',
|
|
725
725
|
markdownDescription: ( localizeWithPath(
|
|
726
726
|
_moduleId,
|
|
727
|
-
|
|
727
|
+
98,
|
|
728
728
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when `{0}` is not `docked`.",
|
|
729
729
|
'#debug.toolBarLocation#'
|
|
730
730
|
)),
|