@codingame/monaco-vscode-debug-service-override 1.83.2 → 1.83.3
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 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +90 -68
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +5 -26
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +61 -104
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +3 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +29 -51
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +190 -203
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +11 -31
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +32 -32
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +21 -48
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +11 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +28 -80
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +56 -68
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -50
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +31 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +9 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +12 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +13 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +6 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +9 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +15 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +5 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +10 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +10 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +61 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +6 -9
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -12
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +21 -13
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +41 -143
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -36
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +11 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -49
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isMacintosh } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
1
|
+
import { isWeb, isMacintosh } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
2
2
|
import './media/debug.contribution.css.js';
|
|
3
3
|
import './media/debugHover.css.js';
|
|
4
4
|
import { registerEditorContribution } from 'monaco-editor/esm/vs/editor/browser/editorExtensions.js';
|
|
@@ -19,7 +19,7 @@ import { BreakpointsView } from './breakpointsView.js';
|
|
|
19
19
|
import { CallStackEditorContribution } from './callStackEditorContribution.js';
|
|
20
20
|
import { CallStackView } from './callStackView.js';
|
|
21
21
|
import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
22
|
-
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, TERMINATE_THREAD_ID, STEP_OVER_LABEL, STEP_OVER_ID, STEP_INTO_LABEL, STEP_INTO_ID, STEP_INTO_TARGET_LABEL, STEP_INTO_TARGET_ID, STEP_OUT_LABEL, STEP_OUT_ID, PAUSE_LABEL, PAUSE_ID, STOP_LABEL, STOP_ID, CONTINUE_LABEL, CONTINUE_ID, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, SELECT_AND_START_LABEL, CALLSTACK_TOP_LABEL, CALLSTACK_TOP_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_UP_LABEL, CALLSTACK_UP_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_DOWN_ID, RESTART_LABEL, RESTART_SESSION_ID, DISCONNECT_LABEL, DISCONNECT_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, DEBUG_COMMAND_CATEGORY, NEXT_DEBUG_CONSOLE_LABEL, NEXT_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, OPEN_LOADED_SCRIPTS_LABEL, SHOW_LOADED_SCRIPTS_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_LABEL, SELECT_DEBUG_SESSION_ID } from './debugCommands.js';
|
|
22
|
+
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, TERMINATE_THREAD_ID, STEP_OVER_LABEL, STEP_OVER_ID, STEP_INTO_LABEL, STEP_INTO_ID, STEP_INTO_TARGET_LABEL, STEP_INTO_TARGET_ID, STEP_OUT_LABEL, STEP_OUT_ID, PAUSE_LABEL, PAUSE_ID, STOP_LABEL, STOP_ID, CONTINUE_LABEL, CONTINUE_ID, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, SELECT_AND_START_LABEL, CALLSTACK_TOP_LABEL, CALLSTACK_TOP_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_UP_LABEL, CALLSTACK_UP_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_DOWN_ID, RESTART_LABEL, RESTART_SESSION_ID, DISCONNECT_LABEL, DISCONNECT_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, DEBUG_START_COMMAND_ID, DEBUG_RUN_COMMAND_ID, ADD_CONFIGURATION_ID, DEBUG_COMMAND_CATEGORY, NEXT_DEBUG_CONSOLE_LABEL, NEXT_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, OPEN_LOADED_SCRIPTS_LABEL, SHOW_LOADED_SCRIPTS_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_LABEL, SELECT_DEBUG_SESSION_ID } from './debugCommands.js';
|
|
23
23
|
import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
|
|
24
24
|
import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
|
|
25
25
|
import { DebugEditorContribution } from './debugEditorContribution.js';
|
|
@@ -27,6 +27,7 @@ import { debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchVi
|
|
|
27
27
|
import { DebugProgressContribution } from './debugProgress.js';
|
|
28
28
|
import { StartDebugQuickAccessProvider } from './debugQuickAccess.js';
|
|
29
29
|
import { DebugStatusContribution } from './debugStatus.js';
|
|
30
|
+
import { DebugTitleContribution } from './debugTitle.js';
|
|
30
31
|
import { DebugToolBar } from './debugToolBar.js';
|
|
31
32
|
import { DebugViewPaneContainer } from './debugViewlet.js';
|
|
32
33
|
import { DisassemblyViewContribution, DisassemblyView } from './disassemblyView.js';
|
|
@@ -41,10 +42,13 @@ import { DebugLifecycle } from '../common/debugLifecycle.js';
|
|
|
41
42
|
import { DisassemblyViewInput } from '../common/disassemblyViewInput.js';
|
|
42
43
|
import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
|
|
43
44
|
|
|
44
|
-
const debugCategory =
|
|
45
|
+
const debugCategory = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debugCategory', "Debug");
|
|
45
46
|
registerColors();
|
|
46
47
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, 4 );
|
|
47
48
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, 4 );
|
|
49
|
+
if (isWeb) {
|
|
50
|
+
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugTitleContribution, 4 );
|
|
51
|
+
}
|
|
48
52
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugToolBar, 3 );
|
|
49
53
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugContentProvider, 4 );
|
|
50
54
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(StatusBarColorProvider, 4 );
|
|
@@ -54,9 +58,9 @@ registerColors();
|
|
|
54
58
|
ctor: StartDebugQuickAccessProvider,
|
|
55
59
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
56
60
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
57
|
-
placeholder:
|
|
61
|
+
placeholder: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'startDebugPlaceholder', "Type the name of a launch configuration to run."),
|
|
58
62
|
helpEntries: [{
|
|
59
|
-
description:
|
|
63
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'startDebuggingHelp', "Start Debugging"),
|
|
60
64
|
commandId: SELECT_AND_START_ID,
|
|
61
65
|
commandCenterOrder: 50
|
|
62
66
|
}]
|
|
@@ -65,8 +69,8 @@ registerColors();
|
|
|
65
69
|
ctor: DebugConsoleQuickAccess,
|
|
66
70
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
67
71
|
contextKey: 'inDebugConsolePicker',
|
|
68
|
-
placeholder:
|
|
69
|
-
helpEntries: [{ description:
|
|
72
|
+
placeholder: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'tasksQuickAccessPlaceholder', "Type the name of a debug console to open."),
|
|
73
|
+
helpEntries: [{ description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'tasksQuickAccessHelp', "Show All Debug Consoles"), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
70
74
|
});
|
|
71
75
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, 1 );
|
|
72
76
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, 1 );
|
|
@@ -83,7 +87,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
83
87
|
}
|
|
84
88
|
});
|
|
85
89
|
};
|
|
86
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, { value:
|
|
90
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'terminateThread', "Terminate Thread"), original: 'Terminate Thread' }, CONTEXT_IN_DEBUG_MODE);
|
|
87
91
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
88
92
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
89
93
|
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')))));
|
|
@@ -91,16 +95,13 @@ registerDebugCommandPaletteItem(STEP_OUT_ID, STEP_OUT_LABEL, CONTEXT_IN_DEBUG_MO
|
|
|
91
95
|
registerDebugCommandPaletteItem(PAUSE_ID, PAUSE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('running')));
|
|
92
96
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
93
97
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
94
|
-
registerDebugCommandPaletteItem(FOCUS_REPL_ID, { value: (
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
)), original: 'Focus on Debug Console View' });
|
|
98
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, { value: ( nls.localize('jumpToCursor', "Jump to Cursor")), original: 'Jump to Cursor' }, CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
99
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, { value: ( nls.localize('SetNextStatement', "Set Next Statement")), original: 'Set Next Statement' }, CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
98
|
+
registerDebugCommandPaletteItem(FOCUS_REPL_ID, { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugFocusConsole' }, "Focus on Debug Console View"), original: 'Focus on Debug Console View' });
|
|
99
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'jumpToCursor', "Jump to Cursor"), original: 'Jump to Cursor' }, CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
100
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'SetNextStatement', "Set Next Statement"), original: 'Set Next Statement' }, CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
100
101
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, { value: RunToCursorAction.LABEL, original: 'Run to Cursor' }, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
101
102
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, { value: SelectionToReplAction.LABEL, original: 'Evaluate in Debug Console' }, CONTEXT_IN_DEBUG_MODE);
|
|
102
103
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, { value: SelectionToWatchExpressionsAction.LABEL, original: 'Add to Watch' });
|
|
103
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, { value:
|
|
104
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'inlineBreakpoint', "Inline Breakpoint"), original: 'Inline Breakpoint' });
|
|
104
105
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
|
|
105
106
|
registerDebugCommandPaletteItem(NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL);
|
|
106
107
|
registerDebugCommandPaletteItem(PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL);
|
|
@@ -134,52 +135,148 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
134
135
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
135
136
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
136
137
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
137
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID,
|
|
138
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID,
|
|
139
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID,
|
|
140
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID,
|
|
141
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID,
|
|
142
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID,
|
|
143
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID,
|
|
144
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID,
|
|
145
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID,
|
|
146
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID,
|
|
147
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID,
|
|
138
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'terminateThread', "Terminate Thread"), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), undefined, 'termination');
|
|
139
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'restartFrame', "Restart Frame"), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
140
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'copyStackTrace', "Copy Call Stack"), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
141
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'viewMemory', "View Binary Data"), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
142
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'setValue', "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');
|
|
143
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'copyValue', "Copy Value"), 10, undefined, undefined, '5_cutcopypaste');
|
|
144
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'copyAsExpression', "Copy as Expression"), 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
145
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'addToWatchExpressions', "Add to Watch"), 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
146
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'breakWhenValueIsRead', "Break on Value Read"), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
147
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'breakWhenValueChanges', "Break on Value Change"), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
148
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'breakWhenValueIsAccessed', "Break on Value Access"), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
148
149
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
149
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID,
|
|
150
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID,
|
|
151
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID,
|
|
152
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID,
|
|
153
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID,
|
|
150
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'editWatchExpression', "Edit Expression"), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
151
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'setValue', "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');
|
|
152
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'copyValue', "Copy Value"), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
153
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'viewMemory', "View Binary Data"), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
154
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'removeWatchExpression', "Remove Expression"), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
154
155
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
155
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: { value:
|
|
156
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'run', "Run or Debug..."), original: 'Run or Debug...', }, icon: debugRun, group: 'navigation', order: -1 });
|
|
156
157
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
157
158
|
submenu: MenuId.MenubarDebugMenu,
|
|
158
159
|
title: {
|
|
159
160
|
value: 'Run',
|
|
160
161
|
original: 'Run',
|
|
161
|
-
mnemonicTitle:
|
|
162
|
+
mnemonicTitle: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'mRun', comment: ['&& denotes a mnemonic'] }, "&&Run")
|
|
162
163
|
},
|
|
163
164
|
order: 6
|
|
164
165
|
});
|
|
166
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
167
|
+
group: '1_debug',
|
|
168
|
+
command: {
|
|
169
|
+
id: DEBUG_START_COMMAND_ID,
|
|
170
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStartDebugging', comment: ['&& denotes a mnemonic'] }, "&&Start Debugging")
|
|
171
|
+
},
|
|
172
|
+
order: 1,
|
|
173
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
174
|
+
}));
|
|
175
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
176
|
+
group: '1_debug',
|
|
177
|
+
command: {
|
|
178
|
+
id: DEBUG_RUN_COMMAND_ID,
|
|
179
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miRun', comment: ['&& denotes a mnemonic'] }, "Run &&Without Debugging")
|
|
180
|
+
},
|
|
181
|
+
order: 2,
|
|
182
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
183
|
+
}));
|
|
184
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
185
|
+
group: '1_debug',
|
|
186
|
+
command: {
|
|
187
|
+
id: STOP_ID,
|
|
188
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStopDebugging', comment: ['&& denotes a mnemonic'] }, "&&Stop Debugging"),
|
|
189
|
+
precondition: CONTEXT_IN_DEBUG_MODE
|
|
190
|
+
},
|
|
191
|
+
order: 3,
|
|
192
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
193
|
+
}));
|
|
194
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
195
|
+
group: '1_debug',
|
|
196
|
+
command: {
|
|
197
|
+
id: RESTART_SESSION_ID,
|
|
198
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miRestart Debugging', comment: ['&& denotes a mnemonic'] }, "&&Restart Debugging"),
|
|
199
|
+
precondition: CONTEXT_IN_DEBUG_MODE
|
|
200
|
+
},
|
|
201
|
+
order: 4,
|
|
202
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
203
|
+
}));
|
|
204
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
205
|
+
group: '2_configuration',
|
|
206
|
+
command: {
|
|
207
|
+
id: ADD_CONFIGURATION_ID,
|
|
208
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miAddConfiguration', comment: ['&& denotes a mnemonic'] }, "A&&dd Configuration...")
|
|
209
|
+
},
|
|
210
|
+
order: 2,
|
|
211
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
212
|
+
}));
|
|
213
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
214
|
+
group: '3_step',
|
|
215
|
+
command: {
|
|
216
|
+
id: STEP_OVER_ID,
|
|
217
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStepOver', comment: ['&& denotes a mnemonic'] }, "Step &&Over"),
|
|
218
|
+
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
219
|
+
},
|
|
220
|
+
order: 1,
|
|
221
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
222
|
+
}));
|
|
223
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
224
|
+
group: '3_step',
|
|
225
|
+
command: {
|
|
226
|
+
id: STEP_INTO_ID,
|
|
227
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStepInto', comment: ['&& denotes a mnemonic'] }, "Step &&Into"),
|
|
228
|
+
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
229
|
+
},
|
|
230
|
+
order: 2,
|
|
231
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
232
|
+
}));
|
|
233
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
234
|
+
group: '3_step',
|
|
235
|
+
command: {
|
|
236
|
+
id: STEP_OUT_ID,
|
|
237
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miStepOut', comment: ['&& denotes a mnemonic'] }, "Step O&&ut"),
|
|
238
|
+
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
239
|
+
},
|
|
240
|
+
order: 3,
|
|
241
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
242
|
+
}));
|
|
243
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
244
|
+
group: '3_step',
|
|
245
|
+
command: {
|
|
246
|
+
id: CONTINUE_ID,
|
|
247
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miContinue', comment: ['&& denotes a mnemonic'] }, "&&Continue"),
|
|
248
|
+
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
249
|
+
},
|
|
250
|
+
order: 4,
|
|
251
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
252
|
+
}));
|
|
165
253
|
MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
166
254
|
group: '1_breakpoints',
|
|
167
255
|
command: {
|
|
168
256
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
169
|
-
title:
|
|
170
|
-
{ key: 'miInlineBreakpoint', comment: ['&& denotes a mnemonic'] },
|
|
171
|
-
"Inline Breakp&&oint"
|
|
172
|
-
))
|
|
257
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miInlineBreakpoint', comment: ['&& denotes a mnemonic'] }, "Inline Breakp&&oint")
|
|
173
258
|
},
|
|
174
259
|
order: 2,
|
|
175
260
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
176
261
|
});
|
|
262
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
263
|
+
group: '4_new_breakpoint',
|
|
264
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miNewBreakpoint', comment: ['&& denotes a mnemonic'] }, "&&New Breakpoint"),
|
|
265
|
+
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
266
|
+
order: 2,
|
|
267
|
+
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
268
|
+
}));
|
|
269
|
+
( MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
270
|
+
group: 'z_install',
|
|
271
|
+
command: {
|
|
272
|
+
id: 'debug.installAdditionalDebuggers',
|
|
273
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miInstallAdditionalDebuggers', comment: ['&& denotes a mnemonic'] }, "&&Install Additional Debuggers...")
|
|
274
|
+
},
|
|
275
|
+
order: 1
|
|
276
|
+
}));
|
|
177
277
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
178
278
|
id: DEBUG_PANEL_ID,
|
|
179
|
-
title: { value: (
|
|
180
|
-
{ comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
|
|
181
|
-
"Debug Console"
|
|
182
|
-
)), original: 'Debug Console' },
|
|
279
|
+
title: { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' }, "Debug Console"), original: 'Debug Console' },
|
|
183
280
|
icon: debugConsoleViewIcon,
|
|
184
281
|
ctorDescriptor: ( new SyncDescriptor(
|
|
185
282
|
ViewPaneContainer,
|
|
@@ -191,10 +288,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
191
288
|
}, 1 , { doNotRegisterOpenCommand: true });
|
|
192
289
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
193
290
|
id: REPL_VIEW_ID,
|
|
194
|
-
name: (
|
|
195
|
-
{ comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
|
|
196
|
-
"Debug Console"
|
|
197
|
-
)),
|
|
291
|
+
name: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' }, "Debug Console"),
|
|
198
292
|
containerIcon: debugConsoleViewIcon,
|
|
199
293
|
canToggleVisibility: false,
|
|
200
294
|
canMoveView: true,
|
|
@@ -202,20 +296,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
202
296
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
203
297
|
openCommandActionDescriptor: {
|
|
204
298
|
id: 'workbench.debug.action.toggleRepl',
|
|
205
|
-
mnemonicTitle:
|
|
206
|
-
{ key: 'miToggleDebugConsole', comment: ['&& denotes a mnemonic'] },
|
|
207
|
-
"De&&bug Console"
|
|
208
|
-
)),
|
|
299
|
+
mnemonicTitle: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miToggleDebugConsole', comment: ['&& denotes a mnemonic'] }, "De&&bug Console"),
|
|
209
300
|
keybindings: { primary: 2048 | 1024 | 55 },
|
|
210
301
|
order: 2
|
|
211
302
|
}
|
|
212
303
|
}], VIEW_CONTAINER);
|
|
213
304
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
214
305
|
id: VIEWLET_ID,
|
|
215
|
-
title: { value:
|
|
306
|
+
title: { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'run and debug', "Run and Debug"), original: 'Run and Debug' },
|
|
216
307
|
openCommandActionDescriptor: {
|
|
217
308
|
id: VIEWLET_ID,
|
|
218
|
-
mnemonicTitle:
|
|
309
|
+
mnemonicTitle: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { key: 'miViewRun', comment: ['&& denotes a mnemonic'] }, "&&Run"),
|
|
219
310
|
keybindings: { primary: 2048 | 1024 | 34 },
|
|
220
311
|
order: 3
|
|
221
312
|
},
|
|
@@ -225,283 +316,179 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
225
316
|
order: 3,
|
|
226
317
|
}, 0 );
|
|
227
318
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
228
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name:
|
|
229
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name:
|
|
230
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name:
|
|
231
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name:
|
|
232
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name:
|
|
233
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID,
|
|
319
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'variables', "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);
|
|
320
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'watch', "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);
|
|
321
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'callStack', "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);
|
|
322
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'breakpoints', "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);
|
|
323
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'loadedScripts', "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);
|
|
324
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'disassembly', "Disassembly")), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
234
325
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
235
326
|
configurationRegistry.registerConfiguration({
|
|
236
327
|
id: 'debug',
|
|
237
328
|
order: 20,
|
|
238
|
-
title:
|
|
329
|
+
title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debugConfigurationTitle', "Debug"),
|
|
239
330
|
type: 'object',
|
|
240
331
|
properties: {
|
|
241
332
|
'debug.allowBreakpointsEverywhere': {
|
|
242
333
|
type: 'boolean',
|
|
243
|
-
description: (
|
|
244
|
-
{ comment: ['This is the description for a setting'], key: 'allowBreakpointsEverywhere' },
|
|
245
|
-
"Allow setting breakpoints in any file."
|
|
246
|
-
)),
|
|
334
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'allowBreakpointsEverywhere' }, "Allow setting breakpoints in any file."),
|
|
247
335
|
default: false
|
|
248
336
|
},
|
|
249
337
|
'debug.openExplorerOnEnd': {
|
|
250
338
|
type: 'boolean',
|
|
251
|
-
description: (
|
|
252
|
-
{ comment: ['This is the description for a setting'], key: 'openExplorerOnEnd' },
|
|
253
|
-
"Automatically open the explorer view at the end of a debug session."
|
|
254
|
-
)),
|
|
339
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'openExplorerOnEnd' }, "Automatically open the explorer view at the end of a debug session."),
|
|
255
340
|
default: false
|
|
256
341
|
},
|
|
257
342
|
'debug.inlineValues': {
|
|
258
343
|
type: 'string',
|
|
259
344
|
'enum': ['on', 'off', 'auto'],
|
|
260
|
-
description: (
|
|
261
|
-
{ comment: ['This is the description for a setting'], key: 'inlineValues' },
|
|
262
|
-
"Show variable values inline in editor while debugging."
|
|
263
|
-
)),
|
|
345
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'inlineValues' }, "Show variable values inline in editor while debugging."),
|
|
264
346
|
'enumDescriptions': [
|
|
265
|
-
(
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
)),
|
|
269
|
-
( nls.localize(
|
|
270
|
-
'inlineValues.off',
|
|
271
|
-
"Never show variable values inline in editor while debugging."
|
|
272
|
-
)),
|
|
273
|
-
( nls.localize(
|
|
274
|
-
'inlineValues.focusNoScroll',
|
|
275
|
-
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
276
|
-
)),
|
|
347
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'inlineValues.on', "Always show variable values inline in editor while debugging."),
|
|
348
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'inlineValues.off', "Never show variable values inline in editor while debugging."),
|
|
349
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'inlineValues.focusNoScroll', "Show variable values inline in editor while debugging when the language supports inline value locations."),
|
|
277
350
|
],
|
|
278
351
|
default: 'auto'
|
|
279
352
|
},
|
|
280
353
|
'debug.toolBarLocation': {
|
|
281
354
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
282
|
-
markdownDescription: (
|
|
283
|
-
{ comment: ['This is the description for a setting'], key: 'toolBarLocation' },
|
|
284
|
-
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires `{0}`), or `hidden`.",
|
|
285
|
-
'#window.commandCenter#',
|
|
286
|
-
'#window.titleBarStyle#'
|
|
287
|
-
)),
|
|
355
|
+
markdownDescription: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'toolBarLocation' }, "Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires `{0}`), or `hidden`.", '#window.commandCenter#', '#window.titleBarStyle#'),
|
|
288
356
|
default: 'floating',
|
|
289
357
|
markdownEnumDescriptions: [
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
(
|
|
293
|
-
|
|
294
|
-
"`(Experimental)` Show debug toolbar in the command center."
|
|
295
|
-
)),
|
|
296
|
-
( nls.localize('debugToolBar.hidden', "Do not show debug toolbar.")),
|
|
358
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debugToolBar.floating', "Show debug toolbar in all views."),
|
|
359
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debugToolBar.docked', "Show debug toolbar only in debug views."),
|
|
360
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debugToolBar.commandCenter', "`(Experimental)` Show debug toolbar in the command center."),
|
|
361
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debugToolBar.hidden', "Do not show debug toolbar."),
|
|
297
362
|
]
|
|
298
363
|
},
|
|
299
364
|
'debug.showInStatusBar': {
|
|
300
365
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
301
|
-
enumDescriptions: [
|
|
302
|
-
|
|
303
|
-
"Show debug in Status bar only after debug was started for the first time"
|
|
304
|
-
))],
|
|
305
|
-
description: ( nls.localize(
|
|
306
|
-
{ comment: ['This is the description for a setting'], key: 'showInStatusBar' },
|
|
307
|
-
"Controls when the debug Status bar should be visible."
|
|
308
|
-
)),
|
|
366
|
+
enumDescriptions: [nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'never', "Never show debug in Status bar"), nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'always', "Always show debug in Status bar"), nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'onFirstSessionStart', "Show debug in Status bar only after debug was started for the first time")],
|
|
367
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'showInStatusBar' }, "Controls when the debug Status bar should be visible."),
|
|
309
368
|
default: 'onFirstSessionStart'
|
|
310
369
|
},
|
|
311
370
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
312
371
|
'debug.console.closeOnEnd': {
|
|
313
372
|
type: 'boolean',
|
|
314
|
-
description: (
|
|
315
|
-
'debug.console.closeOnEnd',
|
|
316
|
-
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
317
|
-
)),
|
|
373
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.closeOnEnd', "Controls if the Debug Console should be automatically closed when the debug session ends."),
|
|
318
374
|
default: false
|
|
319
375
|
},
|
|
320
376
|
'debug.terminal.clearBeforeReusing': {
|
|
321
377
|
type: 'boolean',
|
|
322
|
-
description: (
|
|
323
|
-
{ comment: ['This is the description for a setting'], key: 'debug.terminal.clearBeforeReusing' },
|
|
324
|
-
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
325
|
-
)),
|
|
378
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'debug.terminal.clearBeforeReusing' }, "Before starting a new debug session in an integrated or external terminal, clear the terminal."),
|
|
326
379
|
default: false
|
|
327
380
|
},
|
|
328
381
|
'debug.openDebug': {
|
|
329
382
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
330
383
|
default: 'openOnDebugBreak',
|
|
331
|
-
description:
|
|
384
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'openDebug', "Controls when the debug view should open.")
|
|
332
385
|
},
|
|
333
386
|
'debug.showSubSessionsInToolBar': {
|
|
334
387
|
type: 'boolean',
|
|
335
|
-
description: (
|
|
336
|
-
{ comment: ['This is the description for a setting'], key: 'showSubSessionsInToolBar' },
|
|
337
|
-
"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."
|
|
338
|
-
)),
|
|
388
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'showSubSessionsInToolBar' }, "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."),
|
|
339
389
|
default: false
|
|
340
390
|
},
|
|
341
391
|
'debug.console.fontSize': {
|
|
342
392
|
type: 'number',
|
|
343
|
-
description: (
|
|
344
|
-
'debug.console.fontSize',
|
|
345
|
-
"Controls the font size in pixels in the Debug Console."
|
|
346
|
-
)),
|
|
393
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.fontSize', "Controls the font size in pixels in the Debug Console."),
|
|
347
394
|
default: isMacintosh ? 12 : 14,
|
|
348
395
|
},
|
|
349
396
|
'debug.console.fontFamily': {
|
|
350
397
|
type: 'string',
|
|
351
|
-
description: (
|
|
352
|
-
'debug.console.fontFamily',
|
|
353
|
-
"Controls the font family in the Debug Console."
|
|
354
|
-
)),
|
|
398
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.fontFamily', "Controls the font family in the Debug Console."),
|
|
355
399
|
default: 'default'
|
|
356
400
|
},
|
|
357
401
|
'debug.console.lineHeight': {
|
|
358
402
|
type: 'number',
|
|
359
|
-
description: (
|
|
360
|
-
'debug.console.lineHeight',
|
|
361
|
-
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
362
|
-
)),
|
|
403
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.lineHeight', "Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."),
|
|
363
404
|
default: 0
|
|
364
405
|
},
|
|
365
406
|
'debug.console.wordWrap': {
|
|
366
407
|
type: 'boolean',
|
|
367
|
-
description: (
|
|
368
|
-
'debug.console.wordWrap',
|
|
369
|
-
"Controls if the lines should wrap in the Debug Console."
|
|
370
|
-
)),
|
|
408
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.wordWrap', "Controls if the lines should wrap in the Debug Console."),
|
|
371
409
|
default: true
|
|
372
410
|
},
|
|
373
411
|
'debug.console.historySuggestions': {
|
|
374
412
|
type: 'boolean',
|
|
375
|
-
description: (
|
|
376
|
-
'debug.console.historySuggestions',
|
|
377
|
-
"Controls if the Debug Console should suggest previously typed input."
|
|
378
|
-
)),
|
|
413
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.historySuggestions', "Controls if the Debug Console should suggest previously typed input."),
|
|
379
414
|
default: true
|
|
380
415
|
},
|
|
381
416
|
'debug.console.collapseIdenticalLines': {
|
|
382
417
|
type: 'boolean',
|
|
383
|
-
description: (
|
|
384
|
-
'debug.console.collapseIdenticalLines',
|
|
385
|
-
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
386
|
-
)),
|
|
418
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.collapseIdenticalLines', "Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."),
|
|
387
419
|
default: true
|
|
388
420
|
},
|
|
389
421
|
'debug.console.acceptSuggestionOnEnter': {
|
|
390
422
|
enum: ['off', 'on'],
|
|
391
|
-
description: (
|
|
392
|
-
'debug.console.acceptSuggestionOnEnter',
|
|
393
|
-
"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."
|
|
394
|
-
)),
|
|
423
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.console.acceptSuggestionOnEnter', "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."),
|
|
395
424
|
default: 'off'
|
|
396
425
|
},
|
|
397
426
|
'launch': {
|
|
398
427
|
type: 'object',
|
|
399
|
-
description: (
|
|
400
|
-
{ comment: ['This is the description for a setting'], key: 'launch' },
|
|
401
|
-
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
402
|
-
)),
|
|
428
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'launch' }, "Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."),
|
|
403
429
|
default: { configurations: [], compounds: [] },
|
|
404
430
|
$ref: launchSchemaId
|
|
405
431
|
},
|
|
406
432
|
'debug.focusWindowOnBreak': {
|
|
407
433
|
type: 'boolean',
|
|
408
|
-
description: (
|
|
409
|
-
'debug.focusWindowOnBreak',
|
|
410
|
-
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
411
|
-
)),
|
|
434
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.focusWindowOnBreak', "Controls whether the workbench window should be focused when the debugger breaks."),
|
|
412
435
|
default: true
|
|
413
436
|
},
|
|
414
437
|
'debug.focusEditorOnBreak': {
|
|
415
438
|
type: 'boolean',
|
|
416
|
-
description: (
|
|
417
|
-
'debug.focusEditorOnBreak',
|
|
418
|
-
"Controls whether the editor should be focused when the debugger breaks."
|
|
419
|
-
)),
|
|
439
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.focusEditorOnBreak', "Controls whether the editor should be focused when the debugger breaks."),
|
|
420
440
|
default: true
|
|
421
441
|
},
|
|
422
442
|
'debug.onTaskErrors': {
|
|
423
443
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
424
|
-
enumDescriptions: [
|
|
425
|
-
description: (
|
|
426
|
-
'debug.onTaskErrors',
|
|
427
|
-
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
428
|
-
)),
|
|
444
|
+
enumDescriptions: [nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debugAnyway', "Ignore task errors and start debugging."), nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'showErrors', "Show the Problems view and do not start debugging."), nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'prompt', "Prompt user."), nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'cancel', "Cancel debugging.")],
|
|
445
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.onTaskErrors', "Controls what to do when errors are encountered after running a preLaunchTask."),
|
|
429
446
|
default: 'prompt'
|
|
430
447
|
},
|
|
431
448
|
'debug.showBreakpointsInOverviewRuler': {
|
|
432
449
|
type: 'boolean',
|
|
433
|
-
description: (
|
|
434
|
-
{ comment: ['This is the description for a setting'], key: 'showBreakpointsInOverviewRuler' },
|
|
435
|
-
"Controls whether breakpoints should be shown in the overview ruler."
|
|
436
|
-
)),
|
|
450
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'showBreakpointsInOverviewRuler' }, "Controls whether breakpoints should be shown in the overview ruler."),
|
|
437
451
|
default: false
|
|
438
452
|
},
|
|
439
453
|
'debug.showInlineBreakpointCandidates': {
|
|
440
454
|
type: 'boolean',
|
|
441
|
-
description: (
|
|
442
|
-
{ comment: ['This is the description for a setting'], key: 'showInlineBreakpointCandidates' },
|
|
443
|
-
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
444
|
-
)),
|
|
455
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', { comment: ['This is the description for a setting'], key: 'showInlineBreakpointCandidates' }, "Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."),
|
|
445
456
|
default: true
|
|
446
457
|
},
|
|
447
458
|
'debug.saveBeforeStart': {
|
|
448
|
-
description: (
|
|
449
|
-
'debug.saveBeforeStart',
|
|
450
|
-
"Controls what editors to save before starting a debug session."
|
|
451
|
-
)),
|
|
459
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.saveBeforeStart', "Controls what editors to save before starting a debug session."),
|
|
452
460
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
453
461
|
enumDescriptions: [
|
|
454
|
-
(
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
)),
|
|
458
|
-
( nls.localize(
|
|
459
|
-
'debug.saveBeforeStart.nonUntitledEditorsInActiveGroup',
|
|
460
|
-
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
461
|
-
)),
|
|
462
|
-
( nls.localize(
|
|
463
|
-
'debug.saveBeforeStart.none',
|
|
464
|
-
"Don't save any editors before starting a debug session."
|
|
465
|
-
)),
|
|
462
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.saveBeforeStart.allEditorsInActiveGroup', "Save all editors in the active group before starting a debug session."),
|
|
463
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.saveBeforeStart.nonUntitledEditorsInActiveGroup', "Save all editors in the active group except untitled ones before starting a debug session."),
|
|
464
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.saveBeforeStart.none', "Don't save any editors before starting a debug session."),
|
|
466
465
|
],
|
|
467
466
|
default: 'allEditorsInActiveGroup',
|
|
468
467
|
scope: 5
|
|
469
468
|
},
|
|
470
469
|
'debug.confirmOnExit': {
|
|
471
|
-
description: (
|
|
472
|
-
'debug.confirmOnExit',
|
|
473
|
-
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
474
|
-
)),
|
|
470
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.confirmOnExit', "Controls whether to confirm when the window closes if there are active debug sessions."),
|
|
475
471
|
type: 'string',
|
|
476
472
|
enum: ['never', 'always'],
|
|
477
473
|
enumDescriptions: [
|
|
478
|
-
|
|
479
|
-
(
|
|
480
|
-
'debug.confirmOnExit.always',
|
|
481
|
-
"Always confirm if there are debug sessions."
|
|
482
|
-
)),
|
|
474
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.confirmOnExit.never', "Never confirm."),
|
|
475
|
+
nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.confirmOnExit.always', "Always confirm if there are debug sessions."),
|
|
483
476
|
],
|
|
484
477
|
default: 'never'
|
|
485
478
|
},
|
|
486
479
|
'debug.disassemblyView.showSourceCode': {
|
|
487
480
|
type: 'boolean',
|
|
488
481
|
default: true,
|
|
489
|
-
description: (
|
|
490
|
-
'debug.disassemblyView.showSourceCode',
|
|
491
|
-
"Show Source Code in Disassembly View."
|
|
492
|
-
))
|
|
482
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.disassemblyView.showSourceCode', "Show Source Code in Disassembly View.")
|
|
493
483
|
},
|
|
494
484
|
'debug.autoExpandLazyVariables': {
|
|
495
485
|
type: 'boolean',
|
|
496
486
|
default: false,
|
|
497
|
-
description: (
|
|
498
|
-
'debug.autoExpandLazyVariables',
|
|
499
|
-
"Automatically show values for variables that are lazily resolved by the debugger, such as getters."
|
|
500
|
-
))
|
|
487
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.autoExpandLazyVariables', "Automatically show values for variables that are lazily resolved by the debugger, such as getters.")
|
|
501
488
|
},
|
|
502
489
|
'debug.enableStatusBarColor': {
|
|
503
490
|
type: 'boolean',
|
|
504
|
-
description:
|
|
491
|
+
description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'debug.enableStatusBarColor', "Color status bar when debugger is active"),
|
|
505
492
|
default: true
|
|
506
493
|
}
|
|
507
494
|
}
|