@codingame/monaco-vscode-debug-service-override 19.1.3 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +114 -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 +5 -5
- 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 +26 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.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 +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- 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.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +66 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -36,7 +36,7 @@ import { BreakpointsView } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e
|
|
|
36
36
|
import { CallStackEditorContribution } from '@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
|
|
37
37
|
import { CallStackView } from './callStackView.js';
|
|
38
38
|
import { registerColors } from '@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
39
|
-
import { SELECT_AND_START_ID, DEBUG_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, 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, 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, COPY_ADDRESS_LABEL, COPY_ADDRESS_ID, TOGGLE_BREAKPOINT_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
39
|
+
import { SELECT_AND_START_ID, DEBUG_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, 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, 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, BREAK_WHEN_VALUE_IS_READ_ID, BREAK_WHEN_VALUE_CHANGES_ID, BREAK_WHEN_VALUE_IS_ACCESSED_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID, COPY_ADDRESS_LABEL, COPY_ADDRESS_ID, TOGGLE_BREAKPOINT_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
40
40
|
import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
|
|
41
41
|
import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
|
|
42
42
|
import { DebugEditorContribution } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugEditorContribution';
|
|
@@ -58,13 +58,13 @@ import { ReplAccessibilityHelp } from './replAccessibilityHelp.js';
|
|
|
58
58
|
import { ReplAccessibleView } from './replAccessibleView.js';
|
|
59
59
|
import { RunAndDebugAccessibilityHelp } from './runAndDebugAccessibilityHelp.js';
|
|
60
60
|
import { StatusBarColorProvider } from './statusbarColorProvider.js';
|
|
61
|
-
import { VIEW_MEMORY_ID, SET_VARIABLE_ID,
|
|
61
|
+
import { VIEW_MEMORY_ID, SET_VARIABLE_ID, VariablesView } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/variablesView';
|
|
62
62
|
import { ADD_WATCH_ID, ADD_WATCH_LABEL, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, WatchExpressionsView } from './watchExpressionsView.js';
|
|
63
63
|
import { WelcomeView } from './welcomeView.js';
|
|
64
64
|
|
|
65
65
|
registerCss(debug_contribution);
|
|
66
66
|
registerCss(debugHover);
|
|
67
|
-
const debugCategory = ( localize(
|
|
67
|
+
const debugCategory = ( localize(5952, "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(5953, "Type the name of a launch configuration to run.")),
|
|
84
84
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(5954, "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(5955, "Type the name of a debug console to open.")),
|
|
95
|
+
helpEntries: [{ description: ( localize(5956, "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(5957, "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,12 +120,12 @@ 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(5958, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
124
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(5959, "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(5960, "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))))));
|
|
@@ -161,31 +161,34 @@ 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(5957, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), CONTEXT_TERMINATE_THREADS_SUPPORTED, 'termination');
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(5961, "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(5962, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(5963, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(5964, "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(5965, "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(5966, "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(5967, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(5963, "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(5965, "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(5966, "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(5967, "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(5968, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(5964, "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(5969, "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(5963, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(5970, "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
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(5965, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
190
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(5966, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
191
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(5967, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
189
192
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
190
193
|
KeybindingsRegistry.registerKeybindingRule({
|
|
191
194
|
id: COPY_VALUE_ID,
|
|
@@ -216,12 +219,12 @@ if (isMacintosh) {
|
|
|
216
219
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
217
220
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
218
221
|
}
|
|
219
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
222
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(5971, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
220
223
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
221
224
|
submenu: MenuId.MenubarDebugMenu,
|
|
222
225
|
title: {
|
|
223
|
-
...( localize2(
|
|
224
|
-
mnemonicTitle: ( localize(
|
|
226
|
+
...( localize2(5972, "Run")),
|
|
227
|
+
mnemonicTitle: ( localize(5973, "&&Run"))
|
|
225
228
|
},
|
|
226
229
|
order: 6
|
|
227
230
|
});
|
|
@@ -229,7 +232,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
229
232
|
group: '1_debug',
|
|
230
233
|
command: {
|
|
231
234
|
id: DEBUG_START_COMMAND_ID,
|
|
232
|
-
title: ( localize(
|
|
235
|
+
title: ( localize(5974, "&&Start Debugging"))
|
|
233
236
|
},
|
|
234
237
|
order: 1,
|
|
235
238
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -238,7 +241,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
238
241
|
group: '1_debug',
|
|
239
242
|
command: {
|
|
240
243
|
id: DEBUG_RUN_COMMAND_ID,
|
|
241
|
-
title: ( localize(
|
|
244
|
+
title: ( localize(5975, "Run &&Without Debugging"))
|
|
242
245
|
},
|
|
243
246
|
order: 2,
|
|
244
247
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -247,7 +250,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
247
250
|
group: '1_debug',
|
|
248
251
|
command: {
|
|
249
252
|
id: STOP_ID,
|
|
250
|
-
title: ( localize(
|
|
253
|
+
title: ( localize(5976, "&&Stop Debugging")),
|
|
251
254
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
252
255
|
},
|
|
253
256
|
order: 3,
|
|
@@ -257,7 +260,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
257
260
|
group: '1_debug',
|
|
258
261
|
command: {
|
|
259
262
|
id: RESTART_SESSION_ID,
|
|
260
|
-
title: ( localize(
|
|
263
|
+
title: ( localize(5977, "&&Restart Debugging")),
|
|
261
264
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
262
265
|
},
|
|
263
266
|
order: 4,
|
|
@@ -267,7 +270,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
267
270
|
group: '2_configuration',
|
|
268
271
|
command: {
|
|
269
272
|
id: ADD_CONFIGURATION_ID,
|
|
270
|
-
title: ( localize(
|
|
273
|
+
title: ( localize(5978, "A&&dd Configuration..."))
|
|
271
274
|
},
|
|
272
275
|
order: 2,
|
|
273
276
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -276,7 +279,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
276
279
|
group: '3_step',
|
|
277
280
|
command: {
|
|
278
281
|
id: STEP_OVER_ID,
|
|
279
|
-
title: ( localize(
|
|
282
|
+
title: ( localize(5979, "Step &&Over")),
|
|
280
283
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
281
284
|
},
|
|
282
285
|
order: 1,
|
|
@@ -286,7 +289,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
286
289
|
group: '3_step',
|
|
287
290
|
command: {
|
|
288
291
|
id: STEP_INTO_ID,
|
|
289
|
-
title: ( localize(
|
|
292
|
+
title: ( localize(5980, "Step &&Into")),
|
|
290
293
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
291
294
|
},
|
|
292
295
|
order: 2,
|
|
@@ -296,7 +299,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
296
299
|
group: '3_step',
|
|
297
300
|
command: {
|
|
298
301
|
id: STEP_OUT_ID,
|
|
299
|
-
title: ( localize(
|
|
302
|
+
title: ( localize(5981, "Step O&&ut")),
|
|
300
303
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
301
304
|
},
|
|
302
305
|
order: 3,
|
|
@@ -306,7 +309,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
306
309
|
group: '3_step',
|
|
307
310
|
command: {
|
|
308
311
|
id: CONTINUE_ID,
|
|
309
|
-
title: ( localize(
|
|
312
|
+
title: ( localize(5982, "&&Continue")),
|
|
310
313
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
311
314
|
},
|
|
312
315
|
order: 4,
|
|
@@ -316,14 +319,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
316
319
|
group: '1_breakpoints',
|
|
317
320
|
command: {
|
|
318
321
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
319
|
-
title: ( localize(
|
|
322
|
+
title: ( localize(5983, "Inline Breakp&&oint"))
|
|
320
323
|
},
|
|
321
324
|
order: 2,
|
|
322
325
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
323
326
|
});
|
|
324
327
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
325
328
|
group: '4_new_breakpoint',
|
|
326
|
-
title: ( localize(
|
|
329
|
+
title: ( localize(5984, "&&New Breakpoint")),
|
|
327
330
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
328
331
|
order: 2,
|
|
329
332
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -341,7 +344,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
341
344
|
group: '3_breakpoints',
|
|
342
345
|
command: {
|
|
343
346
|
id: TOGGLE_BREAKPOINT_ID,
|
|
344
|
-
title: ( localize(
|
|
347
|
+
title: ( localize(5985, "Toggle Breakpoint")),
|
|
345
348
|
},
|
|
346
349
|
order: 2,
|
|
347
350
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -350,13 +353,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
350
353
|
group: 'z_install',
|
|
351
354
|
command: {
|
|
352
355
|
id: 'debug.installAdditionalDebuggers',
|
|
353
|
-
title: ( localize(
|
|
356
|
+
title: ( localize(5986, "&&Install Additional Debuggers..."))
|
|
354
357
|
},
|
|
355
358
|
order: 1
|
|
356
359
|
});
|
|
357
360
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
358
361
|
id: DEBUG_PANEL_ID,
|
|
359
|
-
title: ( localize2(
|
|
362
|
+
title: ( localize2(5987, "Debug Console")),
|
|
360
363
|
icon: debugConsoleViewIcon,
|
|
361
364
|
ctorDescriptor: ( new SyncDescriptor(
|
|
362
365
|
ViewPaneContainer,
|
|
@@ -368,7 +371,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
368
371
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
369
372
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
370
373
|
id: REPL_VIEW_ID,
|
|
371
|
-
name: ( localize2(
|
|
374
|
+
name: ( localize2(5987, "Debug Console")),
|
|
372
375
|
containerIcon: debugConsoleViewIcon,
|
|
373
376
|
canToggleVisibility: true,
|
|
374
377
|
canMoveView: true,
|
|
@@ -376,17 +379,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
376
379
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
377
380
|
openCommandActionDescriptor: {
|
|
378
381
|
id: 'workbench.debug.action.toggleRepl',
|
|
379
|
-
mnemonicTitle: ( localize(
|
|
382
|
+
mnemonicTitle: ( localize(5988, "De&&bug Console")),
|
|
380
383
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
381
384
|
order: 2
|
|
382
385
|
}
|
|
383
386
|
}], VIEW_CONTAINER);
|
|
384
387
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
385
388
|
id: VIEWLET_ID,
|
|
386
|
-
title: ( localize2(
|
|
389
|
+
title: ( localize2(5989, "Run and Debug")),
|
|
387
390
|
openCommandActionDescriptor: {
|
|
388
391
|
id: VIEWLET_ID,
|
|
389
|
-
mnemonicTitle: ( localize(
|
|
392
|
+
mnemonicTitle: ( localize(5990, "&&Run")),
|
|
390
393
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
391
394
|
order: 3
|
|
392
395
|
},
|
|
@@ -396,49 +399,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
396
399
|
order: 3,
|
|
397
400
|
}, ViewContainerLocation.Sidebar);
|
|
398
401
|
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(
|
|
402
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(5991, "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);
|
|
403
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(5992, "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);
|
|
404
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(5993, "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);
|
|
405
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(5994, "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
406
|
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(
|
|
407
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(5995, "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);
|
|
408
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(5996, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
406
409
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
407
410
|
configurationRegistry.registerConfiguration({
|
|
408
411
|
id: 'debug',
|
|
409
412
|
order: 20,
|
|
410
|
-
title: ( localize(
|
|
413
|
+
title: ( localize(5997, "Debug")),
|
|
411
414
|
type: 'object',
|
|
412
415
|
properties: {
|
|
413
416
|
'debug.showVariableTypes': {
|
|
414
417
|
type: 'boolean',
|
|
415
|
-
description: ( localize(
|
|
418
|
+
description: ( localize(5998, "Show variable type in variable pane during debug session")),
|
|
416
419
|
default: false
|
|
417
420
|
},
|
|
418
421
|
'debug.allowBreakpointsEverywhere': {
|
|
419
422
|
type: 'boolean',
|
|
420
|
-
description: ( localize(
|
|
423
|
+
description: ( localize(5999, "Allow setting breakpoints in any file.")),
|
|
421
424
|
default: false
|
|
422
425
|
},
|
|
423
426
|
'debug.gutterMiddleClickAction': {
|
|
424
427
|
type: 'string',
|
|
425
428
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
426
429
|
description: ( localize(
|
|
427
|
-
|
|
430
|
+
6000,
|
|
428
431
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
429
432
|
)),
|
|
430
433
|
enumDescriptions: [
|
|
431
|
-
( localize(
|
|
432
|
-
( localize(
|
|
433
|
-
( localize(
|
|
434
|
-
( localize(
|
|
434
|
+
( localize(6001, "Add Logpoint.")),
|
|
435
|
+
( localize(6002, "Add Conditional Breakpoint.")),
|
|
436
|
+
( localize(6003, "Add Triggered Breakpoint.")),
|
|
437
|
+
( localize(6004, "Don't perform any action.")),
|
|
435
438
|
],
|
|
436
439
|
default: 'logpoint',
|
|
437
440
|
},
|
|
438
441
|
'debug.openExplorerOnEnd': {
|
|
439
442
|
type: 'boolean',
|
|
440
443
|
description: ( localize(
|
|
441
|
-
|
|
444
|
+
6005,
|
|
442
445
|
"Automatically open the explorer view at the end of a debug session."
|
|
443
446
|
)),
|
|
444
447
|
default: false
|
|
@@ -446,7 +449,7 @@ configurationRegistry.registerConfiguration({
|
|
|
446
449
|
'debug.closeReadonlyTabsOnEnd': {
|
|
447
450
|
type: 'boolean',
|
|
448
451
|
description: ( localize(
|
|
449
|
-
|
|
452
|
+
6006,
|
|
450
453
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
451
454
|
)),
|
|
452
455
|
default: false
|
|
@@ -454,12 +457,12 @@ configurationRegistry.registerConfiguration({
|
|
|
454
457
|
'debug.inlineValues': {
|
|
455
458
|
type: 'string',
|
|
456
459
|
'enum': ['on', 'off', 'auto'],
|
|
457
|
-
description: ( localize(
|
|
460
|
+
description: ( localize(6007, "Show variable values inline in editor while debugging.")),
|
|
458
461
|
'enumDescriptions': [
|
|
459
|
-
( localize(
|
|
460
|
-
( localize(
|
|
462
|
+
( localize(6008, "Always show variable values inline in editor while debugging.")),
|
|
463
|
+
( localize(6009, "Never show variable values inline in editor while debugging.")),
|
|
461
464
|
( localize(
|
|
462
|
-
|
|
465
|
+
6010,
|
|
463
466
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
464
467
|
)),
|
|
465
468
|
],
|
|
@@ -468,32 +471,32 @@ configurationRegistry.registerConfiguration({
|
|
|
468
471
|
'debug.toolBarLocation': {
|
|
469
472
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
470
473
|
markdownDescription: ( localize(
|
|
471
|
-
|
|
474
|
+
6011,
|
|
472
475
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
473
476
|
'`#window.commandCenter#`'
|
|
474
477
|
)),
|
|
475
478
|
default: 'floating',
|
|
476
479
|
markdownEnumDescriptions: [
|
|
477
|
-
( localize(
|
|
478
|
-
( localize(
|
|
479
|
-
( localize(
|
|
480
|
-
( localize(
|
|
480
|
+
( localize(6012, "Show debug toolbar in all views.")),
|
|
481
|
+
( localize(6013, "Show debug toolbar only in debug views.")),
|
|
482
|
+
( localize(6014, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
483
|
+
( localize(6015, "Do not show debug toolbar.")),
|
|
481
484
|
]
|
|
482
485
|
},
|
|
483
486
|
'debug.showInStatusBar': {
|
|
484
487
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
485
|
-
enumDescriptions: [( localize(
|
|
486
|
-
|
|
488
|
+
enumDescriptions: [( localize(6016, "Never show debug in Status bar")), ( localize(6017, "Always show debug in Status bar")), ( localize(
|
|
489
|
+
6018,
|
|
487
490
|
"Show debug in Status bar only after debug was started for the first time"
|
|
488
491
|
))],
|
|
489
|
-
description: ( localize(
|
|
492
|
+
description: ( localize(6019, "Controls when the debug Status bar should be visible.")),
|
|
490
493
|
default: 'onFirstSessionStart'
|
|
491
494
|
},
|
|
492
495
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
493
496
|
'debug.console.closeOnEnd': {
|
|
494
497
|
type: 'boolean',
|
|
495
498
|
description: ( localize(
|
|
496
|
-
|
|
499
|
+
6020,
|
|
497
500
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
498
501
|
)),
|
|
499
502
|
default: false
|
|
@@ -501,7 +504,7 @@ configurationRegistry.registerConfiguration({
|
|
|
501
504
|
'debug.terminal.clearBeforeReusing': {
|
|
502
505
|
type: 'boolean',
|
|
503
506
|
description: ( localize(
|
|
504
|
-
|
|
507
|
+
6021,
|
|
505
508
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
506
509
|
)),
|
|
507
510
|
default: false
|
|
@@ -509,43 +512,43 @@ configurationRegistry.registerConfiguration({
|
|
|
509
512
|
'debug.openDebug': {
|
|
510
513
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
511
514
|
default: 'openOnDebugBreak',
|
|
512
|
-
description: ( localize(
|
|
515
|
+
description: ( localize(6022, "Controls when the debug view should open."))
|
|
513
516
|
},
|
|
514
517
|
'debug.showSubSessionsInToolBar': {
|
|
515
518
|
type: 'boolean',
|
|
516
519
|
description: ( localize(
|
|
517
|
-
|
|
520
|
+
6023,
|
|
518
521
|
"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
522
|
)),
|
|
520
523
|
default: false
|
|
521
524
|
},
|
|
522
525
|
'debug.console.fontSize': {
|
|
523
526
|
type: 'number',
|
|
524
|
-
description: ( localize(
|
|
527
|
+
description: ( localize(6024, "Controls the font size in pixels in the Debug Console.")),
|
|
525
528
|
default: isMacintosh ? 12 : 14,
|
|
526
529
|
},
|
|
527
530
|
'debug.console.fontFamily': {
|
|
528
531
|
type: 'string',
|
|
529
|
-
description: ( localize(
|
|
532
|
+
description: ( localize(6025, "Controls the font family in the Debug Console.")),
|
|
530
533
|
default: 'default'
|
|
531
534
|
},
|
|
532
535
|
'debug.console.lineHeight': {
|
|
533
536
|
type: 'number',
|
|
534
537
|
description: ( localize(
|
|
535
|
-
|
|
538
|
+
6026,
|
|
536
539
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
537
540
|
)),
|
|
538
541
|
default: 0
|
|
539
542
|
},
|
|
540
543
|
'debug.console.wordWrap': {
|
|
541
544
|
type: 'boolean',
|
|
542
|
-
description: ( localize(
|
|
545
|
+
description: ( localize(6027, "Controls if the lines should wrap in the Debug Console.")),
|
|
543
546
|
default: true
|
|
544
547
|
},
|
|
545
548
|
'debug.console.historySuggestions': {
|
|
546
549
|
type: 'boolean',
|
|
547
550
|
description: ( localize(
|
|
548
|
-
|
|
551
|
+
6028,
|
|
549
552
|
"Controls if the Debug Console should suggest previously typed input."
|
|
550
553
|
)),
|
|
551
554
|
default: true
|
|
@@ -553,7 +556,7 @@ configurationRegistry.registerConfiguration({
|
|
|
553
556
|
'debug.console.collapseIdenticalLines': {
|
|
554
557
|
type: 'boolean',
|
|
555
558
|
description: ( localize(
|
|
556
|
-
|
|
559
|
+
6029,
|
|
557
560
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
558
561
|
)),
|
|
559
562
|
default: true
|
|
@@ -561,20 +564,20 @@ configurationRegistry.registerConfiguration({
|
|
|
561
564
|
'debug.console.acceptSuggestionOnEnter': {
|
|
562
565
|
enum: ['off', 'on'],
|
|
563
566
|
description: ( localize(
|
|
564
|
-
|
|
567
|
+
6030,
|
|
565
568
|
"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
569
|
)),
|
|
567
570
|
default: 'off'
|
|
568
571
|
},
|
|
569
572
|
'debug.console.maximumLines': {
|
|
570
573
|
type: 'number',
|
|
571
|
-
description: ( localize(
|
|
574
|
+
description: ( localize(6031, "Controls the maximum number of lines in the Debug Console.")),
|
|
572
575
|
default: 10000
|
|
573
576
|
},
|
|
574
577
|
'launch': {
|
|
575
578
|
type: 'object',
|
|
576
579
|
description: ( localize(
|
|
577
|
-
|
|
580
|
+
6032,
|
|
578
581
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
579
582
|
)),
|
|
580
583
|
default: { configurations: [], compounds: [] },
|
|
@@ -584,7 +587,7 @@ configurationRegistry.registerConfiguration({
|
|
|
584
587
|
'debug.focusWindowOnBreak': {
|
|
585
588
|
type: 'boolean',
|
|
586
589
|
description: ( localize(
|
|
587
|
-
|
|
590
|
+
6033,
|
|
588
591
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
589
592
|
)),
|
|
590
593
|
default: true
|
|
@@ -592,16 +595,16 @@ configurationRegistry.registerConfiguration({
|
|
|
592
595
|
'debug.focusEditorOnBreak': {
|
|
593
596
|
type: 'boolean',
|
|
594
597
|
description: ( localize(
|
|
595
|
-
|
|
598
|
+
6034,
|
|
596
599
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
597
600
|
)),
|
|
598
601
|
default: true
|
|
599
602
|
},
|
|
600
603
|
'debug.onTaskErrors': {
|
|
601
604
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
602
|
-
enumDescriptions: [( localize(
|
|
605
|
+
enumDescriptions: [( localize(6035, "Ignore task errors and start debugging.")), ( localize(6036, "Show the Problems view and do not start debugging.")), ( localize(6037, "Prompt user.")), ( localize(6038, "Cancel debugging."))],
|
|
603
606
|
description: ( localize(
|
|
604
|
-
|
|
607
|
+
6039,
|
|
605
608
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
606
609
|
)),
|
|
607
610
|
default: 'prompt'
|
|
@@ -609,7 +612,7 @@ configurationRegistry.registerConfiguration({
|
|
|
609
612
|
'debug.showBreakpointsInOverviewRuler': {
|
|
610
613
|
type: 'boolean',
|
|
611
614
|
description: ( localize(
|
|
612
|
-
|
|
615
|
+
6040,
|
|
613
616
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
614
617
|
)),
|
|
615
618
|
default: false
|
|
@@ -617,45 +620,45 @@ configurationRegistry.registerConfiguration({
|
|
|
617
620
|
'debug.showInlineBreakpointCandidates': {
|
|
618
621
|
type: 'boolean',
|
|
619
622
|
description: ( localize(
|
|
620
|
-
|
|
623
|
+
6041,
|
|
621
624
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
622
625
|
)),
|
|
623
626
|
default: true
|
|
624
627
|
},
|
|
625
628
|
'debug.saveBeforeStart': {
|
|
626
|
-
description: ( localize(
|
|
629
|
+
description: ( localize(6042, "Controls what editors to save before starting a debug session.")),
|
|
627
630
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
628
631
|
enumDescriptions: [
|
|
629
632
|
( localize(
|
|
630
|
-
|
|
633
|
+
6043,
|
|
631
634
|
"Save all editors in the active group before starting a debug session."
|
|
632
635
|
)),
|
|
633
636
|
( localize(
|
|
634
|
-
|
|
637
|
+
6044,
|
|
635
638
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
636
639
|
)),
|
|
637
|
-
( localize(
|
|
640
|
+
( localize(6045, "Don't save any editors before starting a debug session.")),
|
|
638
641
|
],
|
|
639
642
|
default: 'allEditorsInActiveGroup',
|
|
640
643
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
641
644
|
},
|
|
642
645
|
'debug.confirmOnExit': {
|
|
643
646
|
description: ( localize(
|
|
644
|
-
|
|
647
|
+
6046,
|
|
645
648
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
646
649
|
)),
|
|
647
650
|
type: 'string',
|
|
648
651
|
enum: ['never', 'always'],
|
|
649
652
|
enumDescriptions: [
|
|
650
|
-
( localize(
|
|
651
|
-
( localize(
|
|
653
|
+
( localize(6047, "Never confirm.")),
|
|
654
|
+
( localize(6048, "Always confirm if there are debug sessions.")),
|
|
652
655
|
],
|
|
653
656
|
default: 'never'
|
|
654
657
|
},
|
|
655
658
|
'debug.disassemblyView.showSourceCode': {
|
|
656
659
|
type: 'boolean',
|
|
657
660
|
default: true,
|
|
658
|
-
description: ( localize(
|
|
661
|
+
description: ( localize(6049, "Show Source Code in Disassembly View."))
|
|
659
662
|
},
|
|
660
663
|
'debug.autoExpandLazyVariables': {
|
|
661
664
|
type: 'string',
|
|
@@ -663,26 +666,26 @@ configurationRegistry.registerConfiguration({
|
|
|
663
666
|
default: 'auto',
|
|
664
667
|
enumDescriptions: [
|
|
665
668
|
( localize(
|
|
666
|
-
|
|
669
|
+
6050,
|
|
667
670
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
668
671
|
)),
|
|
669
|
-
( localize(
|
|
670
|
-
( localize(
|
|
672
|
+
( localize(6051, "Always automatically expand lazy variables.")),
|
|
673
|
+
( localize(6052, "Never automatically expand lazy variables."))
|
|
671
674
|
],
|
|
672
675
|
description: ( localize(
|
|
673
|
-
|
|
676
|
+
6053,
|
|
674
677
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
675
678
|
))
|
|
676
679
|
},
|
|
677
680
|
'debug.enableStatusBarColor': {
|
|
678
681
|
type: 'boolean',
|
|
679
|
-
description: ( localize(
|
|
682
|
+
description: ( localize(6054, "Color of the Status bar when debugger is active.")),
|
|
680
683
|
default: true
|
|
681
684
|
},
|
|
682
685
|
'debug.hideLauncherWhileDebugging': {
|
|
683
686
|
type: 'boolean',
|
|
684
687
|
markdownDescription: ( localize(
|
|
685
|
-
|
|
688
|
+
6055,
|
|
686
689
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
687
690
|
'`#debug.toolBarLocation#`'
|
|
688
691
|
)),
|
|
@@ -691,7 +694,7 @@ configurationRegistry.registerConfiguration({
|
|
|
691
694
|
'debug.hideSlowPreLaunchWarning': {
|
|
692
695
|
type: 'boolean',
|
|
693
696
|
markdownDescription: ( localize(
|
|
694
|
-
|
|
697
|
+
6056,
|
|
695
698
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
696
699
|
)),
|
|
697
700
|
default: false
|