@codingame/monaco-vscode-debug-service-override 26.2.2 → 27.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/platform/debug/common/extensionHostDebugIpc.d.ts +1 -1
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +6 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +104 -104
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +9 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +25 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +52 -42
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +14 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css +1 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +107 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +43 -43
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +10 -8
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -65,7 +65,7 @@ import { DebugChatContextContribution } from './debugChatIntegration.js';
|
|
|
65
65
|
|
|
66
66
|
registerCss(debug_contribution);
|
|
67
67
|
registerCss(debugHover);
|
|
68
|
-
const debugCategory = ( localize(
|
|
68
|
+
const debugCategory = ( localize(7695, "Debug"));
|
|
69
69
|
registerColors();
|
|
70
70
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
71
71
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -86,9 +86,9 @@ registerWorkbenchContribution2(
|
|
|
86
86
|
ctor: StartDebugQuickAccessProvider,
|
|
87
87
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
88
88
|
contextKey: "inLaunchConfigurationsPicker",
|
|
89
|
-
placeholder: ( localize(
|
|
89
|
+
placeholder: ( localize(7696, "Type the name of a launch configuration to run.")),
|
|
90
90
|
helpEntries: [{
|
|
91
|
-
description: ( localize(
|
|
91
|
+
description: ( localize(7697, "Start Debugging")),
|
|
92
92
|
commandId: SELECT_AND_START_ID,
|
|
93
93
|
commandCenterOrder: 50
|
|
94
94
|
}]
|
|
@@ -97,9 +97,9 @@ registerWorkbenchContribution2(
|
|
|
97
97
|
ctor: DebugConsoleQuickAccess,
|
|
98
98
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
99
99
|
contextKey: "inDebugConsolePicker",
|
|
100
|
-
placeholder: ( localize(
|
|
100
|
+
placeholder: ( localize(7698, "Type the name of a debug console to open.")),
|
|
101
101
|
helpEntries: [{
|
|
102
|
-
description: ( localize(
|
|
102
|
+
description: ( localize(7699, "Show All Debug Consoles")),
|
|
103
103
|
commandId: SELECT_DEBUG_CONSOLE_ID
|
|
104
104
|
}]
|
|
105
105
|
});
|
|
@@ -131,7 +131,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
133
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
134
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
134
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(7700, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED);
|
|
135
135
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo("stopped")));
|
|
136
136
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo("stopped")));
|
|
137
137
|
registerDebugCommandPaletteItem(
|
|
@@ -151,8 +151,8 @@ registerDebugCommandPaletteItem(
|
|
|
151
151
|
);
|
|
152
152
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
153
153
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo("stopped")));
|
|
154
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
155
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
154
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(7701, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
155
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(7702, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
156
156
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
157
157
|
registerDebugCommandPaletteItem(
|
|
158
158
|
SelectionToReplAction.ID,
|
|
@@ -163,7 +163,7 @@ registerDebugCommandPaletteItem(
|
|
|
163
163
|
SelectionToWatchExpressionsAction.ID,
|
|
164
164
|
SelectionToWatchExpressionsAction.LABEL
|
|
165
165
|
);
|
|
166
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
166
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(7703, "Inline Breakpoint")));
|
|
167
167
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
168
168
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
169
169
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
@@ -270,11 +270,11 @@ registerDebugViewMenuItem(
|
|
|
270
270
|
( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("thread")),
|
|
271
271
|
( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
272
272
|
);
|
|
273
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
274
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
275
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
276
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
277
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
273
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(7700, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("thread")), CONTEXT_TERMINATE_THREADS_SUPPORTED, "termination");
|
|
274
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(7704, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("stackFrame")), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
275
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(7705, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("stackFrame")), undefined, "3_modification");
|
|
276
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(7706, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, "inline", debugInspectMemory);
|
|
277
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(7707, "Set Value")), 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");
|
|
278
278
|
registerDebugViewMenuItem(
|
|
279
279
|
MenuId.DebugVariablesContext,
|
|
280
280
|
COPY_VALUE_ID,
|
|
@@ -302,18 +302,18 @@ registerDebugViewMenuItem(
|
|
|
302
302
|
undefined,
|
|
303
303
|
"z_commands"
|
|
304
304
|
);
|
|
305
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
306
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
305
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(7708, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, "z_commands");
|
|
306
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(7709, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, "z_commands");
|
|
307
307
|
registerDebugViewMenuItem(
|
|
308
308
|
MenuId.DebugVariablesContext,
|
|
309
309
|
BREAK_WHEN_VALUE_IS_ACCESSED_ID,
|
|
310
|
-
( localize(
|
|
310
|
+
( localize(7710, "Break on Value Access")),
|
|
311
311
|
220,
|
|
312
312
|
CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED,
|
|
313
313
|
undefined,
|
|
314
314
|
"z_commands"
|
|
315
315
|
);
|
|
316
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
316
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(7706, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, "inline", debugInspectMemory);
|
|
317
317
|
registerDebugViewMenuItem(
|
|
318
318
|
MenuId.DebugHoverContext,
|
|
319
319
|
COPY_VALUE_ID,
|
|
@@ -341,9 +341,9 @@ registerDebugViewMenuItem(
|
|
|
341
341
|
undefined,
|
|
342
342
|
"z_commands"
|
|
343
343
|
);
|
|
344
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
345
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
346
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
344
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(7708, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, "z_commands");
|
|
345
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(7709, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, "z_commands");
|
|
346
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(7710, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, "z_commands");
|
|
347
347
|
registerDebugViewMenuItem(
|
|
348
348
|
MenuId.DebugWatchContext,
|
|
349
349
|
ADD_WATCH_ID,
|
|
@@ -353,9 +353,9 @@ registerDebugViewMenuItem(
|
|
|
353
353
|
undefined,
|
|
354
354
|
"3_modification"
|
|
355
355
|
);
|
|
356
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
357
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
358
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
356
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(7711, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("expression")), undefined, "3_modification");
|
|
357
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(7707, "Set Value")), 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");
|
|
358
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(7712, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("expression")), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("variable")))), CONTEXT_IN_DEBUG_MODE, "3_modification");
|
|
359
359
|
registerDebugViewMenuItem(
|
|
360
360
|
MenuId.DebugWatchContext,
|
|
361
361
|
COPY_EVALUATE_PATH_ID,
|
|
@@ -365,8 +365,8 @@ registerDebugViewMenuItem(
|
|
|
365
365
|
CONTEXT_IN_DEBUG_MODE,
|
|
366
366
|
"3_modification"
|
|
367
367
|
);
|
|
368
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
369
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
368
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(7706, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, "inline", debugInspectMemory);
|
|
369
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(7713, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("expression")), undefined, "inline", watchExpressionRemove);
|
|
370
370
|
registerDebugViewMenuItem(
|
|
371
371
|
MenuId.DebugWatchContext,
|
|
372
372
|
REMOVE_WATCH_EXPRESSIONS_COMMAND_ID,
|
|
@@ -376,9 +376,9 @@ registerDebugViewMenuItem(
|
|
|
376
376
|
undefined,
|
|
377
377
|
"z_commands"
|
|
378
378
|
);
|
|
379
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
380
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
381
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
379
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(7708, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, "z_commands");
|
|
380
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(7709, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, "z_commands");
|
|
381
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(7710, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, "z_commands");
|
|
382
382
|
registerDebugViewMenuItem(
|
|
383
383
|
MenuId.NotebookVariablesContext,
|
|
384
384
|
COPY_NOTEBOOK_VARIABLE_VALUE_ID,
|
|
@@ -428,7 +428,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
428
428
|
isSplitButton: {
|
|
429
429
|
togglePrimaryAction: true
|
|
430
430
|
},
|
|
431
|
-
title: ( localize2(
|
|
431
|
+
title: ( localize2(7714, "Run or Debug...")),
|
|
432
432
|
icon: debugRun,
|
|
433
433
|
group: "navigation",
|
|
434
434
|
order: -1
|
|
@@ -436,8 +436,8 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
436
436
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
437
437
|
submenu: MenuId.MenubarDebugMenu,
|
|
438
438
|
title: {
|
|
439
|
-
...( localize2(
|
|
440
|
-
mnemonicTitle: ( localize(
|
|
439
|
+
...( localize2(7715, "Run")),
|
|
440
|
+
mnemonicTitle: ( localize(7716, "&&Run"))
|
|
441
441
|
},
|
|
442
442
|
order: 6
|
|
443
443
|
});
|
|
@@ -445,7 +445,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
445
445
|
group: "1_debug",
|
|
446
446
|
command: {
|
|
447
447
|
id: DEBUG_START_COMMAND_ID,
|
|
448
|
-
title: ( localize(
|
|
448
|
+
title: ( localize(7717, "&&Start Debugging"))
|
|
449
449
|
},
|
|
450
450
|
order: 1,
|
|
451
451
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -454,7 +454,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
454
454
|
group: "1_debug",
|
|
455
455
|
command: {
|
|
456
456
|
id: DEBUG_RUN_COMMAND_ID,
|
|
457
|
-
title: ( localize(
|
|
457
|
+
title: ( localize(7718, "Run &&Without Debugging"))
|
|
458
458
|
},
|
|
459
459
|
order: 2,
|
|
460
460
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -463,7 +463,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
463
463
|
group: "1_debug",
|
|
464
464
|
command: {
|
|
465
465
|
id: STOP_ID,
|
|
466
|
-
title: ( localize(
|
|
466
|
+
title: ( localize(7719, "&&Stop Debugging")),
|
|
467
467
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
468
468
|
},
|
|
469
469
|
order: 3,
|
|
@@ -473,7 +473,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
473
473
|
group: "1_debug",
|
|
474
474
|
command: {
|
|
475
475
|
id: RESTART_SESSION_ID,
|
|
476
|
-
title: ( localize(
|
|
476
|
+
title: ( localize(7720, "&&Restart Debugging")),
|
|
477
477
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
478
478
|
},
|
|
479
479
|
order: 4,
|
|
@@ -483,7 +483,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
483
483
|
group: "2_configuration",
|
|
484
484
|
command: {
|
|
485
485
|
id: ADD_CONFIGURATION_ID,
|
|
486
|
-
title: ( localize(
|
|
486
|
+
title: ( localize(7721, "A&&dd Configuration..."))
|
|
487
487
|
},
|
|
488
488
|
order: 2,
|
|
489
489
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -492,7 +492,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
492
492
|
group: "3_step",
|
|
493
493
|
command: {
|
|
494
494
|
id: STEP_OVER_ID,
|
|
495
|
-
title: ( localize(
|
|
495
|
+
title: ( localize(7722, "Step &&Over")),
|
|
496
496
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
497
497
|
},
|
|
498
498
|
order: 1,
|
|
@@ -502,7 +502,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
502
502
|
group: "3_step",
|
|
503
503
|
command: {
|
|
504
504
|
id: STEP_INTO_ID,
|
|
505
|
-
title: ( localize(
|
|
505
|
+
title: ( localize(7723, "Step &&Into")),
|
|
506
506
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
507
507
|
},
|
|
508
508
|
order: 2,
|
|
@@ -512,7 +512,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
512
512
|
group: "3_step",
|
|
513
513
|
command: {
|
|
514
514
|
id: STEP_OUT_ID,
|
|
515
|
-
title: ( localize(
|
|
515
|
+
title: ( localize(7724, "Step O&&ut")),
|
|
516
516
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
517
517
|
},
|
|
518
518
|
order: 3,
|
|
@@ -522,7 +522,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
522
522
|
group: "3_step",
|
|
523
523
|
command: {
|
|
524
524
|
id: CONTINUE_ID,
|
|
525
|
-
title: ( localize(
|
|
525
|
+
title: ( localize(7725, "&&Continue")),
|
|
526
526
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
527
527
|
},
|
|
528
528
|
order: 4,
|
|
@@ -532,14 +532,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
532
532
|
group: "1_breakpoints",
|
|
533
533
|
command: {
|
|
534
534
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
535
|
-
title: ( localize(
|
|
535
|
+
title: ( localize(7726, "Inline Breakp&&oint"))
|
|
536
536
|
},
|
|
537
537
|
order: 2,
|
|
538
538
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
539
539
|
});
|
|
540
540
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
541
541
|
group: "4_new_breakpoint",
|
|
542
|
-
title: ( localize(
|
|
542
|
+
title: ( localize(7727, "&&New Breakpoint")),
|
|
543
543
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
544
544
|
order: 2,
|
|
545
545
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -557,7 +557,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
557
557
|
group: "3_breakpoints",
|
|
558
558
|
command: {
|
|
559
559
|
id: TOGGLE_BREAKPOINT_ID,
|
|
560
|
-
title: ( localize(
|
|
560
|
+
title: ( localize(7728, "Toggle Breakpoint"))
|
|
561
561
|
},
|
|
562
562
|
order: 2,
|
|
563
563
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -566,13 +566,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
566
566
|
group: "z_install",
|
|
567
567
|
command: {
|
|
568
568
|
id: "debug.installAdditionalDebuggers",
|
|
569
|
-
title: ( localize(
|
|
569
|
+
title: ( localize(7729, "&&Install Additional Debuggers..."))
|
|
570
570
|
},
|
|
571
571
|
order: 1
|
|
572
572
|
});
|
|
573
573
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
574
574
|
id: DEBUG_PANEL_ID,
|
|
575
|
-
title: ( localize2(
|
|
575
|
+
title: ( localize2(7730, "Debug Console")),
|
|
576
576
|
icon: debugConsoleViewIcon,
|
|
577
577
|
ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [DEBUG_PANEL_ID, {
|
|
578
578
|
mergeViewWithContainerWhenSingleView: true
|
|
@@ -585,7 +585,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
585
585
|
});
|
|
586
586
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
587
587
|
id: REPL_VIEW_ID,
|
|
588
|
-
name: ( localize2(
|
|
588
|
+
name: ( localize2(7730, "Debug Console")),
|
|
589
589
|
containerIcon: debugConsoleViewIcon,
|
|
590
590
|
canToggleVisibility: true,
|
|
591
591
|
canMoveView: true,
|
|
@@ -593,7 +593,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
593
593
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
594
594
|
openCommandActionDescriptor: {
|
|
595
595
|
id: "workbench.debug.action.toggleRepl",
|
|
596
|
-
mnemonicTitle: ( localize(
|
|
596
|
+
mnemonicTitle: ( localize(7731, "De&&bug Console")),
|
|
597
597
|
keybindings: {
|
|
598
598
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY
|
|
599
599
|
},
|
|
@@ -602,10 +602,10 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
602
602
|
}], VIEW_CONTAINER);
|
|
603
603
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
604
604
|
id: VIEWLET_ID,
|
|
605
|
-
title: ( localize2(
|
|
605
|
+
title: ( localize2(7732, "Run and Debug")),
|
|
606
606
|
openCommandActionDescriptor: {
|
|
607
607
|
id: VIEWLET_ID,
|
|
608
|
-
mnemonicTitle: ( localize(
|
|
608
|
+
mnemonicTitle: ( localize(7733, "&&Run")),
|
|
609
609
|
keybindings: {
|
|
610
610
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD
|
|
611
611
|
},
|
|
@@ -619,7 +619,7 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
619
619
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
620
620
|
viewsRegistry.registerViews([{
|
|
621
621
|
id: VARIABLES_VIEW_ID,
|
|
622
|
-
name: ( localize2(
|
|
622
|
+
name: ( localize2(7734, "Variables")),
|
|
623
623
|
containerIcon: variablesViewIcon,
|
|
624
624
|
ctorDescriptor: ( new SyncDescriptor(VariablesView)),
|
|
625
625
|
order: 10,
|
|
@@ -633,7 +633,7 @@ viewsRegistry.registerViews([{
|
|
|
633
633
|
}], viewContainer);
|
|
634
634
|
viewsRegistry.registerViews([{
|
|
635
635
|
id: WATCH_VIEW_ID,
|
|
636
|
-
name: ( localize2(
|
|
636
|
+
name: ( localize2(7735, "Watch")),
|
|
637
637
|
containerIcon: watchViewIcon,
|
|
638
638
|
ctorDescriptor: ( new SyncDescriptor(WatchExpressionsView)),
|
|
639
639
|
order: 20,
|
|
@@ -647,7 +647,7 @@ viewsRegistry.registerViews([{
|
|
|
647
647
|
}], viewContainer);
|
|
648
648
|
viewsRegistry.registerViews([{
|
|
649
649
|
id: CALLSTACK_VIEW_ID,
|
|
650
|
-
name: ( localize2(
|
|
650
|
+
name: ( localize2(7736, "Call Stack")),
|
|
651
651
|
containerIcon: callStackViewIcon,
|
|
652
652
|
ctorDescriptor: ( new SyncDescriptor(CallStackView)),
|
|
653
653
|
order: 30,
|
|
@@ -661,7 +661,7 @@ viewsRegistry.registerViews([{
|
|
|
661
661
|
}], viewContainer);
|
|
662
662
|
viewsRegistry.registerViews([{
|
|
663
663
|
id: BREAKPOINTS_VIEW_ID,
|
|
664
|
-
name: ( localize2(
|
|
664
|
+
name: ( localize2(7737, "Breakpoints")),
|
|
665
665
|
containerIcon: breakpointsViewIcon,
|
|
666
666
|
ctorDescriptor: ( new SyncDescriptor(BreakpointsView)),
|
|
667
667
|
order: 40,
|
|
@@ -685,7 +685,7 @@ viewsRegistry.registerViews([{
|
|
|
685
685
|
}], viewContainer);
|
|
686
686
|
viewsRegistry.registerViews([{
|
|
687
687
|
id: LOADED_SCRIPTS_VIEW_ID,
|
|
688
|
-
name: ( localize2(
|
|
688
|
+
name: ( localize2(7738, "Loaded Scripts")),
|
|
689
689
|
containerIcon: loadedScriptsViewIcon,
|
|
690
690
|
ctorDescriptor: ( new SyncDescriptor(LoadedScriptsView)),
|
|
691
691
|
order: 35,
|
|
@@ -696,40 +696,40 @@ viewsRegistry.registerViews([{
|
|
|
696
696
|
when: ( ContextKeyExpr.and(CONTEXT_LOADED_SCRIPTS_SUPPORTED, ( CONTEXT_DEBUG_UX.isEqualTo("default"))))
|
|
697
697
|
}], viewContainer);
|
|
698
698
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
699
|
-
EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
699
|
+
EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(7739, "Disassembly"))),
|
|
700
700
|
[( new SyncDescriptor(DisassemblyViewInput))]
|
|
701
701
|
);
|
|
702
702
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
703
703
|
configurationRegistry.registerConfiguration({
|
|
704
704
|
id: "debug",
|
|
705
705
|
order: 20,
|
|
706
|
-
title: ( localize(
|
|
706
|
+
title: ( localize(7740, "Debug")),
|
|
707
707
|
type: "object",
|
|
708
708
|
properties: {
|
|
709
709
|
"debug.showVariableTypes": {
|
|
710
710
|
type: "boolean",
|
|
711
|
-
description: ( localize(
|
|
711
|
+
description: ( localize(7741, "Show variable type in variable pane during debug session")),
|
|
712
712
|
default: false
|
|
713
713
|
},
|
|
714
714
|
"debug.allowBreakpointsEverywhere": {
|
|
715
715
|
type: "boolean",
|
|
716
|
-
description: ( localize(
|
|
716
|
+
description: ( localize(7742, "Allow setting breakpoints in any file.")),
|
|
717
717
|
default: false
|
|
718
718
|
},
|
|
719
719
|
"debug.gutterMiddleClickAction": {
|
|
720
720
|
type: "string",
|
|
721
721
|
enum: ["logpoint", "conditionalBreakpoint", "triggeredBreakpoint", "none"],
|
|
722
722
|
description: ( localize(
|
|
723
|
-
|
|
723
|
+
7743,
|
|
724
724
|
"Controls the action to perform when clicking the editor gutter with the middle mouse button."
|
|
725
725
|
)),
|
|
726
|
-
enumDescriptions: [( localize(
|
|
726
|
+
enumDescriptions: [( localize(7744, "Add Logpoint.")), ( localize(7745, "Add Conditional Breakpoint.")), ( localize(7746, "Add Triggered Breakpoint.")), ( localize(7747, "Don't perform any action."))],
|
|
727
727
|
default: "logpoint"
|
|
728
728
|
},
|
|
729
729
|
"debug.openExplorerOnEnd": {
|
|
730
730
|
type: "boolean",
|
|
731
731
|
description: ( localize(
|
|
732
|
-
|
|
732
|
+
7748,
|
|
733
733
|
"Automatically open the explorer view at the end of a debug session."
|
|
734
734
|
)),
|
|
735
735
|
default: false
|
|
@@ -737,7 +737,7 @@ configurationRegistry.registerConfiguration({
|
|
|
737
737
|
"debug.closeReadonlyTabsOnEnd": {
|
|
738
738
|
type: "boolean",
|
|
739
739
|
description: ( localize(
|
|
740
|
-
|
|
740
|
+
7749,
|
|
741
741
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
742
742
|
)),
|
|
743
743
|
default: false
|
|
@@ -745,9 +745,9 @@ configurationRegistry.registerConfiguration({
|
|
|
745
745
|
"debug.inlineValues": {
|
|
746
746
|
type: "string",
|
|
747
747
|
"enum": ["on", "off", "auto"],
|
|
748
|
-
description: ( localize(
|
|
749
|
-
"enumDescriptions": [( localize(
|
|
750
|
-
|
|
748
|
+
description: ( localize(7750, "Show variable values inline in editor while debugging.")),
|
|
749
|
+
"enumDescriptions": [( localize(7751, "Always show variable values inline in editor while debugging.")), ( localize(7752, "Never show variable values inline in editor while debugging.")), ( localize(
|
|
750
|
+
7753,
|
|
751
751
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
752
752
|
))],
|
|
753
753
|
default: "auto"
|
|
@@ -755,27 +755,27 @@ configurationRegistry.registerConfiguration({
|
|
|
755
755
|
"debug.toolBarLocation": {
|
|
756
756
|
enum: ["floating", "docked", "commandCenter", "hidden"],
|
|
757
757
|
markdownDescription: ( localize(
|
|
758
|
-
|
|
758
|
+
7754,
|
|
759
759
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
760
760
|
"`#window.commandCenter#`"
|
|
761
761
|
)),
|
|
762
762
|
default: "floating",
|
|
763
|
-
markdownEnumDescriptions: [( localize(
|
|
763
|
+
markdownEnumDescriptions: [( localize(7755, "Show debug toolbar in all views.")), ( localize(7756, "Show debug toolbar only in debug views.")), ( localize(7757, "`(Experimental)` Show debug toolbar in the command center.")), ( localize(7758, "Do not show debug toolbar."))]
|
|
764
764
|
},
|
|
765
765
|
"debug.showInStatusBar": {
|
|
766
766
|
enum: ["never", "always", "onFirstSessionStart"],
|
|
767
|
-
enumDescriptions: [( localize(
|
|
768
|
-
|
|
767
|
+
enumDescriptions: [( localize(7759, "Never show debug item in status bar")), ( localize(7760, "Always show debug item in status bar")), ( localize(
|
|
768
|
+
7761,
|
|
769
769
|
"Show debug item in status bar only after debug was started for the first time"
|
|
770
770
|
))],
|
|
771
|
-
description: ( localize(
|
|
771
|
+
description: ( localize(7762, "Controls when the debug status bar item should be visible.")),
|
|
772
772
|
default: "onFirstSessionStart"
|
|
773
773
|
},
|
|
774
774
|
"debug.internalConsoleOptions": INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
775
775
|
"debug.console.closeOnEnd": {
|
|
776
776
|
type: "boolean",
|
|
777
777
|
description: ( localize(
|
|
778
|
-
|
|
778
|
+
7763,
|
|
779
779
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
780
780
|
)),
|
|
781
781
|
default: false
|
|
@@ -783,7 +783,7 @@ configurationRegistry.registerConfiguration({
|
|
|
783
783
|
"debug.terminal.clearBeforeReusing": {
|
|
784
784
|
type: "boolean",
|
|
785
785
|
description: ( localize(
|
|
786
|
-
|
|
786
|
+
7764,
|
|
787
787
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
788
788
|
)),
|
|
789
789
|
default: false
|
|
@@ -796,43 +796,43 @@ configurationRegistry.registerConfiguration({
|
|
|
796
796
|
"openOnDebugBreak"
|
|
797
797
|
],
|
|
798
798
|
default: "openOnDebugBreak",
|
|
799
|
-
description: ( localize(
|
|
799
|
+
description: ( localize(7765, "Controls when the debug view should open."))
|
|
800
800
|
},
|
|
801
801
|
"debug.showSubSessionsInToolBar": {
|
|
802
802
|
type: "boolean",
|
|
803
803
|
description: ( localize(
|
|
804
|
-
|
|
804
|
+
7766,
|
|
805
805
|
"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."
|
|
806
806
|
)),
|
|
807
807
|
default: false
|
|
808
808
|
},
|
|
809
809
|
"debug.console.fontSize": {
|
|
810
810
|
type: "number",
|
|
811
|
-
description: ( localize(
|
|
811
|
+
description: ( localize(7767, "Controls the font size in pixels in the Debug Console.")),
|
|
812
812
|
default: isMacintosh ? 12 : 14
|
|
813
813
|
},
|
|
814
814
|
"debug.console.fontFamily": {
|
|
815
815
|
type: "string",
|
|
816
|
-
description: ( localize(
|
|
816
|
+
description: ( localize(7768, "Controls the font family in the Debug Console.")),
|
|
817
817
|
default: "default"
|
|
818
818
|
},
|
|
819
819
|
"debug.console.lineHeight": {
|
|
820
820
|
type: "number",
|
|
821
821
|
description: ( localize(
|
|
822
|
-
|
|
822
|
+
7769,
|
|
823
823
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
824
824
|
)),
|
|
825
825
|
default: 0
|
|
826
826
|
},
|
|
827
827
|
"debug.console.wordWrap": {
|
|
828
828
|
type: "boolean",
|
|
829
|
-
description: ( localize(
|
|
829
|
+
description: ( localize(7770, "Controls if the lines should wrap in the Debug Console.")),
|
|
830
830
|
default: true
|
|
831
831
|
},
|
|
832
832
|
"debug.console.historySuggestions": {
|
|
833
833
|
type: "boolean",
|
|
834
834
|
description: ( localize(
|
|
835
|
-
|
|
835
|
+
7771,
|
|
836
836
|
"Controls if the Debug Console should suggest previously typed input."
|
|
837
837
|
)),
|
|
838
838
|
default: true
|
|
@@ -840,7 +840,7 @@ configurationRegistry.registerConfiguration({
|
|
|
840
840
|
"debug.console.collapseIdenticalLines": {
|
|
841
841
|
type: "boolean",
|
|
842
842
|
description: ( localize(
|
|
843
|
-
|
|
843
|
+
7772,
|
|
844
844
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
845
845
|
)),
|
|
846
846
|
default: true
|
|
@@ -848,20 +848,20 @@ configurationRegistry.registerConfiguration({
|
|
|
848
848
|
"debug.console.acceptSuggestionOnEnter": {
|
|
849
849
|
enum: ["off", "on"],
|
|
850
850
|
description: ( localize(
|
|
851
|
-
|
|
851
|
+
7773,
|
|
852
852
|
"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."
|
|
853
853
|
)),
|
|
854
854
|
default: "off"
|
|
855
855
|
},
|
|
856
856
|
"debug.console.maximumLines": {
|
|
857
857
|
type: "number",
|
|
858
|
-
description: ( localize(
|
|
858
|
+
description: ( localize(7774, "Controls the maximum number of lines in the Debug Console.")),
|
|
859
859
|
default: 10000
|
|
860
860
|
},
|
|
861
861
|
"launch": {
|
|
862
862
|
type: "object",
|
|
863
863
|
description: ( localize(
|
|
864
|
-
|
|
864
|
+
7775,
|
|
865
865
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
866
866
|
)),
|
|
867
867
|
default: {
|
|
@@ -874,7 +874,7 @@ configurationRegistry.registerConfiguration({
|
|
|
874
874
|
"debug.focusWindowOnBreak": {
|
|
875
875
|
type: "boolean",
|
|
876
876
|
description: ( localize(
|
|
877
|
-
|
|
877
|
+
7776,
|
|
878
878
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
879
879
|
)),
|
|
880
880
|
default: true
|
|
@@ -882,16 +882,16 @@ configurationRegistry.registerConfiguration({
|
|
|
882
882
|
"debug.focusEditorOnBreak": {
|
|
883
883
|
type: "boolean",
|
|
884
884
|
description: ( localize(
|
|
885
|
-
|
|
885
|
+
7777,
|
|
886
886
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
887
887
|
)),
|
|
888
888
|
default: true
|
|
889
889
|
},
|
|
890
890
|
"debug.onTaskErrors": {
|
|
891
891
|
enum: ["debugAnyway", "showErrors", "prompt", "abort"],
|
|
892
|
-
enumDescriptions: [( localize(
|
|
892
|
+
enumDescriptions: [( localize(7778, "Ignore task errors and start debugging.")), ( localize(7779, "Show the Problems view and do not start debugging.")), ( localize(7780, "Prompt user.")), ( localize(7781, "Cancel debugging."))],
|
|
893
893
|
description: ( localize(
|
|
894
|
-
|
|
894
|
+
7782,
|
|
895
895
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
896
896
|
)),
|
|
897
897
|
default: "prompt"
|
|
@@ -899,7 +899,7 @@ configurationRegistry.registerConfiguration({
|
|
|
899
899
|
"debug.showBreakpointsInOverviewRuler": {
|
|
900
900
|
type: "boolean",
|
|
901
901
|
description: ( localize(
|
|
902
|
-
|
|
902
|
+
7783,
|
|
903
903
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
904
904
|
)),
|
|
905
905
|
default: false
|
|
@@ -907,7 +907,7 @@ configurationRegistry.registerConfiguration({
|
|
|
907
907
|
"debug.breakpointsView.presentation": {
|
|
908
908
|
type: "string",
|
|
909
909
|
description: ( localize(
|
|
910
|
-
|
|
910
|
+
7784,
|
|
911
911
|
"Controls whether breakpoints are displayed in a tree view grouped by file, or as a flat list."
|
|
912
912
|
)),
|
|
913
913
|
enum: ["tree", "list"],
|
|
@@ -916,61 +916,61 @@ configurationRegistry.registerConfiguration({
|
|
|
916
916
|
"debug.showInlineBreakpointCandidates": {
|
|
917
917
|
type: "boolean",
|
|
918
918
|
description: ( localize(
|
|
919
|
-
|
|
919
|
+
7785,
|
|
920
920
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
921
921
|
)),
|
|
922
922
|
default: true
|
|
923
923
|
},
|
|
924
924
|
"debug.saveBeforeStart": {
|
|
925
|
-
description: ( localize(
|
|
925
|
+
description: ( localize(7786, "Controls what editors to save before starting a debug session.")),
|
|
926
926
|
enum: ["allEditorsInActiveGroup", "nonUntitledEditorsInActiveGroup", "none"],
|
|
927
927
|
enumDescriptions: [( localize(
|
|
928
|
-
|
|
928
|
+
7787,
|
|
929
929
|
"Save all editors in the active group before starting a debug session."
|
|
930
930
|
)), ( localize(
|
|
931
|
-
|
|
931
|
+
7788,
|
|
932
932
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
933
|
-
)), ( localize(
|
|
933
|
+
)), ( localize(7789, "Don't save any editors before starting a debug session."))],
|
|
934
934
|
default: "allEditorsInActiveGroup",
|
|
935
935
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
936
936
|
},
|
|
937
937
|
"debug.confirmOnExit": {
|
|
938
938
|
description: ( localize(
|
|
939
|
-
|
|
939
|
+
7790,
|
|
940
940
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
941
941
|
)),
|
|
942
942
|
type: "string",
|
|
943
943
|
enum: ["never", "always"],
|
|
944
|
-
enumDescriptions: [( localize(
|
|
944
|
+
enumDescriptions: [( localize(7791, "Never confirm.")), ( localize(7792, "Always confirm if there are debug sessions."))],
|
|
945
945
|
default: "never"
|
|
946
946
|
},
|
|
947
947
|
"debug.disassemblyView.showSourceCode": {
|
|
948
948
|
type: "boolean",
|
|
949
949
|
default: true,
|
|
950
|
-
description: ( localize(
|
|
950
|
+
description: ( localize(7793, "Show Source Code in Disassembly View."))
|
|
951
951
|
},
|
|
952
952
|
"debug.autoExpandLazyVariables": {
|
|
953
953
|
type: "string",
|
|
954
954
|
enum: ["auto", "on", "off"],
|
|
955
955
|
default: "auto",
|
|
956
956
|
enumDescriptions: [( localize(
|
|
957
|
-
|
|
957
|
+
7794,
|
|
958
958
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
959
|
-
)), ( localize(
|
|
959
|
+
)), ( localize(7795, "Always automatically expand lazy variables.")), ( localize(7796, "Never automatically expand lazy variables."))],
|
|
960
960
|
description: ( localize(
|
|
961
|
-
|
|
961
|
+
7797,
|
|
962
962
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
963
963
|
))
|
|
964
964
|
},
|
|
965
965
|
"debug.enableStatusBarColor": {
|
|
966
966
|
type: "boolean",
|
|
967
|
-
description: ( localize(
|
|
967
|
+
description: ( localize(7798, "Color of the status bar when the debugger is active.")),
|
|
968
968
|
default: true
|
|
969
969
|
},
|
|
970
970
|
"debug.hideLauncherWhileDebugging": {
|
|
971
971
|
type: "boolean",
|
|
972
972
|
markdownDescription: ( localize(
|
|
973
|
-
|
|
973
|
+
7799,
|
|
974
974
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
975
975
|
"`#debug.toolBarLocation#`"
|
|
976
976
|
)),
|
|
@@ -979,7 +979,7 @@ configurationRegistry.registerConfiguration({
|
|
|
979
979
|
"debug.hideSlowPreLaunchWarning": {
|
|
980
980
|
type: "boolean",
|
|
981
981
|
markdownDescription: ( localize(
|
|
982
|
-
|
|
982
|
+
7800,
|
|
983
983
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
984
984
|
)),
|
|
985
985
|
default: false
|