@codingame/monaco-vscode-debug-service-override 16.1.0 → 17.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 +17 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +29 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +130 -112
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +7 -7
- 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 +28 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +1 -1
- 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.js +23 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +54 -54
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +23 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +48 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +1 -1
- 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 +21 -21
- 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.js +11 -11
- 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 +46 -46
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.d.ts +6 -5
- 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,13 +14,13 @@ 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-
|
|
17
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/workbench/browser/editor';
|
|
18
18
|
import { ViewPaneContainer } from '@codingame/monaco-vscode-e67a0dae-5b2c-54e6-8d61-90102c78362d-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';
|
|
22
22
|
import { Extensions as Extensions$2, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
23
|
-
import { launchSchemaId } from '@codingame/monaco-vscode-
|
|
23
|
+
import { launchSchemaId } from '@codingame/monaco-vscode-4a0e04a7-c3bd-5fb7-9d3b-4fd047cc9e59-common/vscode/vs/workbench/services/configuration/common/configuration';
|
|
24
24
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
25
25
|
import { COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL } from '../../notebook/browser/contrib/notebookVariables/notebookVariableCommands.js';
|
|
26
26
|
import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_STATE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, getStateLabel, State, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_VARIABLE_VALUE, CONTEXT_EXPRESSION_SELECTED, WATCH_VIEW_ID, VARIABLES_VIEW_ID, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, CONTEXT_DEBUG_UX, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, CONTEXT_LOADED_SCRIPTS_SUPPORTED, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -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-
|
|
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 } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
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';
|
|
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-fc42f049-7883-579d-bb0b-2aa1010a19a8-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(5552, "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(5553, "Type the name of a launch configuration to run.")),
|
|
84
84
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(5554, "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(5555, "Type the name of a debug console to open.")),
|
|
95
|
+
helpEntries: [{ description: ( localize(5556, "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(5557, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE);
|
|
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(5558, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
124
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(5559, "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(5560, "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,30 +161,30 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
161
161
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
162
162
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
163
163
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
164
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
165
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
166
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
167
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
168
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
164
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(5557, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), undefined, 'termination');
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(5561, "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(5562, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(5563, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(5564, "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(5565, "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(5566, "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(5567, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(5563, "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(5565, "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(5566, "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(5567, "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(5568, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(5564, "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(5569, "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(5563, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(5570, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
188
188
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
189
189
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
190
190
|
KeybindingsRegistry.registerKeybindingRule({
|
|
@@ -216,12 +216,12 @@ if (isMacintosh) {
|
|
|
216
216
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
217
217
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
218
218
|
}
|
|
219
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(
|
|
219
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2(5571, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
220
220
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
221
221
|
submenu: MenuId.MenubarDebugMenu,
|
|
222
222
|
title: {
|
|
223
|
-
...( localize2(
|
|
224
|
-
mnemonicTitle: ( localize(
|
|
223
|
+
...( localize2(5572, "Run")),
|
|
224
|
+
mnemonicTitle: ( localize(5573, "&&Run"))
|
|
225
225
|
},
|
|
226
226
|
order: 6
|
|
227
227
|
});
|
|
@@ -229,7 +229,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
229
229
|
group: '1_debug',
|
|
230
230
|
command: {
|
|
231
231
|
id: DEBUG_START_COMMAND_ID,
|
|
232
|
-
title: ( localize(
|
|
232
|
+
title: ( localize(5574, "&&Start Debugging"))
|
|
233
233
|
},
|
|
234
234
|
order: 1,
|
|
235
235
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -238,7 +238,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
238
238
|
group: '1_debug',
|
|
239
239
|
command: {
|
|
240
240
|
id: DEBUG_RUN_COMMAND_ID,
|
|
241
|
-
title: ( localize(
|
|
241
|
+
title: ( localize(5575, "Run &&Without Debugging"))
|
|
242
242
|
},
|
|
243
243
|
order: 2,
|
|
244
244
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -247,7 +247,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
247
247
|
group: '1_debug',
|
|
248
248
|
command: {
|
|
249
249
|
id: STOP_ID,
|
|
250
|
-
title: ( localize(
|
|
250
|
+
title: ( localize(5576, "&&Stop Debugging")),
|
|
251
251
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
252
252
|
},
|
|
253
253
|
order: 3,
|
|
@@ -257,7 +257,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
257
257
|
group: '1_debug',
|
|
258
258
|
command: {
|
|
259
259
|
id: RESTART_SESSION_ID,
|
|
260
|
-
title: ( localize(
|
|
260
|
+
title: ( localize(5577, "&&Restart Debugging")),
|
|
261
261
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
262
262
|
},
|
|
263
263
|
order: 4,
|
|
@@ -267,7 +267,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
267
267
|
group: '2_configuration',
|
|
268
268
|
command: {
|
|
269
269
|
id: ADD_CONFIGURATION_ID,
|
|
270
|
-
title: ( localize(
|
|
270
|
+
title: ( localize(5578, "A&&dd Configuration..."))
|
|
271
271
|
},
|
|
272
272
|
order: 2,
|
|
273
273
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -276,7 +276,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
276
276
|
group: '3_step',
|
|
277
277
|
command: {
|
|
278
278
|
id: STEP_OVER_ID,
|
|
279
|
-
title: ( localize(
|
|
279
|
+
title: ( localize(5579, "Step &&Over")),
|
|
280
280
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
281
281
|
},
|
|
282
282
|
order: 1,
|
|
@@ -286,7 +286,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
286
286
|
group: '3_step',
|
|
287
287
|
command: {
|
|
288
288
|
id: STEP_INTO_ID,
|
|
289
|
-
title: ( localize(
|
|
289
|
+
title: ( localize(5580, "Step &&Into")),
|
|
290
290
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
291
291
|
},
|
|
292
292
|
order: 2,
|
|
@@ -296,7 +296,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
296
296
|
group: '3_step',
|
|
297
297
|
command: {
|
|
298
298
|
id: STEP_OUT_ID,
|
|
299
|
-
title: ( localize(
|
|
299
|
+
title: ( localize(5581, "Step O&&ut")),
|
|
300
300
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
301
301
|
},
|
|
302
302
|
order: 3,
|
|
@@ -306,7 +306,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
306
306
|
group: '3_step',
|
|
307
307
|
command: {
|
|
308
308
|
id: CONTINUE_ID,
|
|
309
|
-
title: ( localize(
|
|
309
|
+
title: ( localize(5582, "&&Continue")),
|
|
310
310
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
311
311
|
},
|
|
312
312
|
order: 4,
|
|
@@ -316,29 +316,47 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
316
316
|
group: '1_breakpoints',
|
|
317
317
|
command: {
|
|
318
318
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(5583, "Inline Breakp&&oint"))
|
|
320
320
|
},
|
|
321
321
|
order: 2,
|
|
322
322
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
323
323
|
});
|
|
324
324
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
325
325
|
group: '4_new_breakpoint',
|
|
326
|
-
title: ( localize(
|
|
326
|
+
title: ( localize(5584, "&&New Breakpoint")),
|
|
327
327
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
328
328
|
order: 2,
|
|
329
329
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
330
330
|
});
|
|
331
|
+
MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
332
|
+
group: '1_edit',
|
|
333
|
+
command: {
|
|
334
|
+
id: COPY_ADDRESS_ID,
|
|
335
|
+
title: COPY_ADDRESS_LABEL,
|
|
336
|
+
},
|
|
337
|
+
order: 2,
|
|
338
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
339
|
+
});
|
|
340
|
+
MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
341
|
+
group: '3_breakpoints',
|
|
342
|
+
command: {
|
|
343
|
+
id: TOGGLE_BREAKPOINT_ID,
|
|
344
|
+
title: ( localize(5585, "Toggle Breakpoint")),
|
|
345
|
+
},
|
|
346
|
+
order: 2,
|
|
347
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
348
|
+
});
|
|
331
349
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
332
350
|
group: 'z_install',
|
|
333
351
|
command: {
|
|
334
352
|
id: 'debug.installAdditionalDebuggers',
|
|
335
|
-
title: ( localize(
|
|
353
|
+
title: ( localize(5586, "&&Install Additional Debuggers..."))
|
|
336
354
|
},
|
|
337
355
|
order: 1
|
|
338
356
|
});
|
|
339
357
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
340
358
|
id: DEBUG_PANEL_ID,
|
|
341
|
-
title: ( localize2(
|
|
359
|
+
title: ( localize2(5587, "Debug Console")),
|
|
342
360
|
icon: debugConsoleViewIcon,
|
|
343
361
|
ctorDescriptor: ( new SyncDescriptor(
|
|
344
362
|
ViewPaneContainer,
|
|
@@ -350,7 +368,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
350
368
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
351
369
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
352
370
|
id: REPL_VIEW_ID,
|
|
353
|
-
name: ( localize2(
|
|
371
|
+
name: ( localize2(5587, "Debug Console")),
|
|
354
372
|
containerIcon: debugConsoleViewIcon,
|
|
355
373
|
canToggleVisibility: true,
|
|
356
374
|
canMoveView: true,
|
|
@@ -358,17 +376,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
358
376
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
359
377
|
openCommandActionDescriptor: {
|
|
360
378
|
id: 'workbench.debug.action.toggleRepl',
|
|
361
|
-
mnemonicTitle: ( localize(
|
|
379
|
+
mnemonicTitle: ( localize(5588, "De&&bug Console")),
|
|
362
380
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
363
381
|
order: 2
|
|
364
382
|
}
|
|
365
383
|
}], VIEW_CONTAINER);
|
|
366
384
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
367
385
|
id: VIEWLET_ID,
|
|
368
|
-
title: ( localize2(
|
|
386
|
+
title: ( localize2(5589, "Run and Debug")),
|
|
369
387
|
openCommandActionDescriptor: {
|
|
370
388
|
id: VIEWLET_ID,
|
|
371
|
-
mnemonicTitle: ( localize(
|
|
389
|
+
mnemonicTitle: ( localize(5590, "&&Run")),
|
|
372
390
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
373
391
|
order: 3
|
|
374
392
|
},
|
|
@@ -378,49 +396,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
378
396
|
order: 3,
|
|
379
397
|
}, ViewContainerLocation.Sidebar);
|
|
380
398
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
381
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
382
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
383
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
384
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
399
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(5591, "Variables")), containerIcon: variablesViewIcon, ctorDescriptor: ( new SyncDescriptor(VariablesView)), order: 10, weight: 40, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusVariablesView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
400
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(5592, "Watch")), containerIcon: watchViewIcon, ctorDescriptor: ( new SyncDescriptor(WatchExpressionsView)), order: 20, weight: 10, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusWatchView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
401
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(5593, "Call Stack")), containerIcon: callStackViewIcon, ctorDescriptor: ( new SyncDescriptor(CallStackView)), order: 30, weight: 30, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusCallStackView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
402
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(5594, "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);
|
|
385
403
|
viewsRegistry.registerViews([{ id: WelcomeView.ID, name: WelcomeView.LABEL, containerIcon: runViewIcon, ctorDescriptor: ( new SyncDescriptor(WelcomeView)), order: 1, weight: 40, canToggleVisibility: true, when: ( CONTEXT_DEBUG_UX.isEqualTo('simple')) }], viewContainer);
|
|
386
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
387
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
404
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(5595, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( new SyncDescriptor(LoadedScriptsView)), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( ContextKeyExpr.and(CONTEXT_LOADED_SCRIPTS_SUPPORTED, ( CONTEXT_DEBUG_UX.isEqualTo('default')))) }], viewContainer);
|
|
405
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(5596, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
388
406
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
389
407
|
configurationRegistry.registerConfiguration({
|
|
390
408
|
id: 'debug',
|
|
391
409
|
order: 20,
|
|
392
|
-
title: ( localize(
|
|
410
|
+
title: ( localize(5597, "Debug")),
|
|
393
411
|
type: 'object',
|
|
394
412
|
properties: {
|
|
395
413
|
'debug.showVariableTypes': {
|
|
396
414
|
type: 'boolean',
|
|
397
|
-
description: ( localize(
|
|
415
|
+
description: ( localize(5598, "Show variable type in variable pane during debug session")),
|
|
398
416
|
default: false
|
|
399
417
|
},
|
|
400
418
|
'debug.allowBreakpointsEverywhere': {
|
|
401
419
|
type: 'boolean',
|
|
402
|
-
description: ( localize(
|
|
420
|
+
description: ( localize(5599, "Allow setting breakpoints in any file.")),
|
|
403
421
|
default: false
|
|
404
422
|
},
|
|
405
423
|
'debug.gutterMiddleClickAction': {
|
|
406
424
|
type: 'string',
|
|
407
425
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
408
426
|
description: ( localize(
|
|
409
|
-
|
|
427
|
+
5600,
|
|
410
428
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
411
429
|
)),
|
|
412
430
|
enumDescriptions: [
|
|
413
|
-
( localize(
|
|
414
|
-
( localize(
|
|
415
|
-
( localize(
|
|
416
|
-
( localize(
|
|
431
|
+
( localize(5601, "Add Logpoint.")),
|
|
432
|
+
( localize(5602, "Add Conditional Breakpoint.")),
|
|
433
|
+
( localize(5603, "Add Triggered Breakpoint.")),
|
|
434
|
+
( localize(5604, "Don't perform any action.")),
|
|
417
435
|
],
|
|
418
436
|
default: 'logpoint',
|
|
419
437
|
},
|
|
420
438
|
'debug.openExplorerOnEnd': {
|
|
421
439
|
type: 'boolean',
|
|
422
440
|
description: ( localize(
|
|
423
|
-
|
|
441
|
+
5605,
|
|
424
442
|
"Automatically open the explorer view at the end of a debug session."
|
|
425
443
|
)),
|
|
426
444
|
default: false
|
|
@@ -428,7 +446,7 @@ configurationRegistry.registerConfiguration({
|
|
|
428
446
|
'debug.closeReadonlyTabsOnEnd': {
|
|
429
447
|
type: 'boolean',
|
|
430
448
|
description: ( localize(
|
|
431
|
-
|
|
449
|
+
5606,
|
|
432
450
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
433
451
|
)),
|
|
434
452
|
default: false
|
|
@@ -436,12 +454,12 @@ configurationRegistry.registerConfiguration({
|
|
|
436
454
|
'debug.inlineValues': {
|
|
437
455
|
type: 'string',
|
|
438
456
|
'enum': ['on', 'off', 'auto'],
|
|
439
|
-
description: ( localize(
|
|
457
|
+
description: ( localize(5607, "Show variable values inline in editor while debugging.")),
|
|
440
458
|
'enumDescriptions': [
|
|
441
|
-
( localize(
|
|
442
|
-
( localize(
|
|
459
|
+
( localize(5608, "Always show variable values inline in editor while debugging.")),
|
|
460
|
+
( localize(5609, "Never show variable values inline in editor while debugging.")),
|
|
443
461
|
( localize(
|
|
444
|
-
|
|
462
|
+
5610,
|
|
445
463
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
446
464
|
)),
|
|
447
465
|
],
|
|
@@ -450,32 +468,32 @@ configurationRegistry.registerConfiguration({
|
|
|
450
468
|
'debug.toolBarLocation': {
|
|
451
469
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
452
470
|
markdownDescription: ( localize(
|
|
453
|
-
|
|
471
|
+
5611,
|
|
454
472
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
455
473
|
'`#window.commandCenter#`'
|
|
456
474
|
)),
|
|
457
475
|
default: 'floating',
|
|
458
476
|
markdownEnumDescriptions: [
|
|
459
|
-
( localize(
|
|
460
|
-
( localize(
|
|
461
|
-
( localize(
|
|
462
|
-
( localize(
|
|
477
|
+
( localize(5612, "Show debug toolbar in all views.")),
|
|
478
|
+
( localize(5613, "Show debug toolbar only in debug views.")),
|
|
479
|
+
( localize(5614, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
480
|
+
( localize(5615, "Do not show debug toolbar.")),
|
|
463
481
|
]
|
|
464
482
|
},
|
|
465
483
|
'debug.showInStatusBar': {
|
|
466
484
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
467
|
-
enumDescriptions: [( localize(
|
|
468
|
-
|
|
485
|
+
enumDescriptions: [( localize(5616, "Never show debug in Status bar")), ( localize(5617, "Always show debug in Status bar")), ( localize(
|
|
486
|
+
5618,
|
|
469
487
|
"Show debug in Status bar only after debug was started for the first time"
|
|
470
488
|
))],
|
|
471
|
-
description: ( localize(
|
|
489
|
+
description: ( localize(5619, "Controls when the debug Status bar should be visible.")),
|
|
472
490
|
default: 'onFirstSessionStart'
|
|
473
491
|
},
|
|
474
492
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
475
493
|
'debug.console.closeOnEnd': {
|
|
476
494
|
type: 'boolean',
|
|
477
495
|
description: ( localize(
|
|
478
|
-
|
|
496
|
+
5620,
|
|
479
497
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
480
498
|
)),
|
|
481
499
|
default: false
|
|
@@ -483,7 +501,7 @@ configurationRegistry.registerConfiguration({
|
|
|
483
501
|
'debug.terminal.clearBeforeReusing': {
|
|
484
502
|
type: 'boolean',
|
|
485
503
|
description: ( localize(
|
|
486
|
-
|
|
504
|
+
5621,
|
|
487
505
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
488
506
|
)),
|
|
489
507
|
default: false
|
|
@@ -491,43 +509,43 @@ configurationRegistry.registerConfiguration({
|
|
|
491
509
|
'debug.openDebug': {
|
|
492
510
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
493
511
|
default: 'openOnDebugBreak',
|
|
494
|
-
description: ( localize(
|
|
512
|
+
description: ( localize(5622, "Controls when the debug view should open."))
|
|
495
513
|
},
|
|
496
514
|
'debug.showSubSessionsInToolBar': {
|
|
497
515
|
type: 'boolean',
|
|
498
516
|
description: ( localize(
|
|
499
|
-
|
|
517
|
+
5623,
|
|
500
518
|
"Controls whether the debug sub-sessions are shown in the debug tool bar. When this setting is false the stop command on a sub-session will also stop the parent session."
|
|
501
519
|
)),
|
|
502
520
|
default: false
|
|
503
521
|
},
|
|
504
522
|
'debug.console.fontSize': {
|
|
505
523
|
type: 'number',
|
|
506
|
-
description: ( localize(
|
|
524
|
+
description: ( localize(5624, "Controls the font size in pixels in the Debug Console.")),
|
|
507
525
|
default: isMacintosh ? 12 : 14,
|
|
508
526
|
},
|
|
509
527
|
'debug.console.fontFamily': {
|
|
510
528
|
type: 'string',
|
|
511
|
-
description: ( localize(
|
|
529
|
+
description: ( localize(5625, "Controls the font family in the Debug Console.")),
|
|
512
530
|
default: 'default'
|
|
513
531
|
},
|
|
514
532
|
'debug.console.lineHeight': {
|
|
515
533
|
type: 'number',
|
|
516
534
|
description: ( localize(
|
|
517
|
-
|
|
535
|
+
5626,
|
|
518
536
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
519
537
|
)),
|
|
520
538
|
default: 0
|
|
521
539
|
},
|
|
522
540
|
'debug.console.wordWrap': {
|
|
523
541
|
type: 'boolean',
|
|
524
|
-
description: ( localize(
|
|
542
|
+
description: ( localize(5627, "Controls if the lines should wrap in the Debug Console.")),
|
|
525
543
|
default: true
|
|
526
544
|
},
|
|
527
545
|
'debug.console.historySuggestions': {
|
|
528
546
|
type: 'boolean',
|
|
529
547
|
description: ( localize(
|
|
530
|
-
|
|
548
|
+
5628,
|
|
531
549
|
"Controls if the Debug Console should suggest previously typed input."
|
|
532
550
|
)),
|
|
533
551
|
default: true
|
|
@@ -535,7 +553,7 @@ configurationRegistry.registerConfiguration({
|
|
|
535
553
|
'debug.console.collapseIdenticalLines': {
|
|
536
554
|
type: 'boolean',
|
|
537
555
|
description: ( localize(
|
|
538
|
-
|
|
556
|
+
5629,
|
|
539
557
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
540
558
|
)),
|
|
541
559
|
default: true
|
|
@@ -543,7 +561,7 @@ configurationRegistry.registerConfiguration({
|
|
|
543
561
|
'debug.console.acceptSuggestionOnEnter': {
|
|
544
562
|
enum: ['off', 'on'],
|
|
545
563
|
description: ( localize(
|
|
546
|
-
|
|
564
|
+
5630,
|
|
547
565
|
"Controls whether suggestions should be accepted on Enter in the Debug Console. Enter is also used to evaluate whatever is typed in the Debug Console."
|
|
548
566
|
)),
|
|
549
567
|
default: 'off'
|
|
@@ -551,7 +569,7 @@ configurationRegistry.registerConfiguration({
|
|
|
551
569
|
'launch': {
|
|
552
570
|
type: 'object',
|
|
553
571
|
description: ( localize(
|
|
554
|
-
|
|
572
|
+
5631,
|
|
555
573
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
556
574
|
)),
|
|
557
575
|
default: { configurations: [], compounds: [] },
|
|
@@ -561,7 +579,7 @@ configurationRegistry.registerConfiguration({
|
|
|
561
579
|
'debug.focusWindowOnBreak': {
|
|
562
580
|
type: 'boolean',
|
|
563
581
|
description: ( localize(
|
|
564
|
-
|
|
582
|
+
5632,
|
|
565
583
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
566
584
|
)),
|
|
567
585
|
default: true
|
|
@@ -569,16 +587,16 @@ configurationRegistry.registerConfiguration({
|
|
|
569
587
|
'debug.focusEditorOnBreak': {
|
|
570
588
|
type: 'boolean',
|
|
571
589
|
description: ( localize(
|
|
572
|
-
|
|
590
|
+
5633,
|
|
573
591
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
574
592
|
)),
|
|
575
593
|
default: true
|
|
576
594
|
},
|
|
577
595
|
'debug.onTaskErrors': {
|
|
578
596
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
579
|
-
enumDescriptions: [( localize(
|
|
597
|
+
enumDescriptions: [( localize(5634, "Ignore task errors and start debugging.")), ( localize(5635, "Show the Problems view and do not start debugging.")), ( localize(5636, "Prompt user.")), ( localize(5637, "Cancel debugging."))],
|
|
580
598
|
description: ( localize(
|
|
581
|
-
|
|
599
|
+
5638,
|
|
582
600
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
583
601
|
)),
|
|
584
602
|
default: 'prompt'
|
|
@@ -586,7 +604,7 @@ configurationRegistry.registerConfiguration({
|
|
|
586
604
|
'debug.showBreakpointsInOverviewRuler': {
|
|
587
605
|
type: 'boolean',
|
|
588
606
|
description: ( localize(
|
|
589
|
-
|
|
607
|
+
5639,
|
|
590
608
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
591
609
|
)),
|
|
592
610
|
default: false
|
|
@@ -594,45 +612,45 @@ configurationRegistry.registerConfiguration({
|
|
|
594
612
|
'debug.showInlineBreakpointCandidates': {
|
|
595
613
|
type: 'boolean',
|
|
596
614
|
description: ( localize(
|
|
597
|
-
|
|
615
|
+
5640,
|
|
598
616
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
599
617
|
)),
|
|
600
618
|
default: true
|
|
601
619
|
},
|
|
602
620
|
'debug.saveBeforeStart': {
|
|
603
|
-
description: ( localize(
|
|
621
|
+
description: ( localize(5641, "Controls what editors to save before starting a debug session.")),
|
|
604
622
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
605
623
|
enumDescriptions: [
|
|
606
624
|
( localize(
|
|
607
|
-
|
|
625
|
+
5642,
|
|
608
626
|
"Save all editors in the active group before starting a debug session."
|
|
609
627
|
)),
|
|
610
628
|
( localize(
|
|
611
|
-
|
|
629
|
+
5643,
|
|
612
630
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
613
631
|
)),
|
|
614
|
-
( localize(
|
|
632
|
+
( localize(5644, "Don't save any editors before starting a debug session.")),
|
|
615
633
|
],
|
|
616
634
|
default: 'allEditorsInActiveGroup',
|
|
617
635
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
618
636
|
},
|
|
619
637
|
'debug.confirmOnExit': {
|
|
620
638
|
description: ( localize(
|
|
621
|
-
|
|
639
|
+
5645,
|
|
622
640
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
623
641
|
)),
|
|
624
642
|
type: 'string',
|
|
625
643
|
enum: ['never', 'always'],
|
|
626
644
|
enumDescriptions: [
|
|
627
|
-
( localize(
|
|
628
|
-
( localize(
|
|
645
|
+
( localize(5646, "Never confirm.")),
|
|
646
|
+
( localize(5647, "Always confirm if there are debug sessions.")),
|
|
629
647
|
],
|
|
630
648
|
default: 'never'
|
|
631
649
|
},
|
|
632
650
|
'debug.disassemblyView.showSourceCode': {
|
|
633
651
|
type: 'boolean',
|
|
634
652
|
default: true,
|
|
635
|
-
description: ( localize(
|
|
653
|
+
description: ( localize(5648, "Show Source Code in Disassembly View."))
|
|
636
654
|
},
|
|
637
655
|
'debug.autoExpandLazyVariables': {
|
|
638
656
|
type: 'string',
|
|
@@ -640,26 +658,26 @@ configurationRegistry.registerConfiguration({
|
|
|
640
658
|
default: 'auto',
|
|
641
659
|
enumDescriptions: [
|
|
642
660
|
( localize(
|
|
643
|
-
|
|
661
|
+
5649,
|
|
644
662
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
645
663
|
)),
|
|
646
|
-
( localize(
|
|
647
|
-
( localize(
|
|
664
|
+
( localize(5650, "Always automatically expand lazy variables.")),
|
|
665
|
+
( localize(5651, "Never automatically expand lazy variables."))
|
|
648
666
|
],
|
|
649
667
|
description: ( localize(
|
|
650
|
-
|
|
668
|
+
5652,
|
|
651
669
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
652
670
|
))
|
|
653
671
|
},
|
|
654
672
|
'debug.enableStatusBarColor': {
|
|
655
673
|
type: 'boolean',
|
|
656
|
-
description: ( localize(
|
|
674
|
+
description: ( localize(5653, "Color of the Status bar when debugger is active.")),
|
|
657
675
|
default: true
|
|
658
676
|
},
|
|
659
677
|
'debug.hideLauncherWhileDebugging': {
|
|
660
678
|
type: 'boolean',
|
|
661
679
|
markdownDescription: ( localize(
|
|
662
|
-
|
|
680
|
+
5654,
|
|
663
681
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
664
682
|
'`#debug.toolBarLocation#`'
|
|
665
683
|
)),
|
|
@@ -668,7 +686,7 @@ configurationRegistry.registerConfiguration({
|
|
|
668
686
|
'debug.hideSlowPreLaunchWarning': {
|
|
669
687
|
type: 'boolean',
|
|
670
688
|
markdownDescription: ( localize(
|
|
671
|
-
|
|
689
|
+
5655,
|
|
672
690
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
673
691
|
)),
|
|
674
692
|
default: false
|