@codingame/monaco-vscode-debug-service-override 23.2.2 → 24.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -14
- package/service-override/tools/debugAssets.js +1 -1
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +21 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +128 -126
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.js +430 -0
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +47 -47
- 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 +19 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +15 -15
- 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.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.js +1 -1
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/debugAccessibilityAnnouncer.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +4 -4
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -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-
|
|
18
|
-
import { ViewPaneContainer } from '@codingame/monaco-vscode-
|
|
17
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/editor';
|
|
18
|
+
import { ViewPaneContainer } from '@codingame/monaco-vscode-api/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-api/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_TERMINATE_THREADS_SUPPORTED, CONTEXT_DEBUG_STATE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, getStateLabel, State, CONTEXT_LOADED_SCRIPTS_SUPPORTED, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_VARIABLE_VALUE, CONTEXT_EXPRESSION_SELECTED, WATCH_VIEW_ID, VARIABLES_VIEW_ID, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, CONTEXT_DEBUG_UX, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -29,18 +29,18 @@ import { DebugWatchAccessibilityAnnouncer } from '../common/debugAccessibilityAn
|
|
|
29
29
|
import { DebugContentProvider } from '../common/debugContentProvider.js';
|
|
30
30
|
import { DebugLifecycle } from '../common/debugLifecycle.js';
|
|
31
31
|
import '../common/debugVisualizers.js';
|
|
32
|
-
import { DisassemblyViewInput } from '@codingame/monaco-vscode-
|
|
32
|
+
import { DisassemblyViewInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
|
|
33
33
|
import { ReplAccessibilityAnnouncer } from '../common/replAccessibilityAnnouncer.js';
|
|
34
|
-
import { BreakpointEditorContribution } from '@codingame/monaco-vscode-
|
|
35
|
-
import { BreakpointsView } from '@codingame/monaco-vscode-
|
|
36
|
-
import { CallStackEditorContribution } from '@codingame/monaco-vscode-
|
|
34
|
+
import { BreakpointEditorContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/browser/breakpointEditorContribution';
|
|
35
|
+
import { BreakpointsView } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
|
|
36
|
+
import { CallStackEditorContribution } from '@codingame/monaco-vscode-api/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, 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-
|
|
38
|
+
import { registerColors } from '@codingame/monaco-vscode-api/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, 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-api/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
40
40
|
import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
|
|
41
41
|
import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
|
|
42
|
-
import { DebugEditorContribution } from '@codingame/monaco-vscode-
|
|
43
|
-
import { debugInspectMemory, watchExpressionRemove, debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchViewIcon, callStackViewIcon, breakpointsViewIcon, loadedScriptsViewIcon } from '@codingame/monaco-vscode-
|
|
42
|
+
import { DebugEditorContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/browser/debugEditorContribution';
|
|
43
|
+
import { debugInspectMemory, watchExpressionRemove, debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchViewIcon, callStackViewIcon, breakpointsViewIcon, loadedScriptsViewIcon } from '@codingame/monaco-vscode-api/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';
|
|
@@ -53,18 +53,19 @@ import { DisassemblyViewContribution, DisassemblyView } from './disassemblyView.
|
|
|
53
53
|
import { LoadedScriptsView } from './loadedScriptsView.js';
|
|
54
54
|
import * as debug_contribution from './media/debug.contribution.css';
|
|
55
55
|
import * as debugHover from './media/debugHover.css';
|
|
56
|
-
import { Repl } from '@codingame/monaco-vscode-
|
|
56
|
+
import { Repl } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/browser/repl';
|
|
57
57
|
import { ReplAccessibilityHelp } from './replAccessibilityHelp.js';
|
|
58
58
|
import { ReplAccessibleView } from './replAccessibleView.js';
|
|
59
59
|
import { RunAndDebugAccessibilityHelp } from './runAndDebugAccessibilityHelp.js';
|
|
60
60
|
import { StatusBarColorProvider } from './statusbarColorProvider.js';
|
|
61
|
-
import { VIEW_MEMORY_ID, SET_VARIABLE_ID, VariablesView } from '@codingame/monaco-vscode-
|
|
61
|
+
import { VIEW_MEMORY_ID, SET_VARIABLE_ID, VariablesView } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/browser/variablesView';
|
|
62
62
|
import { ADD_WATCH_ID, ADD_WATCH_LABEL, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, WatchExpressionsView } from './watchExpressionsView.js';
|
|
63
63
|
import { WelcomeView } from './welcomeView.js';
|
|
64
|
+
import { DebugChatContextContribution } from './debugChatIntegration.js';
|
|
64
65
|
|
|
65
66
|
registerCss(debug_contribution);
|
|
66
67
|
registerCss(debugHover);
|
|
67
|
-
const debugCategory = ( localize(
|
|
68
|
+
const debugCategory = ( localize(6559, "Debug"));
|
|
68
69
|
registerColors();
|
|
69
70
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
70
71
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -76,13 +77,14 @@ if (isWeb) {
|
|
|
76
77
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(StatusBarColorProvider, LifecyclePhase.Eventually);
|
|
77
78
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DisassemblyViewContribution, LifecyclePhase.Eventually);
|
|
78
79
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugLifecycle, LifecyclePhase.Eventually);
|
|
80
|
+
registerWorkbenchContribution2(DebugChatContextContribution.ID, DebugChatContextContribution, WorkbenchPhase.AfterRestored);
|
|
79
81
|
( Registry.as(Extensions$1.Quickaccess)).registerQuickAccessProvider({
|
|
80
82
|
ctor: StartDebugQuickAccessProvider,
|
|
81
83
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
82
84
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
83
|
-
placeholder: ( localize(
|
|
85
|
+
placeholder: ( localize(6560, "Type the name of a launch configuration to run.")),
|
|
84
86
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
87
|
+
description: ( localize(6561, "Start Debugging")),
|
|
86
88
|
commandId: SELECT_AND_START_ID,
|
|
87
89
|
commandCenterOrder: 50
|
|
88
90
|
}]
|
|
@@ -91,8 +93,8 @@ if (isWeb) {
|
|
|
91
93
|
ctor: DebugConsoleQuickAccess,
|
|
92
94
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
93
95
|
contextKey: 'inDebugConsolePicker',
|
|
94
|
-
placeholder: ( localize(
|
|
95
|
-
helpEntries: [{ description: ( localize(
|
|
96
|
+
placeholder: ( localize(6562, "Type the name of a debug console to open.")),
|
|
97
|
+
helpEntries: [{ description: ( localize(6563, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
96
98
|
});
|
|
97
99
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
98
100
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
@@ -110,7 +112,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
110
112
|
});
|
|
111
113
|
};
|
|
112
114
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
113
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
115
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(6564, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED);
|
|
114
116
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
115
117
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
116
118
|
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 +122,12 @@ registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBU
|
|
|
120
122
|
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
123
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
122
124
|
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(
|
|
125
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6565, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
126
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6566, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
125
127
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
126
128
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
127
129
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
|
|
128
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
130
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(6567, "Inline Breakpoint")));
|
|
129
131
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
130
132
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
131
133
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
@@ -161,35 +163,35 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
161
163
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
162
164
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
163
165
|
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(
|
|
166
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(6564, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), CONTEXT_TERMINATE_THREADS_SUPPORTED, 'termination');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(6568, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(6569, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
169
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(6570, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
170
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(6571, "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
171
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
170
172
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
171
173
|
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(
|
|
174
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6572, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6573, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
176
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6574, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
177
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(6570, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
176
178
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
177
179
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
178
180
|
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(
|
|
181
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6572, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
182
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6573, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6574, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
182
184
|
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(
|
|
185
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(6575, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
186
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(6571, "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');
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(6576, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
186
188
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 50, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
187
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
188
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
189
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(6570, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
190
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(6577, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
189
191
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
190
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
191
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
192
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
192
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6572, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
193
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6573, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
194
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6574, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
193
195
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
194
196
|
KeybindingsRegistry.registerKeybindingRule({
|
|
195
197
|
id: COPY_VALUE_ID,
|
|
@@ -220,12 +222,12 @@ if (isMacintosh) {
|
|
|
220
222
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
221
223
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
222
224
|
}
|
|
223
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, isSplitButton: { togglePrimaryAction: true }, title: ( localize2(
|
|
225
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, isSplitButton: { togglePrimaryAction: true }, title: ( localize2(6578, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
224
226
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
225
227
|
submenu: MenuId.MenubarDebugMenu,
|
|
226
228
|
title: {
|
|
227
|
-
...( localize2(
|
|
228
|
-
mnemonicTitle: ( localize(
|
|
229
|
+
...( localize2(6579, "Run")),
|
|
230
|
+
mnemonicTitle: ( localize(6580, "&&Run"))
|
|
229
231
|
},
|
|
230
232
|
order: 6
|
|
231
233
|
});
|
|
@@ -233,7 +235,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
233
235
|
group: '1_debug',
|
|
234
236
|
command: {
|
|
235
237
|
id: DEBUG_START_COMMAND_ID,
|
|
236
|
-
title: ( localize(
|
|
238
|
+
title: ( localize(6581, "&&Start Debugging"))
|
|
237
239
|
},
|
|
238
240
|
order: 1,
|
|
239
241
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -242,7 +244,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
242
244
|
group: '1_debug',
|
|
243
245
|
command: {
|
|
244
246
|
id: DEBUG_RUN_COMMAND_ID,
|
|
245
|
-
title: ( localize(
|
|
247
|
+
title: ( localize(6582, "Run &&Without Debugging"))
|
|
246
248
|
},
|
|
247
249
|
order: 2,
|
|
248
250
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -251,7 +253,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
251
253
|
group: '1_debug',
|
|
252
254
|
command: {
|
|
253
255
|
id: STOP_ID,
|
|
254
|
-
title: ( localize(
|
|
256
|
+
title: ( localize(6583, "&&Stop Debugging")),
|
|
255
257
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
256
258
|
},
|
|
257
259
|
order: 3,
|
|
@@ -261,7 +263,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
261
263
|
group: '1_debug',
|
|
262
264
|
command: {
|
|
263
265
|
id: RESTART_SESSION_ID,
|
|
264
|
-
title: ( localize(
|
|
266
|
+
title: ( localize(6584, "&&Restart Debugging")),
|
|
265
267
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
266
268
|
},
|
|
267
269
|
order: 4,
|
|
@@ -271,7 +273,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
271
273
|
group: '2_configuration',
|
|
272
274
|
command: {
|
|
273
275
|
id: ADD_CONFIGURATION_ID,
|
|
274
|
-
title: ( localize(
|
|
276
|
+
title: ( localize(6585, "A&&dd Configuration..."))
|
|
275
277
|
},
|
|
276
278
|
order: 2,
|
|
277
279
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -280,7 +282,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
280
282
|
group: '3_step',
|
|
281
283
|
command: {
|
|
282
284
|
id: STEP_OVER_ID,
|
|
283
|
-
title: ( localize(
|
|
285
|
+
title: ( localize(6586, "Step &&Over")),
|
|
284
286
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
285
287
|
},
|
|
286
288
|
order: 1,
|
|
@@ -290,7 +292,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
290
292
|
group: '3_step',
|
|
291
293
|
command: {
|
|
292
294
|
id: STEP_INTO_ID,
|
|
293
|
-
title: ( localize(
|
|
295
|
+
title: ( localize(6587, "Step &&Into")),
|
|
294
296
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
295
297
|
},
|
|
296
298
|
order: 2,
|
|
@@ -300,7 +302,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
300
302
|
group: '3_step',
|
|
301
303
|
command: {
|
|
302
304
|
id: STEP_OUT_ID,
|
|
303
|
-
title: ( localize(
|
|
305
|
+
title: ( localize(6588, "Step O&&ut")),
|
|
304
306
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
305
307
|
},
|
|
306
308
|
order: 3,
|
|
@@ -310,7 +312,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
310
312
|
group: '3_step',
|
|
311
313
|
command: {
|
|
312
314
|
id: CONTINUE_ID,
|
|
313
|
-
title: ( localize(
|
|
315
|
+
title: ( localize(6589, "&&Continue")),
|
|
314
316
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
315
317
|
},
|
|
316
318
|
order: 4,
|
|
@@ -320,14 +322,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
320
322
|
group: '1_breakpoints',
|
|
321
323
|
command: {
|
|
322
324
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
323
|
-
title: ( localize(
|
|
325
|
+
title: ( localize(6590, "Inline Breakp&&oint"))
|
|
324
326
|
},
|
|
325
327
|
order: 2,
|
|
326
328
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
327
329
|
});
|
|
328
330
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
329
331
|
group: '4_new_breakpoint',
|
|
330
|
-
title: ( localize(
|
|
332
|
+
title: ( localize(6591, "&&New Breakpoint")),
|
|
331
333
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
332
334
|
order: 2,
|
|
333
335
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -345,7 +347,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
345
347
|
group: '3_breakpoints',
|
|
346
348
|
command: {
|
|
347
349
|
id: TOGGLE_BREAKPOINT_ID,
|
|
348
|
-
title: ( localize(
|
|
350
|
+
title: ( localize(6592, "Toggle Breakpoint")),
|
|
349
351
|
},
|
|
350
352
|
order: 2,
|
|
351
353
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -354,13 +356,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
354
356
|
group: 'z_install',
|
|
355
357
|
command: {
|
|
356
358
|
id: 'debug.installAdditionalDebuggers',
|
|
357
|
-
title: ( localize(
|
|
359
|
+
title: ( localize(6593, "&&Install Additional Debuggers..."))
|
|
358
360
|
},
|
|
359
361
|
order: 1
|
|
360
362
|
});
|
|
361
363
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
362
364
|
id: DEBUG_PANEL_ID,
|
|
363
|
-
title: ( localize2(
|
|
365
|
+
title: ( localize2(6594, "Debug Console")),
|
|
364
366
|
icon: debugConsoleViewIcon,
|
|
365
367
|
ctorDescriptor: ( new SyncDescriptor(
|
|
366
368
|
ViewPaneContainer,
|
|
@@ -372,7 +374,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
372
374
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
373
375
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
374
376
|
id: REPL_VIEW_ID,
|
|
375
|
-
name: ( localize2(
|
|
377
|
+
name: ( localize2(6594, "Debug Console")),
|
|
376
378
|
containerIcon: debugConsoleViewIcon,
|
|
377
379
|
canToggleVisibility: true,
|
|
378
380
|
canMoveView: true,
|
|
@@ -380,17 +382,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
380
382
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
381
383
|
openCommandActionDescriptor: {
|
|
382
384
|
id: 'workbench.debug.action.toggleRepl',
|
|
383
|
-
mnemonicTitle: ( localize(
|
|
385
|
+
mnemonicTitle: ( localize(6595, "De&&bug Console")),
|
|
384
386
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
385
387
|
order: 2
|
|
386
388
|
}
|
|
387
389
|
}], VIEW_CONTAINER);
|
|
388
390
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
389
391
|
id: VIEWLET_ID,
|
|
390
|
-
title: ( localize2(
|
|
392
|
+
title: ( localize2(6596, "Run and Debug")),
|
|
391
393
|
openCommandActionDescriptor: {
|
|
392
394
|
id: VIEWLET_ID,
|
|
393
|
-
mnemonicTitle: ( localize(
|
|
395
|
+
mnemonicTitle: ( localize(6597, "&&Run")),
|
|
394
396
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
395
397
|
order: 3
|
|
396
398
|
},
|
|
@@ -400,49 +402,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
400
402
|
order: 3,
|
|
401
403
|
}, ViewContainerLocation.Sidebar);
|
|
402
404
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
403
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
404
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
405
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
406
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
405
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(6598, "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);
|
|
406
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(6599, "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);
|
|
407
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(6600, "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);
|
|
408
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(6601, "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);
|
|
407
409
|
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);
|
|
408
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
409
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
410
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(6602, "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);
|
|
411
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(6603, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
410
412
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
411
413
|
configurationRegistry.registerConfiguration({
|
|
412
414
|
id: 'debug',
|
|
413
415
|
order: 20,
|
|
414
|
-
title: ( localize(
|
|
416
|
+
title: ( localize(6604, "Debug")),
|
|
415
417
|
type: 'object',
|
|
416
418
|
properties: {
|
|
417
419
|
'debug.showVariableTypes': {
|
|
418
420
|
type: 'boolean',
|
|
419
|
-
description: ( localize(
|
|
421
|
+
description: ( localize(6605, "Show variable type in variable pane during debug session")),
|
|
420
422
|
default: false
|
|
421
423
|
},
|
|
422
424
|
'debug.allowBreakpointsEverywhere': {
|
|
423
425
|
type: 'boolean',
|
|
424
|
-
description: ( localize(
|
|
426
|
+
description: ( localize(6606, "Allow setting breakpoints in any file.")),
|
|
425
427
|
default: false
|
|
426
428
|
},
|
|
427
429
|
'debug.gutterMiddleClickAction': {
|
|
428
430
|
type: 'string',
|
|
429
431
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
430
432
|
description: ( localize(
|
|
431
|
-
|
|
433
|
+
6607,
|
|
432
434
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
433
435
|
)),
|
|
434
436
|
enumDescriptions: [
|
|
435
|
-
( localize(
|
|
436
|
-
( localize(
|
|
437
|
-
( localize(
|
|
438
|
-
( localize(
|
|
437
|
+
( localize(6608, "Add Logpoint.")),
|
|
438
|
+
( localize(6609, "Add Conditional Breakpoint.")),
|
|
439
|
+
( localize(6610, "Add Triggered Breakpoint.")),
|
|
440
|
+
( localize(6611, "Don't perform any action.")),
|
|
439
441
|
],
|
|
440
442
|
default: 'logpoint',
|
|
441
443
|
},
|
|
442
444
|
'debug.openExplorerOnEnd': {
|
|
443
445
|
type: 'boolean',
|
|
444
446
|
description: ( localize(
|
|
445
|
-
|
|
447
|
+
6612,
|
|
446
448
|
"Automatically open the explorer view at the end of a debug session."
|
|
447
449
|
)),
|
|
448
450
|
default: false
|
|
@@ -450,7 +452,7 @@ configurationRegistry.registerConfiguration({
|
|
|
450
452
|
'debug.closeReadonlyTabsOnEnd': {
|
|
451
453
|
type: 'boolean',
|
|
452
454
|
description: ( localize(
|
|
453
|
-
|
|
455
|
+
6613,
|
|
454
456
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
455
457
|
)),
|
|
456
458
|
default: false
|
|
@@ -458,12 +460,12 @@ configurationRegistry.registerConfiguration({
|
|
|
458
460
|
'debug.inlineValues': {
|
|
459
461
|
type: 'string',
|
|
460
462
|
'enum': ['on', 'off', 'auto'],
|
|
461
|
-
description: ( localize(
|
|
463
|
+
description: ( localize(6614, "Show variable values inline in editor while debugging.")),
|
|
462
464
|
'enumDescriptions': [
|
|
463
|
-
( localize(
|
|
464
|
-
( localize(
|
|
465
|
+
( localize(6615, "Always show variable values inline in editor while debugging.")),
|
|
466
|
+
( localize(6616, "Never show variable values inline in editor while debugging.")),
|
|
465
467
|
( localize(
|
|
466
|
-
|
|
468
|
+
6617,
|
|
467
469
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
468
470
|
)),
|
|
469
471
|
],
|
|
@@ -472,32 +474,32 @@ configurationRegistry.registerConfiguration({
|
|
|
472
474
|
'debug.toolBarLocation': {
|
|
473
475
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
474
476
|
markdownDescription: ( localize(
|
|
475
|
-
|
|
477
|
+
6618,
|
|
476
478
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
477
479
|
'`#window.commandCenter#`'
|
|
478
480
|
)),
|
|
479
481
|
default: 'floating',
|
|
480
482
|
markdownEnumDescriptions: [
|
|
481
|
-
( localize(
|
|
482
|
-
( localize(
|
|
483
|
-
( localize(
|
|
484
|
-
( localize(
|
|
483
|
+
( localize(6619, "Show debug toolbar in all views.")),
|
|
484
|
+
( localize(6620, "Show debug toolbar only in debug views.")),
|
|
485
|
+
( localize(6621, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
486
|
+
( localize(6622, "Do not show debug toolbar.")),
|
|
485
487
|
]
|
|
486
488
|
},
|
|
487
489
|
'debug.showInStatusBar': {
|
|
488
490
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
489
|
-
enumDescriptions: [( localize(
|
|
490
|
-
|
|
491
|
-
"Show debug in
|
|
491
|
+
enumDescriptions: [( localize(6623, "Never show debug item in status bar")), ( localize(6624, "Always show debug item in status bar")), ( localize(
|
|
492
|
+
6625,
|
|
493
|
+
"Show debug item in status bar only after debug was started for the first time"
|
|
492
494
|
))],
|
|
493
|
-
description: ( localize(
|
|
495
|
+
description: ( localize(6626, "Controls when the debug status bar item should be visible.")),
|
|
494
496
|
default: 'onFirstSessionStart'
|
|
495
497
|
},
|
|
496
498
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
497
499
|
'debug.console.closeOnEnd': {
|
|
498
500
|
type: 'boolean',
|
|
499
501
|
description: ( localize(
|
|
500
|
-
|
|
502
|
+
6627,
|
|
501
503
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
502
504
|
)),
|
|
503
505
|
default: false
|
|
@@ -505,7 +507,7 @@ configurationRegistry.registerConfiguration({
|
|
|
505
507
|
'debug.terminal.clearBeforeReusing': {
|
|
506
508
|
type: 'boolean',
|
|
507
509
|
description: ( localize(
|
|
508
|
-
|
|
510
|
+
6628,
|
|
509
511
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
510
512
|
)),
|
|
511
513
|
default: false
|
|
@@ -513,43 +515,43 @@ configurationRegistry.registerConfiguration({
|
|
|
513
515
|
'debug.openDebug': {
|
|
514
516
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
515
517
|
default: 'openOnDebugBreak',
|
|
516
|
-
description: ( localize(
|
|
518
|
+
description: ( localize(6629, "Controls when the debug view should open."))
|
|
517
519
|
},
|
|
518
520
|
'debug.showSubSessionsInToolBar': {
|
|
519
521
|
type: 'boolean',
|
|
520
522
|
description: ( localize(
|
|
521
|
-
|
|
523
|
+
6630,
|
|
522
524
|
"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."
|
|
523
525
|
)),
|
|
524
526
|
default: false
|
|
525
527
|
},
|
|
526
528
|
'debug.console.fontSize': {
|
|
527
529
|
type: 'number',
|
|
528
|
-
description: ( localize(
|
|
530
|
+
description: ( localize(6631, "Controls the font size in pixels in the Debug Console.")),
|
|
529
531
|
default: isMacintosh ? 12 : 14,
|
|
530
532
|
},
|
|
531
533
|
'debug.console.fontFamily': {
|
|
532
534
|
type: 'string',
|
|
533
|
-
description: ( localize(
|
|
535
|
+
description: ( localize(6632, "Controls the font family in the Debug Console.")),
|
|
534
536
|
default: 'default'
|
|
535
537
|
},
|
|
536
538
|
'debug.console.lineHeight': {
|
|
537
539
|
type: 'number',
|
|
538
540
|
description: ( localize(
|
|
539
|
-
|
|
541
|
+
6633,
|
|
540
542
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
541
543
|
)),
|
|
542
544
|
default: 0
|
|
543
545
|
},
|
|
544
546
|
'debug.console.wordWrap': {
|
|
545
547
|
type: 'boolean',
|
|
546
|
-
description: ( localize(
|
|
548
|
+
description: ( localize(6634, "Controls if the lines should wrap in the Debug Console.")),
|
|
547
549
|
default: true
|
|
548
550
|
},
|
|
549
551
|
'debug.console.historySuggestions': {
|
|
550
552
|
type: 'boolean',
|
|
551
553
|
description: ( localize(
|
|
552
|
-
|
|
554
|
+
6635,
|
|
553
555
|
"Controls if the Debug Console should suggest previously typed input."
|
|
554
556
|
)),
|
|
555
557
|
default: true
|
|
@@ -557,7 +559,7 @@ configurationRegistry.registerConfiguration({
|
|
|
557
559
|
'debug.console.collapseIdenticalLines': {
|
|
558
560
|
type: 'boolean',
|
|
559
561
|
description: ( localize(
|
|
560
|
-
|
|
562
|
+
6636,
|
|
561
563
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
562
564
|
)),
|
|
563
565
|
default: true
|
|
@@ -565,20 +567,20 @@ configurationRegistry.registerConfiguration({
|
|
|
565
567
|
'debug.console.acceptSuggestionOnEnter': {
|
|
566
568
|
enum: ['off', 'on'],
|
|
567
569
|
description: ( localize(
|
|
568
|
-
|
|
570
|
+
6637,
|
|
569
571
|
"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."
|
|
570
572
|
)),
|
|
571
573
|
default: 'off'
|
|
572
574
|
},
|
|
573
575
|
'debug.console.maximumLines': {
|
|
574
576
|
type: 'number',
|
|
575
|
-
description: ( localize(
|
|
577
|
+
description: ( localize(6638, "Controls the maximum number of lines in the Debug Console.")),
|
|
576
578
|
default: 10000
|
|
577
579
|
},
|
|
578
580
|
'launch': {
|
|
579
581
|
type: 'object',
|
|
580
582
|
description: ( localize(
|
|
581
|
-
|
|
583
|
+
6639,
|
|
582
584
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
583
585
|
)),
|
|
584
586
|
default: { configurations: [], compounds: [] },
|
|
@@ -588,7 +590,7 @@ configurationRegistry.registerConfiguration({
|
|
|
588
590
|
'debug.focusWindowOnBreak': {
|
|
589
591
|
type: 'boolean',
|
|
590
592
|
description: ( localize(
|
|
591
|
-
|
|
593
|
+
6640,
|
|
592
594
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
593
595
|
)),
|
|
594
596
|
default: true
|
|
@@ -596,16 +598,16 @@ configurationRegistry.registerConfiguration({
|
|
|
596
598
|
'debug.focusEditorOnBreak': {
|
|
597
599
|
type: 'boolean',
|
|
598
600
|
description: ( localize(
|
|
599
|
-
|
|
601
|
+
6641,
|
|
600
602
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
601
603
|
)),
|
|
602
604
|
default: true
|
|
603
605
|
},
|
|
604
606
|
'debug.onTaskErrors': {
|
|
605
607
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
606
|
-
enumDescriptions: [( localize(
|
|
608
|
+
enumDescriptions: [( localize(6642, "Ignore task errors and start debugging.")), ( localize(6643, "Show the Problems view and do not start debugging.")), ( localize(6644, "Prompt user.")), ( localize(6645, "Cancel debugging."))],
|
|
607
609
|
description: ( localize(
|
|
608
|
-
|
|
610
|
+
6646,
|
|
609
611
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
610
612
|
)),
|
|
611
613
|
default: 'prompt'
|
|
@@ -613,7 +615,7 @@ configurationRegistry.registerConfiguration({
|
|
|
613
615
|
'debug.showBreakpointsInOverviewRuler': {
|
|
614
616
|
type: 'boolean',
|
|
615
617
|
description: ( localize(
|
|
616
|
-
|
|
618
|
+
6647,
|
|
617
619
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
618
620
|
)),
|
|
619
621
|
default: false
|
|
@@ -621,45 +623,45 @@ configurationRegistry.registerConfiguration({
|
|
|
621
623
|
'debug.showInlineBreakpointCandidates': {
|
|
622
624
|
type: 'boolean',
|
|
623
625
|
description: ( localize(
|
|
624
|
-
|
|
626
|
+
6648,
|
|
625
627
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
626
628
|
)),
|
|
627
629
|
default: true
|
|
628
630
|
},
|
|
629
631
|
'debug.saveBeforeStart': {
|
|
630
|
-
description: ( localize(
|
|
632
|
+
description: ( localize(6649, "Controls what editors to save before starting a debug session.")),
|
|
631
633
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
632
634
|
enumDescriptions: [
|
|
633
635
|
( localize(
|
|
634
|
-
|
|
636
|
+
6650,
|
|
635
637
|
"Save all editors in the active group before starting a debug session."
|
|
636
638
|
)),
|
|
637
639
|
( localize(
|
|
638
|
-
|
|
640
|
+
6651,
|
|
639
641
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
640
642
|
)),
|
|
641
|
-
( localize(
|
|
643
|
+
( localize(6652, "Don't save any editors before starting a debug session.")),
|
|
642
644
|
],
|
|
643
645
|
default: 'allEditorsInActiveGroup',
|
|
644
646
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
645
647
|
},
|
|
646
648
|
'debug.confirmOnExit': {
|
|
647
649
|
description: ( localize(
|
|
648
|
-
|
|
650
|
+
6653,
|
|
649
651
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
650
652
|
)),
|
|
651
653
|
type: 'string',
|
|
652
654
|
enum: ['never', 'always'],
|
|
653
655
|
enumDescriptions: [
|
|
654
|
-
( localize(
|
|
655
|
-
( localize(
|
|
656
|
+
( localize(6654, "Never confirm.")),
|
|
657
|
+
( localize(6655, "Always confirm if there are debug sessions.")),
|
|
656
658
|
],
|
|
657
659
|
default: 'never'
|
|
658
660
|
},
|
|
659
661
|
'debug.disassemblyView.showSourceCode': {
|
|
660
662
|
type: 'boolean',
|
|
661
663
|
default: true,
|
|
662
|
-
description: ( localize(
|
|
664
|
+
description: ( localize(6656, "Show Source Code in Disassembly View."))
|
|
663
665
|
},
|
|
664
666
|
'debug.autoExpandLazyVariables': {
|
|
665
667
|
type: 'string',
|
|
@@ -667,26 +669,26 @@ configurationRegistry.registerConfiguration({
|
|
|
667
669
|
default: 'auto',
|
|
668
670
|
enumDescriptions: [
|
|
669
671
|
( localize(
|
|
670
|
-
|
|
672
|
+
6657,
|
|
671
673
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
672
674
|
)),
|
|
673
|
-
( localize(
|
|
674
|
-
( localize(
|
|
675
|
+
( localize(6658, "Always automatically expand lazy variables.")),
|
|
676
|
+
( localize(6659, "Never automatically expand lazy variables."))
|
|
675
677
|
],
|
|
676
678
|
description: ( localize(
|
|
677
|
-
|
|
679
|
+
6660,
|
|
678
680
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
679
681
|
))
|
|
680
682
|
},
|
|
681
683
|
'debug.enableStatusBarColor': {
|
|
682
684
|
type: 'boolean',
|
|
683
|
-
description: ( localize(
|
|
685
|
+
description: ( localize(6661, "Color of the status bar when the debugger is active.")),
|
|
684
686
|
default: true
|
|
685
687
|
},
|
|
686
688
|
'debug.hideLauncherWhileDebugging': {
|
|
687
689
|
type: 'boolean',
|
|
688
690
|
markdownDescription: ( localize(
|
|
689
|
-
|
|
691
|
+
6662,
|
|
690
692
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
691
693
|
'`#debug.toolBarLocation#`'
|
|
692
694
|
)),
|
|
@@ -695,7 +697,7 @@ configurationRegistry.registerConfiguration({
|
|
|
695
697
|
'debug.hideSlowPreLaunchWarning': {
|
|
696
698
|
type: 'boolean',
|
|
697
699
|
markdownDescription: ( localize(
|
|
698
|
-
|
|
700
|
+
6663,
|
|
699
701
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
700
702
|
)),
|
|
701
703
|
default: false
|