@codingame/monaco-vscode-debug-service-override 18.4.0 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +16 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +111 -111
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +22 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +4 -4
- 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 +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +20 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- 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 +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +3 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -23,7 +23,7 @@ import { Extensions as Extensions$2, ViewContainerLocation } from '@codingame/mo
|
|
|
23
23
|
import { launchSchemaId } from '@codingame/monaco-vscode-ce7c734f-7712-563c-9335-d7acb43306af-common/vscode/vs/workbench/services/configuration/common/configuration';
|
|
24
24
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
25
25
|
import { COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL } from '../../notebook/browser/contrib/notebookVariables/notebookVariableCommands.js';
|
|
26
|
-
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, State, 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, CONTEXT_EXPRESSION_SELECTED, WATCH_VIEW_ID, VARIABLES_VIEW_ID, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, CONTEXT_DEBUG_UX, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID,
|
|
26
|
+
import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED, 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, State, CONTEXT_LOADED_SCRIPTS_SUPPORTED, 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, CONTEXT_EXPRESSION_SELECTED, WATCH_VIEW_ID, VARIABLES_VIEW_ID, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, CONTEXT_DEBUG_UX, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
27
27
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
28
28
|
import { DebugWatchAccessibilityAnnouncer } from '../common/debugAccessibilityAnnouncer.js';
|
|
29
29
|
import { DebugContentProvider } from '../common/debugContentProvider.js';
|
|
@@ -64,7 +64,7 @@ import { WelcomeView } from './welcomeView.js';
|
|
|
64
64
|
|
|
65
65
|
registerCss(debug_contribution);
|
|
66
66
|
registerCss(debugHover);
|
|
67
|
-
const debugCategory = ( localize(
|
|
67
|
+
const debugCategory = ( localize(5834, "Debug"));
|
|
68
68
|
registerColors();
|
|
69
69
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
70
70
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -80,9 +80,9 @@ if (isWeb) {
|
|
|
80
80
|
ctor: StartDebugQuickAccessProvider,
|
|
81
81
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
82
82
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
83
|
-
placeholder: ( localize(
|
|
83
|
+
placeholder: ( localize(5835, "Type the name of a launch configuration to run.")),
|
|
84
84
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(5836, "Start Debugging")),
|
|
86
86
|
commandId: SELECT_AND_START_ID,
|
|
87
87
|
commandCenterOrder: 50
|
|
88
88
|
}]
|
|
@@ -91,8 +91,8 @@ if (isWeb) {
|
|
|
91
91
|
ctor: DebugConsoleQuickAccess,
|
|
92
92
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
93
93
|
contextKey: 'inDebugConsolePicker',
|
|
94
|
-
placeholder: ( localize(
|
|
95
|
-
helpEntries: [{ description: ( localize(
|
|
94
|
+
placeholder: ( localize(5837, "Type the name of a debug console to open.")),
|
|
95
|
+
helpEntries: [{ description: ( localize(5838, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
96
96
|
});
|
|
97
97
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
98
98
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
@@ -110,7 +110,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
112
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
113
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
113
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(5839, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED);
|
|
114
114
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
115
115
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
116
116
|
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')))));
|
|
@@ -120,18 +120,18 @@ registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBU
|
|
|
120
120
|
registerDebugCommandPaletteItem(DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(CONTEXT_FOCUSED_SESSION_IS_ATTACH, ( ContextKeyExpr.and(CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)))));
|
|
121
121
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
122
122
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
123
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
124
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
123
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(5840, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
124
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(5841, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
125
125
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
126
126
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
127
127
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
|
|
128
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
128
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(5842, "Inline Breakpoint")));
|
|
129
129
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
130
130
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
131
131
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
132
132
|
registerDebugCommandPaletteItem(NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL);
|
|
133
133
|
registerDebugCommandPaletteItem(PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL);
|
|
134
|
-
registerDebugCommandPaletteItem(SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
134
|
+
registerDebugCommandPaletteItem(SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, CONTEXT_IN_DEBUG_MODE, CONTEXT_LOADED_SCRIPTS_SUPPORTED);
|
|
135
135
|
registerDebugCommandPaletteItem(SELECT_DEBUG_CONSOLE_ID, SELECT_DEBUG_CONSOLE_LABEL);
|
|
136
136
|
registerDebugCommandPaletteItem(SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL);
|
|
137
137
|
registerDebugCommandPaletteItem(CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
@@ -161,30 +161,30 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
161
161
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
162
162
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
163
163
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
164
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
165
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
166
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
167
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
168
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
164
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(5839, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), CONTEXT_TERMINATE_THREADS_SUPPORTED, 'termination');
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(5843, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
166
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(5844, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(5845, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(5846, "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');
|
|
169
169
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
170
170
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
171
171
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
172
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
173
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
174
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
175
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
172
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(5847, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
173
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(5848, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
174
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(5849, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(5845, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
176
176
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
177
177
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
178
178
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
179
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
180
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
181
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
179
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(5847, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
180
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(5848, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
181
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(5849, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
182
182
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
183
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
184
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
185
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
186
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
187
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(5850, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(5846, "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');
|
|
185
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(5851, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
186
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(5845, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(5852, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
188
188
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
189
189
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
190
190
|
KeybindingsRegistry.registerKeybindingRule({
|
|
@@ -216,12 +216,12 @@ if (isMacintosh) {
|
|
|
216
216
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
217
217
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
218
218
|
}
|
|
219
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
219
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(5853, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
220
220
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
221
221
|
submenu: MenuId.MenubarDebugMenu,
|
|
222
222
|
title: {
|
|
223
|
-
...( localize2(
|
|
224
|
-
mnemonicTitle: ( localize(
|
|
223
|
+
...( localize2(5854, "Run")),
|
|
224
|
+
mnemonicTitle: ( localize(5855, "&&Run"))
|
|
225
225
|
},
|
|
226
226
|
order: 6
|
|
227
227
|
});
|
|
@@ -229,7 +229,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
229
229
|
group: '1_debug',
|
|
230
230
|
command: {
|
|
231
231
|
id: DEBUG_START_COMMAND_ID,
|
|
232
|
-
title: ( localize(
|
|
232
|
+
title: ( localize(5856, "&&Start Debugging"))
|
|
233
233
|
},
|
|
234
234
|
order: 1,
|
|
235
235
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -238,7 +238,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
238
238
|
group: '1_debug',
|
|
239
239
|
command: {
|
|
240
240
|
id: DEBUG_RUN_COMMAND_ID,
|
|
241
|
-
title: ( localize(
|
|
241
|
+
title: ( localize(5857, "Run &&Without Debugging"))
|
|
242
242
|
},
|
|
243
243
|
order: 2,
|
|
244
244
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -247,7 +247,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
247
247
|
group: '1_debug',
|
|
248
248
|
command: {
|
|
249
249
|
id: STOP_ID,
|
|
250
|
-
title: ( localize(
|
|
250
|
+
title: ( localize(5858, "&&Stop Debugging")),
|
|
251
251
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
252
252
|
},
|
|
253
253
|
order: 3,
|
|
@@ -257,7 +257,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
257
257
|
group: '1_debug',
|
|
258
258
|
command: {
|
|
259
259
|
id: RESTART_SESSION_ID,
|
|
260
|
-
title: ( localize(
|
|
260
|
+
title: ( localize(5859, "&&Restart Debugging")),
|
|
261
261
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
262
262
|
},
|
|
263
263
|
order: 4,
|
|
@@ -267,7 +267,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
267
267
|
group: '2_configuration',
|
|
268
268
|
command: {
|
|
269
269
|
id: ADD_CONFIGURATION_ID,
|
|
270
|
-
title: ( localize(
|
|
270
|
+
title: ( localize(5860, "A&&dd Configuration..."))
|
|
271
271
|
},
|
|
272
272
|
order: 2,
|
|
273
273
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -276,7 +276,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
276
276
|
group: '3_step',
|
|
277
277
|
command: {
|
|
278
278
|
id: STEP_OVER_ID,
|
|
279
|
-
title: ( localize(
|
|
279
|
+
title: ( localize(5861, "Step &&Over")),
|
|
280
280
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
281
281
|
},
|
|
282
282
|
order: 1,
|
|
@@ -286,7 +286,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
286
286
|
group: '3_step',
|
|
287
287
|
command: {
|
|
288
288
|
id: STEP_INTO_ID,
|
|
289
|
-
title: ( localize(
|
|
289
|
+
title: ( localize(5862, "Step &&Into")),
|
|
290
290
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
291
291
|
},
|
|
292
292
|
order: 2,
|
|
@@ -296,7 +296,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
296
296
|
group: '3_step',
|
|
297
297
|
command: {
|
|
298
298
|
id: STEP_OUT_ID,
|
|
299
|
-
title: ( localize(
|
|
299
|
+
title: ( localize(5863, "Step O&&ut")),
|
|
300
300
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
301
301
|
},
|
|
302
302
|
order: 3,
|
|
@@ -306,7 +306,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
306
306
|
group: '3_step',
|
|
307
307
|
command: {
|
|
308
308
|
id: CONTINUE_ID,
|
|
309
|
-
title: ( localize(
|
|
309
|
+
title: ( localize(5864, "&&Continue")),
|
|
310
310
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
311
311
|
},
|
|
312
312
|
order: 4,
|
|
@@ -316,14 +316,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
316
316
|
group: '1_breakpoints',
|
|
317
317
|
command: {
|
|
318
318
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(5865, "Inline Breakp&&oint"))
|
|
320
320
|
},
|
|
321
321
|
order: 2,
|
|
322
322
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
323
323
|
});
|
|
324
324
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
325
325
|
group: '4_new_breakpoint',
|
|
326
|
-
title: ( localize(
|
|
326
|
+
title: ( localize(5866, "&&New Breakpoint")),
|
|
327
327
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
328
328
|
order: 2,
|
|
329
329
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -341,7 +341,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
341
341
|
group: '3_breakpoints',
|
|
342
342
|
command: {
|
|
343
343
|
id: TOGGLE_BREAKPOINT_ID,
|
|
344
|
-
title: ( localize(
|
|
344
|
+
title: ( localize(5867, "Toggle Breakpoint")),
|
|
345
345
|
},
|
|
346
346
|
order: 2,
|
|
347
347
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -350,13 +350,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
350
350
|
group: 'z_install',
|
|
351
351
|
command: {
|
|
352
352
|
id: 'debug.installAdditionalDebuggers',
|
|
353
|
-
title: ( localize(
|
|
353
|
+
title: ( localize(5868, "&&Install Additional Debuggers..."))
|
|
354
354
|
},
|
|
355
355
|
order: 1
|
|
356
356
|
});
|
|
357
357
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
358
358
|
id: DEBUG_PANEL_ID,
|
|
359
|
-
title: ( localize2(
|
|
359
|
+
title: ( localize2(5869, "Debug Console")),
|
|
360
360
|
icon: debugConsoleViewIcon,
|
|
361
361
|
ctorDescriptor: ( new SyncDescriptor(
|
|
362
362
|
ViewPaneContainer,
|
|
@@ -368,7 +368,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
368
368
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
369
369
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
370
370
|
id: REPL_VIEW_ID,
|
|
371
|
-
name: ( localize2(
|
|
371
|
+
name: ( localize2(5869, "Debug Console")),
|
|
372
372
|
containerIcon: debugConsoleViewIcon,
|
|
373
373
|
canToggleVisibility: true,
|
|
374
374
|
canMoveView: true,
|
|
@@ -376,17 +376,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
376
376
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
377
377
|
openCommandActionDescriptor: {
|
|
378
378
|
id: 'workbench.debug.action.toggleRepl',
|
|
379
|
-
mnemonicTitle: ( localize(
|
|
379
|
+
mnemonicTitle: ( localize(5870, "De&&bug Console")),
|
|
380
380
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
381
381
|
order: 2
|
|
382
382
|
}
|
|
383
383
|
}], VIEW_CONTAINER);
|
|
384
384
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
385
385
|
id: VIEWLET_ID,
|
|
386
|
-
title: ( localize2(
|
|
386
|
+
title: ( localize2(5871, "Run and Debug")),
|
|
387
387
|
openCommandActionDescriptor: {
|
|
388
388
|
id: VIEWLET_ID,
|
|
389
|
-
mnemonicTitle: ( localize(
|
|
389
|
+
mnemonicTitle: ( localize(5872, "&&Run")),
|
|
390
390
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
391
391
|
order: 3
|
|
392
392
|
},
|
|
@@ -396,49 +396,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
396
396
|
order: 3,
|
|
397
397
|
}, ViewContainerLocation.Sidebar);
|
|
398
398
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
399
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
400
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
401
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
402
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
399
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(5873, "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);
|
|
400
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(5874, "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);
|
|
401
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(5875, "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);
|
|
402
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(5876, "Breakpoints")), 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);
|
|
403
403
|
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);
|
|
404
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
405
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
404
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(5877, "Loaded Scripts")), 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);
|
|
405
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(5878, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
406
406
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
407
407
|
configurationRegistry.registerConfiguration({
|
|
408
408
|
id: 'debug',
|
|
409
409
|
order: 20,
|
|
410
|
-
title: ( localize(
|
|
410
|
+
title: ( localize(5879, "Debug")),
|
|
411
411
|
type: 'object',
|
|
412
412
|
properties: {
|
|
413
413
|
'debug.showVariableTypes': {
|
|
414
414
|
type: 'boolean',
|
|
415
|
-
description: ( localize(
|
|
415
|
+
description: ( localize(5880, "Show variable type in variable pane during debug session")),
|
|
416
416
|
default: false
|
|
417
417
|
},
|
|
418
418
|
'debug.allowBreakpointsEverywhere': {
|
|
419
419
|
type: 'boolean',
|
|
420
|
-
description: ( localize(
|
|
420
|
+
description: ( localize(5881, "Allow setting breakpoints in any file.")),
|
|
421
421
|
default: false
|
|
422
422
|
},
|
|
423
423
|
'debug.gutterMiddleClickAction': {
|
|
424
424
|
type: 'string',
|
|
425
425
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
426
426
|
description: ( localize(
|
|
427
|
-
|
|
427
|
+
5882,
|
|
428
428
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
429
429
|
)),
|
|
430
430
|
enumDescriptions: [
|
|
431
|
-
( localize(
|
|
432
|
-
( localize(
|
|
433
|
-
( localize(
|
|
434
|
-
( localize(
|
|
431
|
+
( localize(5883, "Add Logpoint.")),
|
|
432
|
+
( localize(5884, "Add Conditional Breakpoint.")),
|
|
433
|
+
( localize(5885, "Add Triggered Breakpoint.")),
|
|
434
|
+
( localize(5886, "Don't perform any action.")),
|
|
435
435
|
],
|
|
436
436
|
default: 'logpoint',
|
|
437
437
|
},
|
|
438
438
|
'debug.openExplorerOnEnd': {
|
|
439
439
|
type: 'boolean',
|
|
440
440
|
description: ( localize(
|
|
441
|
-
|
|
441
|
+
5887,
|
|
442
442
|
"Automatically open the explorer view at the end of a debug session."
|
|
443
443
|
)),
|
|
444
444
|
default: false
|
|
@@ -446,7 +446,7 @@ configurationRegistry.registerConfiguration({
|
|
|
446
446
|
'debug.closeReadonlyTabsOnEnd': {
|
|
447
447
|
type: 'boolean',
|
|
448
448
|
description: ( localize(
|
|
449
|
-
|
|
449
|
+
5888,
|
|
450
450
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
451
451
|
)),
|
|
452
452
|
default: false
|
|
@@ -454,12 +454,12 @@ configurationRegistry.registerConfiguration({
|
|
|
454
454
|
'debug.inlineValues': {
|
|
455
455
|
type: 'string',
|
|
456
456
|
'enum': ['on', 'off', 'auto'],
|
|
457
|
-
description: ( localize(
|
|
457
|
+
description: ( localize(5889, "Show variable values inline in editor while debugging.")),
|
|
458
458
|
'enumDescriptions': [
|
|
459
|
-
( localize(
|
|
460
|
-
( localize(
|
|
459
|
+
( localize(5890, "Always show variable values inline in editor while debugging.")),
|
|
460
|
+
( localize(5891, "Never show variable values inline in editor while debugging.")),
|
|
461
461
|
( localize(
|
|
462
|
-
|
|
462
|
+
5892,
|
|
463
463
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
464
464
|
)),
|
|
465
465
|
],
|
|
@@ -468,32 +468,32 @@ configurationRegistry.registerConfiguration({
|
|
|
468
468
|
'debug.toolBarLocation': {
|
|
469
469
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
470
470
|
markdownDescription: ( localize(
|
|
471
|
-
|
|
471
|
+
5893,
|
|
472
472
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
473
473
|
'`#window.commandCenter#`'
|
|
474
474
|
)),
|
|
475
475
|
default: 'floating',
|
|
476
476
|
markdownEnumDescriptions: [
|
|
477
|
-
( localize(
|
|
478
|
-
( localize(
|
|
479
|
-
( localize(
|
|
480
|
-
( localize(
|
|
477
|
+
( localize(5894, "Show debug toolbar in all views.")),
|
|
478
|
+
( localize(5895, "Show debug toolbar only in debug views.")),
|
|
479
|
+
( localize(5896, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
480
|
+
( localize(5897, "Do not show debug toolbar.")),
|
|
481
481
|
]
|
|
482
482
|
},
|
|
483
483
|
'debug.showInStatusBar': {
|
|
484
484
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
485
|
-
enumDescriptions: [( localize(
|
|
486
|
-
|
|
485
|
+
enumDescriptions: [( localize(5898, "Never show debug in Status bar")), ( localize(5899, "Always show debug in Status bar")), ( localize(
|
|
486
|
+
5900,
|
|
487
487
|
"Show debug in Status bar only after debug was started for the first time"
|
|
488
488
|
))],
|
|
489
|
-
description: ( localize(
|
|
489
|
+
description: ( localize(5901, "Controls when the debug Status bar should be visible.")),
|
|
490
490
|
default: 'onFirstSessionStart'
|
|
491
491
|
},
|
|
492
492
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
493
493
|
'debug.console.closeOnEnd': {
|
|
494
494
|
type: 'boolean',
|
|
495
495
|
description: ( localize(
|
|
496
|
-
|
|
496
|
+
5902,
|
|
497
497
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
498
498
|
)),
|
|
499
499
|
default: false
|
|
@@ -501,7 +501,7 @@ configurationRegistry.registerConfiguration({
|
|
|
501
501
|
'debug.terminal.clearBeforeReusing': {
|
|
502
502
|
type: 'boolean',
|
|
503
503
|
description: ( localize(
|
|
504
|
-
|
|
504
|
+
5903,
|
|
505
505
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
506
506
|
)),
|
|
507
507
|
default: false
|
|
@@ -509,43 +509,43 @@ configurationRegistry.registerConfiguration({
|
|
|
509
509
|
'debug.openDebug': {
|
|
510
510
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
511
511
|
default: 'openOnDebugBreak',
|
|
512
|
-
description: ( localize(
|
|
512
|
+
description: ( localize(5904, "Controls when the debug view should open."))
|
|
513
513
|
},
|
|
514
514
|
'debug.showSubSessionsInToolBar': {
|
|
515
515
|
type: 'boolean',
|
|
516
516
|
description: ( localize(
|
|
517
|
-
|
|
517
|
+
5905,
|
|
518
518
|
"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."
|
|
519
519
|
)),
|
|
520
520
|
default: false
|
|
521
521
|
},
|
|
522
522
|
'debug.console.fontSize': {
|
|
523
523
|
type: 'number',
|
|
524
|
-
description: ( localize(
|
|
524
|
+
description: ( localize(5906, "Controls the font size in pixels in the Debug Console.")),
|
|
525
525
|
default: isMacintosh ? 12 : 14,
|
|
526
526
|
},
|
|
527
527
|
'debug.console.fontFamily': {
|
|
528
528
|
type: 'string',
|
|
529
|
-
description: ( localize(
|
|
529
|
+
description: ( localize(5907, "Controls the font family in the Debug Console.")),
|
|
530
530
|
default: 'default'
|
|
531
531
|
},
|
|
532
532
|
'debug.console.lineHeight': {
|
|
533
533
|
type: 'number',
|
|
534
534
|
description: ( localize(
|
|
535
|
-
|
|
535
|
+
5908,
|
|
536
536
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
537
537
|
)),
|
|
538
538
|
default: 0
|
|
539
539
|
},
|
|
540
540
|
'debug.console.wordWrap': {
|
|
541
541
|
type: 'boolean',
|
|
542
|
-
description: ( localize(
|
|
542
|
+
description: ( localize(5909, "Controls if the lines should wrap in the Debug Console.")),
|
|
543
543
|
default: true
|
|
544
544
|
},
|
|
545
545
|
'debug.console.historySuggestions': {
|
|
546
546
|
type: 'boolean',
|
|
547
547
|
description: ( localize(
|
|
548
|
-
|
|
548
|
+
5910,
|
|
549
549
|
"Controls if the Debug Console should suggest previously typed input."
|
|
550
550
|
)),
|
|
551
551
|
default: true
|
|
@@ -553,7 +553,7 @@ configurationRegistry.registerConfiguration({
|
|
|
553
553
|
'debug.console.collapseIdenticalLines': {
|
|
554
554
|
type: 'boolean',
|
|
555
555
|
description: ( localize(
|
|
556
|
-
|
|
556
|
+
5911,
|
|
557
557
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
558
558
|
)),
|
|
559
559
|
default: true
|
|
@@ -561,20 +561,20 @@ configurationRegistry.registerConfiguration({
|
|
|
561
561
|
'debug.console.acceptSuggestionOnEnter': {
|
|
562
562
|
enum: ['off', 'on'],
|
|
563
563
|
description: ( localize(
|
|
564
|
-
|
|
564
|
+
5912,
|
|
565
565
|
"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."
|
|
566
566
|
)),
|
|
567
567
|
default: 'off'
|
|
568
568
|
},
|
|
569
569
|
'debug.console.maximumLines': {
|
|
570
570
|
type: 'number',
|
|
571
|
-
description: ( localize(
|
|
571
|
+
description: ( localize(5913, "Controls the maximum number of lines in the Debug Console.")),
|
|
572
572
|
default: 10000
|
|
573
573
|
},
|
|
574
574
|
'launch': {
|
|
575
575
|
type: 'object',
|
|
576
576
|
description: ( localize(
|
|
577
|
-
|
|
577
|
+
5914,
|
|
578
578
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
579
579
|
)),
|
|
580
580
|
default: { configurations: [], compounds: [] },
|
|
@@ -584,7 +584,7 @@ configurationRegistry.registerConfiguration({
|
|
|
584
584
|
'debug.focusWindowOnBreak': {
|
|
585
585
|
type: 'boolean',
|
|
586
586
|
description: ( localize(
|
|
587
|
-
|
|
587
|
+
5915,
|
|
588
588
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
589
589
|
)),
|
|
590
590
|
default: true
|
|
@@ -592,16 +592,16 @@ configurationRegistry.registerConfiguration({
|
|
|
592
592
|
'debug.focusEditorOnBreak': {
|
|
593
593
|
type: 'boolean',
|
|
594
594
|
description: ( localize(
|
|
595
|
-
|
|
595
|
+
5916,
|
|
596
596
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
597
597
|
)),
|
|
598
598
|
default: true
|
|
599
599
|
},
|
|
600
600
|
'debug.onTaskErrors': {
|
|
601
601
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
602
|
-
enumDescriptions: [( localize(
|
|
602
|
+
enumDescriptions: [( localize(5917, "Ignore task errors and start debugging.")), ( localize(5918, "Show the Problems view and do not start debugging.")), ( localize(5919, "Prompt user.")), ( localize(5920, "Cancel debugging."))],
|
|
603
603
|
description: ( localize(
|
|
604
|
-
|
|
604
|
+
5921,
|
|
605
605
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
606
606
|
)),
|
|
607
607
|
default: 'prompt'
|
|
@@ -609,7 +609,7 @@ configurationRegistry.registerConfiguration({
|
|
|
609
609
|
'debug.showBreakpointsInOverviewRuler': {
|
|
610
610
|
type: 'boolean',
|
|
611
611
|
description: ( localize(
|
|
612
|
-
|
|
612
|
+
5922,
|
|
613
613
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
614
614
|
)),
|
|
615
615
|
default: false
|
|
@@ -617,45 +617,45 @@ configurationRegistry.registerConfiguration({
|
|
|
617
617
|
'debug.showInlineBreakpointCandidates': {
|
|
618
618
|
type: 'boolean',
|
|
619
619
|
description: ( localize(
|
|
620
|
-
|
|
620
|
+
5923,
|
|
621
621
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
622
622
|
)),
|
|
623
623
|
default: true
|
|
624
624
|
},
|
|
625
625
|
'debug.saveBeforeStart': {
|
|
626
|
-
description: ( localize(
|
|
626
|
+
description: ( localize(5924, "Controls what editors to save before starting a debug session.")),
|
|
627
627
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
628
628
|
enumDescriptions: [
|
|
629
629
|
( localize(
|
|
630
|
-
|
|
630
|
+
5925,
|
|
631
631
|
"Save all editors in the active group before starting a debug session."
|
|
632
632
|
)),
|
|
633
633
|
( localize(
|
|
634
|
-
|
|
634
|
+
5926,
|
|
635
635
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
636
636
|
)),
|
|
637
|
-
( localize(
|
|
637
|
+
( localize(5927, "Don't save any editors before starting a debug session.")),
|
|
638
638
|
],
|
|
639
639
|
default: 'allEditorsInActiveGroup',
|
|
640
640
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
641
641
|
},
|
|
642
642
|
'debug.confirmOnExit': {
|
|
643
643
|
description: ( localize(
|
|
644
|
-
|
|
644
|
+
5928,
|
|
645
645
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
646
646
|
)),
|
|
647
647
|
type: 'string',
|
|
648
648
|
enum: ['never', 'always'],
|
|
649
649
|
enumDescriptions: [
|
|
650
|
-
( localize(
|
|
651
|
-
( localize(
|
|
650
|
+
( localize(5929, "Never confirm.")),
|
|
651
|
+
( localize(5930, "Always confirm if there are debug sessions.")),
|
|
652
652
|
],
|
|
653
653
|
default: 'never'
|
|
654
654
|
},
|
|
655
655
|
'debug.disassemblyView.showSourceCode': {
|
|
656
656
|
type: 'boolean',
|
|
657
657
|
default: true,
|
|
658
|
-
description: ( localize(
|
|
658
|
+
description: ( localize(5931, "Show Source Code in Disassembly View."))
|
|
659
659
|
},
|
|
660
660
|
'debug.autoExpandLazyVariables': {
|
|
661
661
|
type: 'string',
|
|
@@ -663,26 +663,26 @@ configurationRegistry.registerConfiguration({
|
|
|
663
663
|
default: 'auto',
|
|
664
664
|
enumDescriptions: [
|
|
665
665
|
( localize(
|
|
666
|
-
|
|
666
|
+
5932,
|
|
667
667
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
668
668
|
)),
|
|
669
|
-
( localize(
|
|
670
|
-
( localize(
|
|
669
|
+
( localize(5933, "Always automatically expand lazy variables.")),
|
|
670
|
+
( localize(5934, "Never automatically expand lazy variables."))
|
|
671
671
|
],
|
|
672
672
|
description: ( localize(
|
|
673
|
-
|
|
673
|
+
5935,
|
|
674
674
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
675
675
|
))
|
|
676
676
|
},
|
|
677
677
|
'debug.enableStatusBarColor': {
|
|
678
678
|
type: 'boolean',
|
|
679
|
-
description: ( localize(
|
|
679
|
+
description: ( localize(5936, "Color of the Status bar when debugger is active.")),
|
|
680
680
|
default: true
|
|
681
681
|
},
|
|
682
682
|
'debug.hideLauncherWhileDebugging': {
|
|
683
683
|
type: 'boolean',
|
|
684
684
|
markdownDescription: ( localize(
|
|
685
|
-
|
|
685
|
+
5937,
|
|
686
686
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
687
687
|
'`#debug.toolBarLocation#`'
|
|
688
688
|
)),
|
|
@@ -691,7 +691,7 @@ configurationRegistry.registerConfiguration({
|
|
|
691
691
|
'debug.hideSlowPreLaunchWarning': {
|
|
692
692
|
type: 'boolean',
|
|
693
693
|
markdownDescription: ( localize(
|
|
694
|
-
|
|
694
|
+
5938,
|
|
695
695
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
696
696
|
)),
|
|
697
697
|
default: false
|