@codingame/monaco-vscode-debug-service-override 20.4.1 → 21.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/platform/debug/common/extensionHostDebugIpc.d.ts +1 -0
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +3 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +116 -116
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +18 -14
- 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 +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +55 -30
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +22 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -6
- 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 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -1
- 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/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -14,8 +14,8 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/ext
|
|
|
14
14
|
import { KeybindingsRegistry, KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
15
15
|
import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickAccess';
|
|
16
16
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
17
|
-
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-
|
|
18
|
-
import { ViewPaneContainer } from '@codingame/monaco-vscode-
|
|
17
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common/vscode/vs/workbench/browser/editor';
|
|
18
|
+
import { ViewPaneContainer } from '@codingame/monaco-vscode-71c8dbff-4c98-552f-aef0-e72b00fdcfc0-common/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
19
19
|
import { FocusedViewContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
20
20
|
import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
21
21
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
@@ -35,12 +35,12 @@ import { BreakpointEditorContribution } from '@codingame/monaco-vscode-88aa9a78-
|
|
|
35
35
|
import { BreakpointsView } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
|
|
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
|
-
import { registerColors } from '@codingame/monaco-vscode-
|
|
38
|
+
import { registerColors } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
39
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';
|
|
43
|
-
import { debugInspectMemory, watchExpressionRemove, debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchViewIcon, callStackViewIcon, breakpointsViewIcon, loadedScriptsViewIcon } from '@codingame/monaco-vscode-
|
|
43
|
+
import { debugInspectMemory, watchExpressionRemove, debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchViewIcon, callStackViewIcon, breakpointsViewIcon, loadedScriptsViewIcon } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
44
44
|
import { DebugProgressContribution } from './debugProgress.js';
|
|
45
45
|
import { StartDebugQuickAccessProvider } from './debugQuickAccess.js';
|
|
46
46
|
import './debugService.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(6098, "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(6099, "Type the name of a launch configuration to run.")),
|
|
84
84
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(6100, "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(6101, "Type the name of a debug console to open.")),
|
|
95
|
+
helpEntries: [{ description: ( localize(6102, "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(6103, "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(6104, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
124
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6105, "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(6106, "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,34 +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(6103, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), CONTEXT_TERMINATE_THREADS_SUPPORTED, 'termination');
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(6107, "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(6108, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(6109, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(6110, "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(6111, "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(6112, "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(6113, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(6109, "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(6111, "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(6112, "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(6113, "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(6114, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(6110, "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(6115, "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(6109, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(6116, "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(
|
|
190
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
191
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
189
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6111, "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(6112, "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(6113, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
192
192
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
193
193
|
KeybindingsRegistry.registerKeybindingRule({
|
|
194
194
|
id: COPY_VALUE_ID,
|
|
@@ -219,12 +219,12 @@ if (isMacintosh) {
|
|
|
219
219
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
220
220
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
221
221
|
}
|
|
222
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
222
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(6117, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
223
223
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
224
224
|
submenu: MenuId.MenubarDebugMenu,
|
|
225
225
|
title: {
|
|
226
|
-
...( localize2(
|
|
227
|
-
mnemonicTitle: ( localize(
|
|
226
|
+
...( localize2(6118, "Run")),
|
|
227
|
+
mnemonicTitle: ( localize(6119, "&&Run"))
|
|
228
228
|
},
|
|
229
229
|
order: 6
|
|
230
230
|
});
|
|
@@ -232,7 +232,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
232
232
|
group: '1_debug',
|
|
233
233
|
command: {
|
|
234
234
|
id: DEBUG_START_COMMAND_ID,
|
|
235
|
-
title: ( localize(
|
|
235
|
+
title: ( localize(6120, "&&Start Debugging"))
|
|
236
236
|
},
|
|
237
237
|
order: 1,
|
|
238
238
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -241,7 +241,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
241
241
|
group: '1_debug',
|
|
242
242
|
command: {
|
|
243
243
|
id: DEBUG_RUN_COMMAND_ID,
|
|
244
|
-
title: ( localize(
|
|
244
|
+
title: ( localize(6121, "Run &&Without Debugging"))
|
|
245
245
|
},
|
|
246
246
|
order: 2,
|
|
247
247
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -250,7 +250,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
250
250
|
group: '1_debug',
|
|
251
251
|
command: {
|
|
252
252
|
id: STOP_ID,
|
|
253
|
-
title: ( localize(
|
|
253
|
+
title: ( localize(6122, "&&Stop Debugging")),
|
|
254
254
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
255
255
|
},
|
|
256
256
|
order: 3,
|
|
@@ -260,7 +260,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
260
260
|
group: '1_debug',
|
|
261
261
|
command: {
|
|
262
262
|
id: RESTART_SESSION_ID,
|
|
263
|
-
title: ( localize(
|
|
263
|
+
title: ( localize(6123, "&&Restart Debugging")),
|
|
264
264
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
265
265
|
},
|
|
266
266
|
order: 4,
|
|
@@ -270,7 +270,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
270
270
|
group: '2_configuration',
|
|
271
271
|
command: {
|
|
272
272
|
id: ADD_CONFIGURATION_ID,
|
|
273
|
-
title: ( localize(
|
|
273
|
+
title: ( localize(6124, "A&&dd Configuration..."))
|
|
274
274
|
},
|
|
275
275
|
order: 2,
|
|
276
276
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -279,7 +279,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
279
279
|
group: '3_step',
|
|
280
280
|
command: {
|
|
281
281
|
id: STEP_OVER_ID,
|
|
282
|
-
title: ( localize(
|
|
282
|
+
title: ( localize(6125, "Step &&Over")),
|
|
283
283
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
284
284
|
},
|
|
285
285
|
order: 1,
|
|
@@ -289,7 +289,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
289
289
|
group: '3_step',
|
|
290
290
|
command: {
|
|
291
291
|
id: STEP_INTO_ID,
|
|
292
|
-
title: ( localize(
|
|
292
|
+
title: ( localize(6126, "Step &&Into")),
|
|
293
293
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
294
294
|
},
|
|
295
295
|
order: 2,
|
|
@@ -299,7 +299,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
299
299
|
group: '3_step',
|
|
300
300
|
command: {
|
|
301
301
|
id: STEP_OUT_ID,
|
|
302
|
-
title: ( localize(
|
|
302
|
+
title: ( localize(6127, "Step O&&ut")),
|
|
303
303
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
304
304
|
},
|
|
305
305
|
order: 3,
|
|
@@ -309,7 +309,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
309
309
|
group: '3_step',
|
|
310
310
|
command: {
|
|
311
311
|
id: CONTINUE_ID,
|
|
312
|
-
title: ( localize(
|
|
312
|
+
title: ( localize(6128, "&&Continue")),
|
|
313
313
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
314
314
|
},
|
|
315
315
|
order: 4,
|
|
@@ -319,14 +319,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
319
319
|
group: '1_breakpoints',
|
|
320
320
|
command: {
|
|
321
321
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
322
|
-
title: ( localize(
|
|
322
|
+
title: ( localize(6129, "Inline Breakp&&oint"))
|
|
323
323
|
},
|
|
324
324
|
order: 2,
|
|
325
325
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
326
326
|
});
|
|
327
327
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
328
328
|
group: '4_new_breakpoint',
|
|
329
|
-
title: ( localize(
|
|
329
|
+
title: ( localize(6130, "&&New Breakpoint")),
|
|
330
330
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
331
331
|
order: 2,
|
|
332
332
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -344,7 +344,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
344
344
|
group: '3_breakpoints',
|
|
345
345
|
command: {
|
|
346
346
|
id: TOGGLE_BREAKPOINT_ID,
|
|
347
|
-
title: ( localize(
|
|
347
|
+
title: ( localize(6131, "Toggle Breakpoint")),
|
|
348
348
|
},
|
|
349
349
|
order: 2,
|
|
350
350
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -353,13 +353,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
353
353
|
group: 'z_install',
|
|
354
354
|
command: {
|
|
355
355
|
id: 'debug.installAdditionalDebuggers',
|
|
356
|
-
title: ( localize(
|
|
356
|
+
title: ( localize(6132, "&&Install Additional Debuggers..."))
|
|
357
357
|
},
|
|
358
358
|
order: 1
|
|
359
359
|
});
|
|
360
360
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
361
361
|
id: DEBUG_PANEL_ID,
|
|
362
|
-
title: ( localize2(
|
|
362
|
+
title: ( localize2(6133, "Debug Console")),
|
|
363
363
|
icon: debugConsoleViewIcon,
|
|
364
364
|
ctorDescriptor: ( new SyncDescriptor(
|
|
365
365
|
ViewPaneContainer,
|
|
@@ -371,7 +371,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
371
371
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
372
372
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
373
373
|
id: REPL_VIEW_ID,
|
|
374
|
-
name: ( localize2(
|
|
374
|
+
name: ( localize2(6133, "Debug Console")),
|
|
375
375
|
containerIcon: debugConsoleViewIcon,
|
|
376
376
|
canToggleVisibility: true,
|
|
377
377
|
canMoveView: true,
|
|
@@ -379,17 +379,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
379
379
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
380
380
|
openCommandActionDescriptor: {
|
|
381
381
|
id: 'workbench.debug.action.toggleRepl',
|
|
382
|
-
mnemonicTitle: ( localize(
|
|
382
|
+
mnemonicTitle: ( localize(6134, "De&&bug Console")),
|
|
383
383
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
384
384
|
order: 2
|
|
385
385
|
}
|
|
386
386
|
}], VIEW_CONTAINER);
|
|
387
387
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
388
388
|
id: VIEWLET_ID,
|
|
389
|
-
title: ( localize2(
|
|
389
|
+
title: ( localize2(6135, "Run and Debug")),
|
|
390
390
|
openCommandActionDescriptor: {
|
|
391
391
|
id: VIEWLET_ID,
|
|
392
|
-
mnemonicTitle: ( localize(
|
|
392
|
+
mnemonicTitle: ( localize(6136, "&&Run")),
|
|
393
393
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
394
394
|
order: 3
|
|
395
395
|
},
|
|
@@ -399,49 +399,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
399
399
|
order: 3,
|
|
400
400
|
}, ViewContainerLocation.Sidebar);
|
|
401
401
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
402
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
403
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
404
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
405
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
402
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(6137, "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(6138, "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(6139, "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(6140, "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);
|
|
406
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);
|
|
407
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
408
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
407
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(6141, "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(6142, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
409
409
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
410
410
|
configurationRegistry.registerConfiguration({
|
|
411
411
|
id: 'debug',
|
|
412
412
|
order: 20,
|
|
413
|
-
title: ( localize(
|
|
413
|
+
title: ( localize(6143, "Debug")),
|
|
414
414
|
type: 'object',
|
|
415
415
|
properties: {
|
|
416
416
|
'debug.showVariableTypes': {
|
|
417
417
|
type: 'boolean',
|
|
418
|
-
description: ( localize(
|
|
418
|
+
description: ( localize(6144, "Show variable type in variable pane during debug session")),
|
|
419
419
|
default: false
|
|
420
420
|
},
|
|
421
421
|
'debug.allowBreakpointsEverywhere': {
|
|
422
422
|
type: 'boolean',
|
|
423
|
-
description: ( localize(
|
|
423
|
+
description: ( localize(6145, "Allow setting breakpoints in any file.")),
|
|
424
424
|
default: false
|
|
425
425
|
},
|
|
426
426
|
'debug.gutterMiddleClickAction': {
|
|
427
427
|
type: 'string',
|
|
428
428
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
429
429
|
description: ( localize(
|
|
430
|
-
|
|
430
|
+
6146,
|
|
431
431
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
432
432
|
)),
|
|
433
433
|
enumDescriptions: [
|
|
434
|
-
( localize(
|
|
435
|
-
( localize(
|
|
436
|
-
( localize(
|
|
437
|
-
( localize(
|
|
434
|
+
( localize(6147, "Add Logpoint.")),
|
|
435
|
+
( localize(6148, "Add Conditional Breakpoint.")),
|
|
436
|
+
( localize(6149, "Add Triggered Breakpoint.")),
|
|
437
|
+
( localize(6150, "Don't perform any action.")),
|
|
438
438
|
],
|
|
439
439
|
default: 'logpoint',
|
|
440
440
|
},
|
|
441
441
|
'debug.openExplorerOnEnd': {
|
|
442
442
|
type: 'boolean',
|
|
443
443
|
description: ( localize(
|
|
444
|
-
|
|
444
|
+
6151,
|
|
445
445
|
"Automatically open the explorer view at the end of a debug session."
|
|
446
446
|
)),
|
|
447
447
|
default: false
|
|
@@ -449,7 +449,7 @@ configurationRegistry.registerConfiguration({
|
|
|
449
449
|
'debug.closeReadonlyTabsOnEnd': {
|
|
450
450
|
type: 'boolean',
|
|
451
451
|
description: ( localize(
|
|
452
|
-
|
|
452
|
+
6152,
|
|
453
453
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
454
454
|
)),
|
|
455
455
|
default: false
|
|
@@ -457,12 +457,12 @@ configurationRegistry.registerConfiguration({
|
|
|
457
457
|
'debug.inlineValues': {
|
|
458
458
|
type: 'string',
|
|
459
459
|
'enum': ['on', 'off', 'auto'],
|
|
460
|
-
description: ( localize(
|
|
460
|
+
description: ( localize(6153, "Show variable values inline in editor while debugging.")),
|
|
461
461
|
'enumDescriptions': [
|
|
462
|
-
( localize(
|
|
463
|
-
( localize(
|
|
462
|
+
( localize(6154, "Always show variable values inline in editor while debugging.")),
|
|
463
|
+
( localize(6155, "Never show variable values inline in editor while debugging.")),
|
|
464
464
|
( localize(
|
|
465
|
-
|
|
465
|
+
6156,
|
|
466
466
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
467
467
|
)),
|
|
468
468
|
],
|
|
@@ -471,32 +471,32 @@ configurationRegistry.registerConfiguration({
|
|
|
471
471
|
'debug.toolBarLocation': {
|
|
472
472
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
473
473
|
markdownDescription: ( localize(
|
|
474
|
-
|
|
474
|
+
6157,
|
|
475
475
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
476
476
|
'`#window.commandCenter#`'
|
|
477
477
|
)),
|
|
478
478
|
default: 'floating',
|
|
479
479
|
markdownEnumDescriptions: [
|
|
480
|
-
( localize(
|
|
481
|
-
( localize(
|
|
482
|
-
( localize(
|
|
483
|
-
( localize(
|
|
480
|
+
( localize(6158, "Show debug toolbar in all views.")),
|
|
481
|
+
( localize(6159, "Show debug toolbar only in debug views.")),
|
|
482
|
+
( localize(6160, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
483
|
+
( localize(6161, "Do not show debug toolbar.")),
|
|
484
484
|
]
|
|
485
485
|
},
|
|
486
486
|
'debug.showInStatusBar': {
|
|
487
487
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
488
|
-
enumDescriptions: [( localize(
|
|
489
|
-
|
|
488
|
+
enumDescriptions: [( localize(6162, "Never show debug in Status bar")), ( localize(6163, "Always show debug in Status bar")), ( localize(
|
|
489
|
+
6164,
|
|
490
490
|
"Show debug in Status bar only after debug was started for the first time"
|
|
491
491
|
))],
|
|
492
|
-
description: ( localize(
|
|
492
|
+
description: ( localize(6165, "Controls when the debug Status bar should be visible.")),
|
|
493
493
|
default: 'onFirstSessionStart'
|
|
494
494
|
},
|
|
495
495
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
496
496
|
'debug.console.closeOnEnd': {
|
|
497
497
|
type: 'boolean',
|
|
498
498
|
description: ( localize(
|
|
499
|
-
|
|
499
|
+
6166,
|
|
500
500
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
501
501
|
)),
|
|
502
502
|
default: false
|
|
@@ -504,7 +504,7 @@ configurationRegistry.registerConfiguration({
|
|
|
504
504
|
'debug.terminal.clearBeforeReusing': {
|
|
505
505
|
type: 'boolean',
|
|
506
506
|
description: ( localize(
|
|
507
|
-
|
|
507
|
+
6167,
|
|
508
508
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
509
509
|
)),
|
|
510
510
|
default: false
|
|
@@ -512,43 +512,43 @@ configurationRegistry.registerConfiguration({
|
|
|
512
512
|
'debug.openDebug': {
|
|
513
513
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
514
514
|
default: 'openOnDebugBreak',
|
|
515
|
-
description: ( localize(
|
|
515
|
+
description: ( localize(6168, "Controls when the debug view should open."))
|
|
516
516
|
},
|
|
517
517
|
'debug.showSubSessionsInToolBar': {
|
|
518
518
|
type: 'boolean',
|
|
519
519
|
description: ( localize(
|
|
520
|
-
|
|
520
|
+
6169,
|
|
521
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."
|
|
522
522
|
)),
|
|
523
523
|
default: false
|
|
524
524
|
},
|
|
525
525
|
'debug.console.fontSize': {
|
|
526
526
|
type: 'number',
|
|
527
|
-
description: ( localize(
|
|
527
|
+
description: ( localize(6170, "Controls the font size in pixels in the Debug Console.")),
|
|
528
528
|
default: isMacintosh ? 12 : 14,
|
|
529
529
|
},
|
|
530
530
|
'debug.console.fontFamily': {
|
|
531
531
|
type: 'string',
|
|
532
|
-
description: ( localize(
|
|
532
|
+
description: ( localize(6171, "Controls the font family in the Debug Console.")),
|
|
533
533
|
default: 'default'
|
|
534
534
|
},
|
|
535
535
|
'debug.console.lineHeight': {
|
|
536
536
|
type: 'number',
|
|
537
537
|
description: ( localize(
|
|
538
|
-
|
|
538
|
+
6172,
|
|
539
539
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
540
540
|
)),
|
|
541
541
|
default: 0
|
|
542
542
|
},
|
|
543
543
|
'debug.console.wordWrap': {
|
|
544
544
|
type: 'boolean',
|
|
545
|
-
description: ( localize(
|
|
545
|
+
description: ( localize(6173, "Controls if the lines should wrap in the Debug Console.")),
|
|
546
546
|
default: true
|
|
547
547
|
},
|
|
548
548
|
'debug.console.historySuggestions': {
|
|
549
549
|
type: 'boolean',
|
|
550
550
|
description: ( localize(
|
|
551
|
-
|
|
551
|
+
6174,
|
|
552
552
|
"Controls if the Debug Console should suggest previously typed input."
|
|
553
553
|
)),
|
|
554
554
|
default: true
|
|
@@ -556,7 +556,7 @@ configurationRegistry.registerConfiguration({
|
|
|
556
556
|
'debug.console.collapseIdenticalLines': {
|
|
557
557
|
type: 'boolean',
|
|
558
558
|
description: ( localize(
|
|
559
|
-
|
|
559
|
+
6175,
|
|
560
560
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
561
561
|
)),
|
|
562
562
|
default: true
|
|
@@ -564,20 +564,20 @@ configurationRegistry.registerConfiguration({
|
|
|
564
564
|
'debug.console.acceptSuggestionOnEnter': {
|
|
565
565
|
enum: ['off', 'on'],
|
|
566
566
|
description: ( localize(
|
|
567
|
-
|
|
567
|
+
6176,
|
|
568
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."
|
|
569
569
|
)),
|
|
570
570
|
default: 'off'
|
|
571
571
|
},
|
|
572
572
|
'debug.console.maximumLines': {
|
|
573
573
|
type: 'number',
|
|
574
|
-
description: ( localize(
|
|
574
|
+
description: ( localize(6177, "Controls the maximum number of lines in the Debug Console.")),
|
|
575
575
|
default: 10000
|
|
576
576
|
},
|
|
577
577
|
'launch': {
|
|
578
578
|
type: 'object',
|
|
579
579
|
description: ( localize(
|
|
580
|
-
|
|
580
|
+
6178,
|
|
581
581
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
582
582
|
)),
|
|
583
583
|
default: { configurations: [], compounds: [] },
|
|
@@ -587,7 +587,7 @@ configurationRegistry.registerConfiguration({
|
|
|
587
587
|
'debug.focusWindowOnBreak': {
|
|
588
588
|
type: 'boolean',
|
|
589
589
|
description: ( localize(
|
|
590
|
-
|
|
590
|
+
6179,
|
|
591
591
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
592
592
|
)),
|
|
593
593
|
default: true
|
|
@@ -595,16 +595,16 @@ configurationRegistry.registerConfiguration({
|
|
|
595
595
|
'debug.focusEditorOnBreak': {
|
|
596
596
|
type: 'boolean',
|
|
597
597
|
description: ( localize(
|
|
598
|
-
|
|
598
|
+
6180,
|
|
599
599
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
600
600
|
)),
|
|
601
601
|
default: true
|
|
602
602
|
},
|
|
603
603
|
'debug.onTaskErrors': {
|
|
604
604
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
605
|
-
enumDescriptions: [( localize(
|
|
605
|
+
enumDescriptions: [( localize(6181, "Ignore task errors and start debugging.")), ( localize(6182, "Show the Problems view and do not start debugging.")), ( localize(6183, "Prompt user.")), ( localize(6184, "Cancel debugging."))],
|
|
606
606
|
description: ( localize(
|
|
607
|
-
|
|
607
|
+
6185,
|
|
608
608
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
609
609
|
)),
|
|
610
610
|
default: 'prompt'
|
|
@@ -612,7 +612,7 @@ configurationRegistry.registerConfiguration({
|
|
|
612
612
|
'debug.showBreakpointsInOverviewRuler': {
|
|
613
613
|
type: 'boolean',
|
|
614
614
|
description: ( localize(
|
|
615
|
-
|
|
615
|
+
6186,
|
|
616
616
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
617
617
|
)),
|
|
618
618
|
default: false
|
|
@@ -620,45 +620,45 @@ configurationRegistry.registerConfiguration({
|
|
|
620
620
|
'debug.showInlineBreakpointCandidates': {
|
|
621
621
|
type: 'boolean',
|
|
622
622
|
description: ( localize(
|
|
623
|
-
|
|
623
|
+
6187,
|
|
624
624
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
625
625
|
)),
|
|
626
626
|
default: true
|
|
627
627
|
},
|
|
628
628
|
'debug.saveBeforeStart': {
|
|
629
|
-
description: ( localize(
|
|
629
|
+
description: ( localize(6188, "Controls what editors to save before starting a debug session.")),
|
|
630
630
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
631
631
|
enumDescriptions: [
|
|
632
632
|
( localize(
|
|
633
|
-
|
|
633
|
+
6189,
|
|
634
634
|
"Save all editors in the active group before starting a debug session."
|
|
635
635
|
)),
|
|
636
636
|
( localize(
|
|
637
|
-
|
|
637
|
+
6190,
|
|
638
638
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
639
639
|
)),
|
|
640
|
-
( localize(
|
|
640
|
+
( localize(6191, "Don't save any editors before starting a debug session.")),
|
|
641
641
|
],
|
|
642
642
|
default: 'allEditorsInActiveGroup',
|
|
643
643
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
644
644
|
},
|
|
645
645
|
'debug.confirmOnExit': {
|
|
646
646
|
description: ( localize(
|
|
647
|
-
|
|
647
|
+
6192,
|
|
648
648
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
649
649
|
)),
|
|
650
650
|
type: 'string',
|
|
651
651
|
enum: ['never', 'always'],
|
|
652
652
|
enumDescriptions: [
|
|
653
|
-
( localize(
|
|
654
|
-
( localize(
|
|
653
|
+
( localize(6193, "Never confirm.")),
|
|
654
|
+
( localize(6194, "Always confirm if there are debug sessions.")),
|
|
655
655
|
],
|
|
656
656
|
default: 'never'
|
|
657
657
|
},
|
|
658
658
|
'debug.disassemblyView.showSourceCode': {
|
|
659
659
|
type: 'boolean',
|
|
660
660
|
default: true,
|
|
661
|
-
description: ( localize(
|
|
661
|
+
description: ( localize(6195, "Show Source Code in Disassembly View."))
|
|
662
662
|
},
|
|
663
663
|
'debug.autoExpandLazyVariables': {
|
|
664
664
|
type: 'string',
|
|
@@ -666,26 +666,26 @@ configurationRegistry.registerConfiguration({
|
|
|
666
666
|
default: 'auto',
|
|
667
667
|
enumDescriptions: [
|
|
668
668
|
( localize(
|
|
669
|
-
|
|
669
|
+
6196,
|
|
670
670
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
671
671
|
)),
|
|
672
|
-
( localize(
|
|
673
|
-
( localize(
|
|
672
|
+
( localize(6197, "Always automatically expand lazy variables.")),
|
|
673
|
+
( localize(6198, "Never automatically expand lazy variables."))
|
|
674
674
|
],
|
|
675
675
|
description: ( localize(
|
|
676
|
-
|
|
676
|
+
6199,
|
|
677
677
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
678
678
|
))
|
|
679
679
|
},
|
|
680
680
|
'debug.enableStatusBarColor': {
|
|
681
681
|
type: 'boolean',
|
|
682
|
-
description: ( localize(
|
|
682
|
+
description: ( localize(6200, "Color of the Status bar when debugger is active.")),
|
|
683
683
|
default: true
|
|
684
684
|
},
|
|
685
685
|
'debug.hideLauncherWhileDebugging': {
|
|
686
686
|
type: 'boolean',
|
|
687
687
|
markdownDescription: ( localize(
|
|
688
|
-
|
|
688
|
+
6201,
|
|
689
689
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
690
690
|
'`#debug.toolBarLocation#`'
|
|
691
691
|
)),
|
|
@@ -694,7 +694,7 @@ configurationRegistry.registerConfiguration({
|
|
|
694
694
|
'debug.hideSlowPreLaunchWarning': {
|
|
695
695
|
type: 'boolean',
|
|
696
696
|
markdownDescription: ( localize(
|
|
697
|
-
|
|
697
|
+
6202,
|
|
698
698
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
699
699
|
)),
|
|
700
700
|
default: false
|