@codingame/monaco-vscode-debug-service-override 4.5.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +2 -2
  3. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +140 -177
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +260 -531
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +34 -52
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +44 -71
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +116 -120
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +8 -11
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +81 -140
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +73 -76
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +30 -30
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +17 -49
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +143 -135
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +220 -177
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +9 -17
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +70 -111
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +84 -65
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +85 -57
  20. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +50 -75
  21. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +13 -29
  22. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +22 -51
  23. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +52 -78
  24. package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +1 -1
  25. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +60 -76
  27. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +29 -54
  28. package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +4 -1
  29. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +42 -55
  30. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +17 -16
  31. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +84 -110
  32. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +50 -88
  33. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +60 -60
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +14 -28
  35. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +12 -15
  36. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +71 -146
  37. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -0
  38. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +92 -111
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +5 -12
  40. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +42 -22
  41. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1042
  42. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -116
  43. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -87
@@ -20,7 +20,7 @@ import { BreakpointsView } from 'vscode/vscode/vs/workbench/contrib/debug/browse
20
20
  import { CallStackEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
21
21
  import { CallStackView } from './callStackView.js';
22
22
  import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
23
- import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, 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, FOCUS_REPL_ID, 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, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID } from './debugCommands.js';
23
+ import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, 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, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, SELECT_AND_START_LABEL, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, COPY_VALUE_ID, COPY_VALUE_LABEL, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
24
24
  import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
25
25
  import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
26
26
  import { DebugEditorContribution } from './debugEditorContribution.js';
@@ -36,7 +36,7 @@ import { DisassemblyViewContribution, DisassemblyView } from './disassemblyView.
36
36
  import { LoadedScriptsView } from './loadedScriptsView.js';
37
37
  import { Repl } from './repl.js';
38
38
  import { StatusBarColorProvider } from './statusbarColorProvider.js';
39
- import { VIEW_MEMORY_ID, SET_VARIABLE_ID, COPY_VALUE_ID, COPY_EVALUATE_PATH_ID, ADD_TO_WATCH_ID, BREAK_WHEN_VALUE_IS_READ_ID, BREAK_WHEN_VALUE_CHANGES_ID, BREAK_WHEN_VALUE_IS_ACCESSED_ID, VariablesView } from './variablesView.js';
39
+ import { VIEW_MEMORY_ID, SET_VARIABLE_ID, BREAK_WHEN_VALUE_IS_READ_ID, BREAK_WHEN_VALUE_CHANGES_ID, BREAK_WHEN_VALUE_IS_ACCESSED_ID, VariablesView } from './variablesView.js';
40
40
  import { ADD_WATCH_ID, ADD_WATCH_LABEL, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, WatchExpressionsView } from './watchExpressionsView.js';
41
41
  import { WelcomeView } from './welcomeView.js';
42
42
  import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_STATE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, getStateLabel, 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, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, VARIABLES_VIEW_ID, CONTEXT_DEBUG_UX, WATCH_VIEW_ID, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, CONTEXT_LOADED_SCRIPTS_SUPPORTED, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
@@ -48,62 +48,43 @@ import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/c
48
48
  import { COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL } from '../../notebook/browser/contrib/notebookVariables/notebookVariableCommands.js';
49
49
  import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
50
50
 
51
- const debugCategory = ( localizeWithPath(
52
- 'vs/workbench/contrib/debug/browser/debug.contribution',
53
- 'debugCategory',
54
- "Debug"
55
- ));
51
+ const _moduleId = "vs/workbench/contrib/debug/browser/debug.contribution";
52
+ const debugCategory = ( localizeWithPath(_moduleId, 0, "Debug"));
56
53
  registerColors();
57
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, 4 );
58
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, 4 );
54
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugStatusContribution, 4 );
55
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugProgressContribution, 4 );
59
56
  if (isWeb) {
60
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugTitleContribution, 4 );
57
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugTitleContribution, 4 );
61
58
  }
62
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugToolBar, 3 );
63
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugContentProvider, 4 );
64
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(StatusBarColorProvider, 4 );
65
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DisassemblyViewContribution, 4 );
66
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugLifecycle, 4 );
67
- ( Registry.as(Extensions$1.Quickaccess)).registerQuickAccessProvider({
59
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugToolBar, 3 );
60
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugContentProvider, 4 );
61
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(StatusBarColorProvider, 4 );
62
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DisassemblyViewContribution, 4 );
63
+ ( (Registry.as(Extensions.Workbench))).registerWorkbenchContribution(DebugLifecycle, 4 );
64
+ ( (Registry.as(Extensions$1.Quickaccess))).registerQuickAccessProvider({
68
65
  ctor: StartDebugQuickAccessProvider,
69
66
  prefix: DEBUG_QUICK_ACCESS_PREFIX,
70
67
  contextKey: 'inLaunchConfigurationsPicker',
71
- placeholder: ( localizeWithPath(
72
- 'vs/workbench/contrib/debug/browser/debug.contribution',
73
- 'startDebugPlaceholder',
74
- "Type the name of a launch configuration to run."
75
- )),
68
+ placeholder: ( localizeWithPath(_moduleId, 1, "Type the name of a launch configuration to run.")),
76
69
  helpEntries: [{
77
- description: ( localizeWithPath(
78
- 'vs/workbench/contrib/debug/browser/debug.contribution',
79
- 'startDebuggingHelp',
80
- "Start Debugging"
81
- )),
70
+ description: ( localizeWithPath(_moduleId, 2, "Start Debugging")),
82
71
  commandId: SELECT_AND_START_ID,
83
72
  commandCenterOrder: 50
84
73
  }]
85
74
  });
86
- ( Registry.as(Extensions$1.Quickaccess)).registerQuickAccessProvider({
75
+ ( (Registry.as(Extensions$1.Quickaccess))).registerQuickAccessProvider({
87
76
  ctor: DebugConsoleQuickAccess,
88
77
  prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
89
78
  contextKey: 'inDebugConsolePicker',
90
- placeholder: ( localizeWithPath(
91
- 'vs/workbench/contrib/debug/browser/debug.contribution',
92
- 'tasksQuickAccessPlaceholder',
93
- "Type the name of a debug console to open."
94
- )),
95
- helpEntries: [{ description: ( localizeWithPath(
96
- 'vs/workbench/contrib/debug/browser/debug.contribution',
97
- 'tasksQuickAccessHelp',
98
- "Show All Debug Consoles"
99
- )), commandId: SELECT_DEBUG_CONSOLE_ID }]
79
+ placeholder: ( localizeWithPath(_moduleId, 3, "Type the name of a debug console to open.")),
80
+ helpEntries: [{ description: ( localizeWithPath(_moduleId, 4, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
100
81
  });
101
82
  registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, 1 );
102
83
  registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, 1 );
103
84
  registerEditorContribution(EDITOR_CONTRIBUTION_ID, DebugEditorContribution, 2 );
104
85
  const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
105
86
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
106
- when: ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, when)),
87
+ when: ( (ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, when))),
107
88
  group: debugCategory,
108
89
  command: {
109
90
  id,
@@ -114,55 +95,57 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
114
95
  });
115
96
  };
116
97
  registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
117
- registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2WithPath(
118
- 'vs/workbench/contrib/debug/browser/debug.contribution',
119
- 'terminateThread',
120
- "Terminate Thread"
121
- )), CONTEXT_IN_DEBUG_MODE);
122
- registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
123
- registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
124
- 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')))));
125
- registerDebugCommandPaletteItem(STEP_OUT_ID, STEP_OUT_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
126
- registerDebugCommandPaletteItem(PAUSE_ID, PAUSE_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.and(( CONTEXT_DEBUG_STATE.isEqualTo('running')), ( CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated()))));
127
- registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
128
- 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)))));
129
- registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
130
- registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
131
- registerDebugCommandPaletteItem(FOCUS_REPL_ID, ( localize2WithPath(
132
- 'vs/workbench/contrib/debug/browser/debug.contribution',
133
- { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugFocusConsole' },
134
- "Focus on Debug Console View"
135
- )));
136
- registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(
137
- 'vs/workbench/contrib/debug/browser/debug.contribution',
138
- 'jumpToCursor',
139
- "Jump to Cursor"
140
- )), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
141
- registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(
142
- 'vs/workbench/contrib/debug/browser/debug.contribution',
143
- 'SetNextStatement',
144
- "Set Next Statement"
145
- )), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
98
+ registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2WithPath(_moduleId, 5, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE);
99
+ registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
100
+ registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
101
+ registerDebugCommandPaletteItem(STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, CONTEXT_IN_DEBUG_MODE, ( (ContextKeyExpr.and(
102
+ CONTEXT_STEP_INTO_TARGETS_SUPPORTED,
103
+ CONTEXT_IN_DEBUG_MODE,
104
+ (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
105
+ ))));
106
+ registerDebugCommandPaletteItem(STEP_OUT_ID, STEP_OUT_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
107
+ registerDebugCommandPaletteItem(PAUSE_ID, PAUSE_LABEL, CONTEXT_IN_DEBUG_MODE, ( (ContextKeyExpr.and(
108
+ (CONTEXT_DEBUG_STATE.isEqualTo('running')),
109
+ (CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated())
110
+ ))));
111
+ registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBUG_MODE, ( (ContextKeyExpr.or(CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED))));
112
+ registerDebugCommandPaletteItem(DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, CONTEXT_IN_DEBUG_MODE, ( (ContextKeyExpr.or(
113
+ CONTEXT_FOCUSED_SESSION_IS_ATTACH,
114
+ (ContextKeyExpr.and(CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED))
115
+ ))));
116
+ registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( (ContextKeyExpr.or(
117
+ (CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()),
118
+ CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED
119
+ ))));
120
+ registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
121
+ registerDebugCommandPaletteItem(FOCUS_REPL_ID, ( localize2WithPath(_moduleId, 6, "Focus on Debug Console View")));
122
+ registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(_moduleId, 7, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
123
+ registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(_moduleId, 8, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
146
124
  registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
147
125
  registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
148
126
  registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
149
- registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2WithPath(
150
- 'vs/workbench/contrib/debug/browser/debug.contribution',
151
- 'inlineBreakpoint',
152
- "Inline Breakpoint"
153
- )));
154
- registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
155
- registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
156
- registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
127
+ registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2WithPath(_moduleId, 9, "Inline Breakpoint")));
128
+ registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( (ContextKeyExpr.and(
129
+ CONTEXT_DEBUGGERS_AVAILABLE,
130
+ (CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 )))
131
+ ))));
132
+ registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( (ContextKeyExpr.and(
133
+ CONTEXT_DEBUGGERS_AVAILABLE,
134
+ (CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 )))
135
+ ))));
136
+ registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( (ContextKeyExpr.and(
137
+ CONTEXT_DEBUGGERS_AVAILABLE,
138
+ (CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 )))
139
+ ))));
157
140
  registerDebugCommandPaletteItem(NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL);
158
141
  registerDebugCommandPaletteItem(PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL);
159
142
  registerDebugCommandPaletteItem(SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, CONTEXT_IN_DEBUG_MODE);
160
143
  registerDebugCommandPaletteItem(SELECT_DEBUG_CONSOLE_ID, SELECT_DEBUG_CONSOLE_LABEL);
161
144
  registerDebugCommandPaletteItem(SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL);
162
- registerDebugCommandPaletteItem(CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
163
- registerDebugCommandPaletteItem(CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
164
- registerDebugCommandPaletteItem(CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
165
- registerDebugCommandPaletteItem(CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
145
+ registerDebugCommandPaletteItem(CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
146
+ registerDebugCommandPaletteItem(CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
147
+ registerDebugCommandPaletteItem(CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
148
+ registerDebugCommandPaletteItem(CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, CONTEXT_IN_DEBUG_MODE, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
166
149
  const registerDebugViewMenuItem = (menuId, id, title, order, when, precondition, group = 'navigation', icon) => {
167
150
  MenuRegistry.appendMenuItem(menuId, {
168
151
  group,
@@ -177,131 +160,67 @@ const registerDebugViewMenuItem = (menuId, id, title, order, when, precondition,
177
160
  }
178
161
  });
179
162
  };
180
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_SESSION_ID, RESTART_LABEL, 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), undefined, '3_modification');
181
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, DISCONNECT_ID, DISCONNECT_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), undefined, '3_modification');
182
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, 21, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)), undefined, '3_modification');
183
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STOP_ID, STOP_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), undefined, '3_modification');
184
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, PAUSE_ID, PAUSE_LABEL, 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( ContextKeyExpr.and(( CONTEXT_DEBUG_STATE.isEqualTo('running')), ( CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated()))))));
185
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LABEL, 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')))));
186
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
187
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
188
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
189
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localizeWithPath(
190
- 'vs/workbench/contrib/debug/browser/debug.contribution',
191
- 'terminateThread',
192
- "Terminate Thread"
193
- )), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), undefined, 'termination');
194
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localizeWithPath(
195
- 'vs/workbench/contrib/debug/browser/debug.contribution',
196
- 'restartFrame',
197
- "Restart Frame"
198
- )), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
199
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localizeWithPath(
200
- 'vs/workbench/contrib/debug/browser/debug.contribution',
201
- 'copyStackTrace',
202
- "Copy Call Stack"
203
- )), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
204
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localizeWithPath(
205
- 'vs/workbench/contrib/debug/browser/debug.contribution',
206
- 'viewMemory',
207
- "View Binary Data"
208
- )), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
209
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localizeWithPath(
210
- 'vs/workbench/contrib/debug/browser/debug.contribution',
211
- 'setValue',
212
- "Set Value"
213
- )), 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');
214
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, ( localizeWithPath(
215
- 'vs/workbench/contrib/debug/browser/debug.contribution',
216
- 'copyValue',
217
- "Copy Value"
218
- )), 10, undefined, undefined, '5_cutcopypaste');
219
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, ( localizeWithPath(
220
- 'vs/workbench/contrib/debug/browser/debug.contribution',
221
- 'copyAsExpression',
222
- "Copy as Expression"
223
- )), 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
224
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ( localizeWithPath(
225
- 'vs/workbench/contrib/debug/browser/debug.contribution',
226
- 'addToWatchExpressions',
227
- "Add to Watch"
228
- )), 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
229
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(
230
- 'vs/workbench/contrib/debug/browser/debug.contribution',
231
- 'breakWhenValueIsRead',
232
- "Break on Value Read"
233
- )), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
234
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(
235
- 'vs/workbench/contrib/debug/browser/debug.contribution',
236
- 'breakWhenValueChanges',
237
- "Break on Value Change"
238
- )), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
239
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(
240
- 'vs/workbench/contrib/debug/browser/debug.contribution',
241
- 'breakWhenValueIsAccessed',
242
- "Break on Value Access"
243
- )), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
244
- registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localizeWithPath(
245
- 'vs/workbench/contrib/debug/browser/debug.contribution',
246
- 'viewMemory',
247
- "View Binary Data"
248
- )), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
249
- registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, ( localizeWithPath(
250
- 'vs/workbench/contrib/debug/browser/debug.contribution',
251
- 'copyValue',
252
- "Copy Value"
253
- )), 10, undefined, undefined, '5_cutcopypaste');
254
- registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, ( localizeWithPath(
255
- 'vs/workbench/contrib/debug/browser/debug.contribution',
256
- 'copyAsExpression',
257
- "Copy as Expression"
258
- )), 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
259
- registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ( localizeWithPath(
260
- 'vs/workbench/contrib/debug/browser/debug.contribution',
261
- 'addToWatchExpressions',
262
- "Add to Watch"
263
- )), 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
264
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(
265
- 'vs/workbench/contrib/debug/browser/debug.contribution',
266
- 'breakWhenValueIsRead',
267
- "Break on Value Read"
268
- )), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
269
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(
270
- 'vs/workbench/contrib/debug/browser/debug.contribution',
271
- 'breakWhenValueChanges',
272
- "Break on Value Change"
273
- )), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
274
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(
275
- 'vs/workbench/contrib/debug/browser/debug.contribution',
276
- 'breakWhenValueIsAccessed',
277
- "Break on Value Access"
278
- )), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
163
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_SESSION_ID, RESTART_LABEL, 10, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session'))), undefined, '3_modification');
164
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, DISCONNECT_ID, DISCONNECT_LABEL, 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session'))), undefined, '3_modification');
165
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, 21, ( (ContextKeyExpr.and(
166
+ (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')),
167
+ CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED,
168
+ CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED
169
+ ))), undefined, '3_modification');
170
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, STOP_ID, STOP_LABEL, 30, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session'))), undefined, '3_modification');
171
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, PAUSE_ID, PAUSE_LABEL, 10, ( (ContextKeyExpr.and(
172
+ (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')),
173
+ (ContextKeyExpr.and(
174
+ (CONTEXT_DEBUG_STATE.isEqualTo('running')),
175
+ (CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated())
176
+ ))
177
+ ))));
178
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LABEL, 10, ( (ContextKeyExpr.and(
179
+ (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')),
180
+ (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
181
+ ))));
182
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
183
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
184
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))));
185
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localizeWithPath(_moduleId, 5, "Terminate Thread")), 10, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread'))), undefined, 'termination');
186
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localizeWithPath(_moduleId, 10, "Restart Frame")), 10, ( (ContextKeyExpr.and(
187
+ (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')),
188
+ CONTEXT_RESTART_FRAME_SUPPORTED
189
+ ))), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
190
+ registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localizeWithPath(_moduleId, 11, "Copy Call Stack")), 20, ( (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame'))), undefined, '3_modification');
191
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
192
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localizeWithPath(_moduleId, 13, "Set Value")), 10, ( (ContextKeyExpr.or(
193
+ CONTEXT_SET_VARIABLE_SUPPORTED,
194
+ (ContextKeyExpr.and(CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED))
195
+ ))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
196
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
197
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
198
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
199
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId, 14, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
200
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId, 15, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
201
+ registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId, 16, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
202
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
203
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
204
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
205
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
206
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(_moduleId, 14, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
207
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(_moduleId, 15, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
208
+ registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(_moduleId, 16, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
279
209
  registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
280
- registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localizeWithPath(
281
- 'vs/workbench/contrib/debug/browser/debug.contribution',
282
- 'editWatchExpression',
283
- "Edit Expression"
284
- )), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
285
- registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localizeWithPath(
286
- 'vs/workbench/contrib/debug/browser/debug.contribution',
287
- 'setValue',
288
- "Set Value"
289
- )), 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');
290
- registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localizeWithPath(
291
- 'vs/workbench/contrib/debug/browser/debug.contribution',
292
- 'copyValue',
293
- "Copy Value"
294
- )), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
295
- registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localizeWithPath(
296
- 'vs/workbench/contrib/debug/browser/debug.contribution',
297
- 'viewMemory',
298
- "View Binary Data"
299
- )), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
300
- registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localizeWithPath(
301
- 'vs/workbench/contrib/debug/browser/debug.contribution',
302
- 'removeWatchExpression',
303
- "Remove Expression"
304
- )), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
210
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 17, "Edit Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, '3_modification');
211
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 13, "Set Value")), 30, ( (ContextKeyExpr.or( (ContextKeyExpr.and(
212
+ (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
213
+ CONTEXT_SET_EXPRESSION_SUPPORTED
214
+ )), (ContextKeyExpr.and(
215
+ (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')),
216
+ CONTEXT_SET_VARIABLE_SUPPORTED
217
+ ))))), ( (CONTEXT_VARIABLE_IS_READONLY.toNegated())), '3_modification');
218
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localizeWithPath(_moduleId, 18, "Copy Value")), 40, ( (ContextKeyExpr.or(
219
+ (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')),
220
+ (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable'))
221
+ ))), CONTEXT_IN_DEBUG_MODE, '3_modification');
222
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localizeWithPath(_moduleId, 12, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
223
+ registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localizeWithPath(_moduleId, 19, "Remove Expression")), 20, ( (CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression'))), undefined, 'inline', watchExpressionRemove);
305
224
  registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
306
225
  registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
307
226
  if (isMacintosh) {
@@ -312,35 +231,30 @@ if (isMacintosh) {
312
231
  title,
313
232
  icon: { dark: iconUri }
314
233
  },
315
- when: ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, when)),
234
+ when: ( (ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, when))),
316
235
  group: '9_debug',
317
236
  order
318
237
  });
319
238
  };
320
- registerTouchBarEntry(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, 0, ( CONTEXT_IN_DEBUG_MODE.toNegated()), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/continue-tb.png')));
321
- registerTouchBarEntry(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, 1, ( CONTEXT_IN_DEBUG_MODE.toNegated()), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/run-with-debugging-tb.png')));
322
- registerTouchBarEntry(CONTINUE_ID, CONTINUE_LABEL, 0, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/continue-tb.png')));
323
- registerTouchBarEntry(PAUSE_ID, PAUSE_LABEL, 1, ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.and(( CONTEXT_DEBUG_STATE.isEqualTo('running')), ( CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated()))))), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/pause-tb.png')));
324
- registerTouchBarEntry(STEP_OVER_ID, STEP_OVER_LABEL, 2, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepover-tb.png')));
325
- registerTouchBarEntry(STEP_INTO_ID, STEP_INTO_LABEL, 3, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepinto-tb.png')));
326
- registerTouchBarEntry(STEP_OUT_ID, STEP_OUT_LABEL, 4, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepout-tb.png')));
327
- registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
328
- registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
239
+ registerTouchBarEntry(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, 0, ( (CONTEXT_IN_DEBUG_MODE.toNegated())), ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/continue-tb.png'))));
240
+ registerTouchBarEntry(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, 1, ( (CONTEXT_IN_DEBUG_MODE.toNegated())), ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/run-with-debugging-tb.png'))));
241
+ registerTouchBarEntry(CONTINUE_ID, CONTINUE_LABEL, 0, ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped'))), ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/continue-tb.png'))));
242
+ registerTouchBarEntry(PAUSE_ID, PAUSE_LABEL, 1, ( (ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, (ContextKeyExpr.and(
243
+ (CONTEXT_DEBUG_STATE.isEqualTo('running')),
244
+ (CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated())
245
+ ))))), ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/pause-tb.png'))));
246
+ registerTouchBarEntry(STEP_OVER_ID, STEP_OVER_LABEL, 2, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepover-tb.png'))));
247
+ registerTouchBarEntry(STEP_INTO_ID, STEP_INTO_LABEL, 3, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepinto-tb.png'))));
248
+ registerTouchBarEntry(STEP_OUT_ID, STEP_OUT_LABEL, 4, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepout-tb.png'))));
249
+ registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png'))));
250
+ registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( (FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png'))));
329
251
  }
330
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2WithPath(
331
- 'vs/workbench/contrib/debug/browser/debug.contribution',
332
- 'run',
333
- "Run or Debug..."
334
- )), icon: debugRun, group: 'navigation', order: -1 });
252
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2WithPath(_moduleId, 20, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
335
253
  MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
336
254
  submenu: MenuId.MenubarDebugMenu,
337
255
  title: {
338
- ...( localize2WithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'runMenu', "Run")),
339
- mnemonicTitle: ( localizeWithPath(
340
- 'vs/workbench/contrib/debug/browser/debug.contribution',
341
- { key: 'mRun', comment: ['&& denotes a mnemonic'] },
342
- "&&Run"
343
- ))
256
+ ...( localize2WithPath(_moduleId, 21, "Run")),
257
+ mnemonicTitle: ( localizeWithPath(_moduleId, 22, "&&Run"))
344
258
  },
345
259
  order: 6
346
260
  });
@@ -348,11 +262,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
348
262
  group: '1_debug',
349
263
  command: {
350
264
  id: DEBUG_START_COMMAND_ID,
351
- title: ( localizeWithPath(
352
- 'vs/workbench/contrib/debug/browser/debug.contribution',
353
- { key: 'miStartDebugging', comment: ['&& denotes a mnemonic'] },
354
- "&&Start Debugging"
355
- ))
265
+ title: ( localizeWithPath(_moduleId, 23, "&&Start Debugging"))
356
266
  },
357
267
  order: 1,
358
268
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -361,11 +271,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
361
271
  group: '1_debug',
362
272
  command: {
363
273
  id: DEBUG_RUN_COMMAND_ID,
364
- title: ( localizeWithPath(
365
- 'vs/workbench/contrib/debug/browser/debug.contribution',
366
- { key: 'miRun', comment: ['&& denotes a mnemonic'] },
367
- "Run &&Without Debugging"
368
- ))
274
+ title: ( localizeWithPath(_moduleId, 24, "Run &&Without Debugging"))
369
275
  },
370
276
  order: 2,
371
277
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -374,11 +280,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
374
280
  group: '1_debug',
375
281
  command: {
376
282
  id: STOP_ID,
377
- title: ( localizeWithPath(
378
- 'vs/workbench/contrib/debug/browser/debug.contribution',
379
- { key: 'miStopDebugging', comment: ['&& denotes a mnemonic'] },
380
- "&&Stop Debugging"
381
- )),
283
+ title: ( localizeWithPath(_moduleId, 25, "&&Stop Debugging")),
382
284
  precondition: CONTEXT_IN_DEBUG_MODE
383
285
  },
384
286
  order: 3,
@@ -388,11 +290,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
388
290
  group: '1_debug',
389
291
  command: {
390
292
  id: RESTART_SESSION_ID,
391
- title: ( localizeWithPath(
392
- 'vs/workbench/contrib/debug/browser/debug.contribution',
393
- { key: 'miRestart Debugging', comment: ['&& denotes a mnemonic'] },
394
- "&&Restart Debugging"
395
- )),
293
+ title: ( localizeWithPath(_moduleId, 26, "&&Restart Debugging")),
396
294
  precondition: CONTEXT_IN_DEBUG_MODE
397
295
  },
398
296
  order: 4,
@@ -402,11 +300,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
402
300
  group: '2_configuration',
403
301
  command: {
404
302
  id: ADD_CONFIGURATION_ID,
405
- title: ( localizeWithPath(
406
- 'vs/workbench/contrib/debug/browser/debug.contribution',
407
- { key: 'miAddConfiguration', comment: ['&& denotes a mnemonic'] },
408
- "A&&dd Configuration..."
409
- ))
303
+ title: ( localizeWithPath(_moduleId, 27, "A&&dd Configuration..."))
410
304
  },
411
305
  order: 2,
412
306
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -415,12 +309,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
415
309
  group: '3_step',
416
310
  command: {
417
311
  id: STEP_OVER_ID,
418
- title: ( localizeWithPath(
419
- 'vs/workbench/contrib/debug/browser/debug.contribution',
420
- { key: 'miStepOver', comment: ['&& denotes a mnemonic'] },
421
- "Step &&Over"
422
- )),
423
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
312
+ title: ( localizeWithPath(_moduleId, 28, "Step &&Over")),
313
+ precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
424
314
  },
425
315
  order: 1,
426
316
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -429,12 +319,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
429
319
  group: '3_step',
430
320
  command: {
431
321
  id: STEP_INTO_ID,
432
- title: ( localizeWithPath(
433
- 'vs/workbench/contrib/debug/browser/debug.contribution',
434
- { key: 'miStepInto', comment: ['&& denotes a mnemonic'] },
435
- "Step &&Into"
436
- )),
437
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
322
+ title: ( localizeWithPath(_moduleId, 29, "Step &&Into")),
323
+ precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
438
324
  },
439
325
  order: 2,
440
326
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -443,12 +329,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
443
329
  group: '3_step',
444
330
  command: {
445
331
  id: STEP_OUT_ID,
446
- title: ( localizeWithPath(
447
- 'vs/workbench/contrib/debug/browser/debug.contribution',
448
- { key: 'miStepOut', comment: ['&& denotes a mnemonic'] },
449
- "Step O&&ut"
450
- )),
451
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
332
+ title: ( localizeWithPath(_moduleId, 30, "Step O&&ut")),
333
+ precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
452
334
  },
453
335
  order: 3,
454
336
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -457,12 +339,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
457
339
  group: '3_step',
458
340
  command: {
459
341
  id: CONTINUE_ID,
460
- title: ( localizeWithPath(
461
- 'vs/workbench/contrib/debug/browser/debug.contribution',
462
- { key: 'miContinue', comment: ['&& denotes a mnemonic'] },
463
- "&&Continue"
464
- )),
465
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
342
+ title: ( localizeWithPath(_moduleId, 31, "&&Continue")),
343
+ precondition: ( (CONTEXT_DEBUG_STATE.isEqualTo('stopped')))
466
344
  },
467
345
  order: 4,
468
346
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -471,22 +349,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
471
349
  group: '1_breakpoints',
472
350
  command: {
473
351
  id: TOGGLE_INLINE_BREAKPOINT_ID,
474
- title: ( localizeWithPath(
475
- 'vs/workbench/contrib/debug/browser/debug.contribution',
476
- { key: 'miInlineBreakpoint', comment: ['&& denotes a mnemonic'] },
477
- "Inline Breakp&&oint"
478
- ))
352
+ title: ( localizeWithPath(_moduleId, 32, "Inline Breakp&&oint"))
479
353
  },
480
354
  order: 2,
481
355
  when: CONTEXT_DEBUGGERS_AVAILABLE
482
356
  });
483
357
  MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
484
358
  group: '4_new_breakpoint',
485
- title: ( localizeWithPath(
486
- 'vs/workbench/contrib/debug/browser/debug.contribution',
487
- { key: 'miNewBreakpoint', comment: ['&& denotes a mnemonic'] },
488
- "&&New Breakpoint"
489
- )),
359
+ title: ( localizeWithPath(_moduleId, 33, "&&New Breakpoint")),
490
360
  submenu: MenuId.MenubarNewBreakpointMenu,
491
361
  order: 2,
492
362
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -495,160 +365,99 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
495
365
  group: 'z_install',
496
366
  command: {
497
367
  id: 'debug.installAdditionalDebuggers',
498
- title: ( localizeWithPath(
499
- 'vs/workbench/contrib/debug/browser/debug.contribution',
500
- { key: 'miInstallAdditionalDebuggers', comment: ['&& denotes a mnemonic'] },
501
- "&&Install Additional Debuggers..."
502
- ))
368
+ title: ( localizeWithPath(_moduleId, 34, "&&Install Additional Debuggers..."))
503
369
  },
504
370
  order: 1
505
371
  });
506
- const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
372
+ const VIEW_CONTAINER = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
507
373
  id: DEBUG_PANEL_ID,
508
- title: ( localize2WithPath(
509
- 'vs/workbench/contrib/debug/browser/debug.contribution',
510
- { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
511
- "Debug Console"
512
- )),
374
+ title: ( localize2WithPath(_moduleId, 35, "Debug Console")),
513
375
  icon: debugConsoleViewIcon,
514
- ctorDescriptor: ( new SyncDescriptor(
376
+ ctorDescriptor: ( (new SyncDescriptor(
515
377
  ViewPaneContainer,
516
378
  [DEBUG_PANEL_ID, { mergeViewWithContainerWhenSingleView: true }]
517
- )),
379
+ ))),
518
380
  storageId: DEBUG_PANEL_ID,
519
381
  hideIfEmpty: true,
520
382
  order: 2,
521
383
  }, 1 , { doNotRegisterOpenCommand: true });
522
- ( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
384
+ ( (Registry.as(Extensions$2.ViewsRegistry))).registerViews([{
523
385
  id: REPL_VIEW_ID,
524
- name: ( localize2WithPath(
525
- 'vs/workbench/contrib/debug/browser/debug.contribution',
526
- { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
527
- "Debug Console"
528
- )),
386
+ name: ( localize2WithPath(_moduleId, 35, "Debug Console")),
529
387
  containerIcon: debugConsoleViewIcon,
530
388
  canToggleVisibility: false,
531
389
  canMoveView: true,
532
390
  when: CONTEXT_DEBUGGERS_AVAILABLE,
533
- ctorDescriptor: ( new SyncDescriptor(Repl)),
391
+ ctorDescriptor: ( (new SyncDescriptor(Repl))),
534
392
  openCommandActionDescriptor: {
535
393
  id: 'workbench.debug.action.toggleRepl',
536
- mnemonicTitle: ( localizeWithPath(
537
- 'vs/workbench/contrib/debug/browser/debug.contribution',
538
- { key: 'miToggleDebugConsole', comment: ['&& denotes a mnemonic'] },
539
- "De&&bug Console"
540
- )),
394
+ mnemonicTitle: ( localizeWithPath(_moduleId, 36, "De&&bug Console")),
541
395
  keybindings: { primary: 2048 | 1024 | 55 },
542
396
  order: 2
543
397
  }
544
398
  }], VIEW_CONTAINER);
545
- const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
399
+ const viewContainer = ( (Registry.as(Extensions$2.ViewContainersRegistry))).registerViewContainer({
546
400
  id: VIEWLET_ID,
547
- title: ( localize2WithPath(
548
- 'vs/workbench/contrib/debug/browser/debug.contribution',
549
- 'run and debug',
550
- "Run and Debug"
551
- )),
401
+ title: ( localize2WithPath(_moduleId, 37, "Run and Debug")),
552
402
  openCommandActionDescriptor: {
553
403
  id: VIEWLET_ID,
554
- mnemonicTitle: ( localizeWithPath(
555
- 'vs/workbench/contrib/debug/browser/debug.contribution',
556
- { key: 'miViewRun', comment: ['&& denotes a mnemonic'] },
557
- "&&Run"
558
- )),
404
+ mnemonicTitle: ( localizeWithPath(_moduleId, 38, "&&Run")),
559
405
  keybindings: { primary: 2048 | 1024 | 34 },
560
406
  order: 3
561
407
  },
562
- ctorDescriptor: ( new SyncDescriptor(DebugViewPaneContainer)),
408
+ ctorDescriptor: ( (new SyncDescriptor(DebugViewPaneContainer))),
563
409
  icon: runViewIcon,
564
410
  alwaysUseContainerInfo: true,
565
411
  order: 3,
566
412
  }, 0 );
567
- const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
568
- viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2WithPath(
569
- 'vs/workbench/contrib/debug/browser/debug.contribution',
570
- 'variables',
571
- "Variables"
572
- )), 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);
573
- viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2WithPath('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);
574
- viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2WithPath(
575
- 'vs/workbench/contrib/debug/browser/debug.contribution',
576
- 'callStack',
577
- "Call Stack"
578
- )), 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);
579
- viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2WithPath(
580
- 'vs/workbench/contrib/debug/browser/debug.contribution',
581
- 'breakpoints',
582
- "Breakpoints"
583
- )), 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);
584
- 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);
585
- viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2WithPath(
586
- 'vs/workbench/contrib/debug/browser/debug.contribution',
587
- 'loadedScripts',
588
- "Loaded Scripts"
589
- )), 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);
590
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localizeWithPath(
591
- 'vs/workbench/contrib/debug/browser/debug.contribution',
592
- 'disassembly',
593
- "Disassembly"
594
- ))), [( new SyncDescriptor(DisassemblyViewInput))]);
595
- const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
413
+ const viewsRegistry = ( (Registry.as(Extensions$2.ViewsRegistry)));
414
+ viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2WithPath(_moduleId, 39, "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);
415
+ viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2WithPath(_moduleId, 40, "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);
416
+ viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2WithPath(_moduleId, 41, "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);
417
+ viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2WithPath(_moduleId, 42, "Breakpoints")), containerIcon: breakpointsViewIcon, ctorDescriptor: ( (new SyncDescriptor(BreakpointsView))), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( (ContextKeyExpr.or(
418
+ CONTEXT_BREAKPOINTS_EXIST,
419
+ (CONTEXT_DEBUG_UX.isEqualTo('default')),
420
+ CONTEXT_HAS_DEBUGGED
421
+ ))) }], viewContainer);
422
+ 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);
423
+ viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2WithPath(_moduleId, 43, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( (new SyncDescriptor(LoadedScriptsView))), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( (ContextKeyExpr.and(
424
+ CONTEXT_LOADED_SCRIPTS_SUPPORTED,
425
+ (CONTEXT_DEBUG_UX.isEqualTo('default'))
426
+ ))) }], viewContainer);
427
+ ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localizeWithPath(_moduleId, 44, "Disassembly"))), [( (new SyncDescriptor(DisassemblyViewInput)))]);
428
+ const configurationRegistry = ( (Registry.as(Extensions$3.Configuration)));
596
429
  configurationRegistry.registerConfiguration({
597
430
  id: 'debug',
598
431
  order: 20,
599
- title: ( localizeWithPath(
600
- 'vs/workbench/contrib/debug/browser/debug.contribution',
601
- 'debugConfigurationTitle',
602
- "Debug"
603
- )),
432
+ title: ( localizeWithPath(_moduleId, 45, "Debug")),
604
433
  type: 'object',
605
434
  properties: {
606
435
  'debug.allowBreakpointsEverywhere': {
607
436
  type: 'boolean',
608
- description: ( localizeWithPath(
609
- 'vs/workbench/contrib/debug/browser/debug.contribution',
610
- { comment: ['This is the description for a setting'], key: 'allowBreakpointsEverywhere' },
611
- "Allow setting breakpoints in any file."
612
- )),
437
+ description: ( localizeWithPath(_moduleId, 46, "Allow setting breakpoints in any file.")),
613
438
  default: false
614
439
  },
615
440
  'debug.gutterMiddleClickAction': {
616
441
  type: 'string',
617
442
  enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
618
443
  description: ( localizeWithPath(
619
- 'vs/workbench/contrib/debug/browser/debug.contribution',
620
- { comment: ['This is the description for a setting'], key: 'gutterMiddleClickAction' },
444
+ _moduleId,
445
+ 47,
621
446
  'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
622
447
  )),
623
448
  enumDescriptions: [
624
- ( localizeWithPath(
625
- 'vs/workbench/contrib/debug/browser/debug.contribution',
626
- 'debug.gutterMiddleClickAction.logpoint',
627
- "Add Logpoint."
628
- )),
629
- ( localizeWithPath(
630
- 'vs/workbench/contrib/debug/browser/debug.contribution',
631
- 'debug.gutterMiddleClickAction.conditionalBreakpoint',
632
- "Add Conditional Breakpoint."
633
- )),
634
- ( localizeWithPath(
635
- 'vs/workbench/contrib/debug/browser/debug.contribution',
636
- 'debug.gutterMiddleClickAction.triggeredBreakpoint',
637
- "Add Triggered Breakpoint."
638
- )),
639
- ( localizeWithPath(
640
- 'vs/workbench/contrib/debug/browser/debug.contribution',
641
- 'debug.gutterMiddleClickAction.none',
642
- "Don't perform any action."
643
- )),
449
+ ( localizeWithPath(_moduleId, 48, "Add Logpoint.")),
450
+ ( localizeWithPath(_moduleId, 49, "Add Conditional Breakpoint.")),
451
+ ( localizeWithPath(_moduleId, 50, "Add Triggered Breakpoint.")),
452
+ ( localizeWithPath(_moduleId, 51, "Don't perform any action.")),
644
453
  ],
645
454
  default: 'logpoint',
646
455
  },
647
456
  'debug.openExplorerOnEnd': {
648
457
  type: 'boolean',
649
458
  description: ( localizeWithPath(
650
- 'vs/workbench/contrib/debug/browser/debug.contribution',
651
- { comment: ['This is the description for a setting'], key: 'openExplorerOnEnd' },
459
+ _moduleId,
460
+ 52,
652
461
  "Automatically open the explorer view at the end of a debug session."
653
462
  )),
654
463
  default: false
@@ -656,8 +465,8 @@ configurationRegistry.registerConfiguration({
656
465
  'debug.closeReadonlyTabsOnEnd': {
657
466
  type: 'boolean',
658
467
  description: ( localizeWithPath(
659
- 'vs/workbench/contrib/debug/browser/debug.contribution',
660
- { comment: ['This is the description for a setting'], key: 'closeReadonlyTabsOnEnd' },
468
+ _moduleId,
469
+ 53,
661
470
  "At the end of a debug session, all the read-only tabs associated with that session will be closed"
662
471
  )),
663
472
  default: false
@@ -665,25 +474,21 @@ configurationRegistry.registerConfiguration({
665
474
  'debug.inlineValues': {
666
475
  type: 'string',
667
476
  'enum': ['on', 'off', 'auto'],
668
- description: ( localizeWithPath(
669
- 'vs/workbench/contrib/debug/browser/debug.contribution',
670
- { comment: ['This is the description for a setting'], key: 'inlineValues' },
671
- "Show variable values inline in editor while debugging."
672
- )),
477
+ description: ( localizeWithPath(_moduleId, 54, "Show variable values inline in editor while debugging.")),
673
478
  'enumDescriptions': [
674
479
  ( localizeWithPath(
675
- 'vs/workbench/contrib/debug/browser/debug.contribution',
676
- 'inlineValues.on',
480
+ _moduleId,
481
+ 55,
677
482
  "Always show variable values inline in editor while debugging."
678
483
  )),
679
484
  ( localizeWithPath(
680
- 'vs/workbench/contrib/debug/browser/debug.contribution',
681
- 'inlineValues.off',
485
+ _moduleId,
486
+ 56,
682
487
  "Never show variable values inline in editor while debugging."
683
488
  )),
684
489
  ( localizeWithPath(
685
- 'vs/workbench/contrib/debug/browser/debug.contribution',
686
- 'inlineValues.focusNoScroll',
490
+ _moduleId,
491
+ 57,
687
492
  "Show variable values inline in editor while debugging when the language supports inline value locations."
688
493
  )),
689
494
  ],
@@ -692,63 +497,39 @@ configurationRegistry.registerConfiguration({
692
497
  'debug.toolBarLocation': {
693
498
  enum: ['floating', 'docked', 'commandCenter', 'hidden'],
694
499
  markdownDescription: ( localizeWithPath(
695
- 'vs/workbench/contrib/debug/browser/debug.contribution',
696
- { comment: ['This is the description for a setting'], key: 'toolBarLocation' },
500
+ _moduleId,
501
+ 58,
697
502
  "Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires `{0}`), or `hidden`.",
698
503
  '#window.commandCenter#'
699
504
  )),
700
505
  default: 'floating',
701
506
  markdownEnumDescriptions: [
507
+ ( localizeWithPath(_moduleId, 59, "Show debug toolbar in all views.")),
508
+ ( localizeWithPath(_moduleId, 60, "Show debug toolbar only in debug views.")),
702
509
  ( localizeWithPath(
703
- 'vs/workbench/contrib/debug/browser/debug.contribution',
704
- 'debugToolBar.floating',
705
- "Show debug toolbar in all views."
706
- )),
707
- ( localizeWithPath(
708
- 'vs/workbench/contrib/debug/browser/debug.contribution',
709
- 'debugToolBar.docked',
710
- "Show debug toolbar only in debug views."
711
- )),
712
- ( localizeWithPath(
713
- 'vs/workbench/contrib/debug/browser/debug.contribution',
714
- 'debugToolBar.commandCenter',
510
+ _moduleId,
511
+ 61,
715
512
  "`(Experimental)` Show debug toolbar in the command center."
716
513
  )),
717
- ( localizeWithPath(
718
- 'vs/workbench/contrib/debug/browser/debug.contribution',
719
- 'debugToolBar.hidden',
720
- "Do not show debug toolbar."
721
- )),
514
+ ( localizeWithPath(_moduleId, 62, "Do not show debug toolbar.")),
722
515
  ]
723
516
  },
724
517
  'debug.showInStatusBar': {
725
518
  enum: ['never', 'always', 'onFirstSessionStart'],
726
- enumDescriptions: [( localizeWithPath(
727
- 'vs/workbench/contrib/debug/browser/debug.contribution',
728
- 'never',
729
- "Never show debug in Status bar"
730
- )), ( localizeWithPath(
731
- 'vs/workbench/contrib/debug/browser/debug.contribution',
732
- 'always',
733
- "Always show debug in Status bar"
734
- )), ( localizeWithPath(
735
- 'vs/workbench/contrib/debug/browser/debug.contribution',
736
- 'onFirstSessionStart',
519
+ enumDescriptions: [( localizeWithPath(_moduleId, 63, "Never show debug in Status bar")), ( localizeWithPath(_moduleId, 64, "Always show debug in Status bar")), ( localizeWithPath(
520
+ _moduleId,
521
+ 65,
737
522
  "Show debug in Status bar only after debug was started for the first time"
738
523
  ))],
739
- description: ( localizeWithPath(
740
- 'vs/workbench/contrib/debug/browser/debug.contribution',
741
- { comment: ['This is the description for a setting'], key: 'showInStatusBar' },
742
- "Controls when the debug Status bar should be visible."
743
- )),
524
+ description: ( localizeWithPath(_moduleId, 66, "Controls when the debug Status bar should be visible.")),
744
525
  default: 'onFirstSessionStart'
745
526
  },
746
527
  'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
747
528
  'debug.console.closeOnEnd': {
748
529
  type: 'boolean',
749
530
  description: ( localizeWithPath(
750
- 'vs/workbench/contrib/debug/browser/debug.contribution',
751
- 'debug.console.closeOnEnd',
531
+ _moduleId,
532
+ 67,
752
533
  "Controls if the Debug Console should be automatically closed when the debug session ends."
753
534
  )),
754
535
  default: false
@@ -756,8 +537,8 @@ configurationRegistry.registerConfiguration({
756
537
  'debug.terminal.clearBeforeReusing': {
757
538
  type: 'boolean',
758
539
  description: ( localizeWithPath(
759
- 'vs/workbench/contrib/debug/browser/debug.contribution',
760
- { comment: ['This is the description for a setting'], key: 'debug.terminal.clearBeforeReusing' },
540
+ _moduleId,
541
+ 68,
761
542
  "Before starting a new debug session in an integrated or external terminal, clear the terminal."
762
543
  )),
763
544
  default: false
@@ -765,62 +546,46 @@ configurationRegistry.registerConfiguration({
765
546
  'debug.openDebug': {
766
547
  enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
767
548
  default: 'openOnDebugBreak',
768
- description: ( localizeWithPath(
769
- 'vs/workbench/contrib/debug/browser/debug.contribution',
770
- 'openDebug',
771
- "Controls when the debug view should open."
772
- ))
549
+ description: ( localizeWithPath(_moduleId, 69, "Controls when the debug view should open."))
773
550
  },
774
551
  'debug.showSubSessionsInToolBar': {
775
552
  type: 'boolean',
776
553
  description: ( localizeWithPath(
777
- 'vs/workbench/contrib/debug/browser/debug.contribution',
778
- { comment: ['This is the description for a setting'], key: 'showSubSessionsInToolBar' },
554
+ _moduleId,
555
+ 70,
779
556
  "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."
780
557
  )),
781
558
  default: false
782
559
  },
783
560
  'debug.console.fontSize': {
784
561
  type: 'number',
785
- description: ( localizeWithPath(
786
- 'vs/workbench/contrib/debug/browser/debug.contribution',
787
- 'debug.console.fontSize',
788
- "Controls the font size in pixels in the Debug Console."
789
- )),
562
+ description: ( localizeWithPath(_moduleId, 71, "Controls the font size in pixels in the Debug Console.")),
790
563
  default: isMacintosh ? 12 : 14,
791
564
  },
792
565
  'debug.console.fontFamily': {
793
566
  type: 'string',
794
- description: ( localizeWithPath(
795
- 'vs/workbench/contrib/debug/browser/debug.contribution',
796
- 'debug.console.fontFamily',
797
- "Controls the font family in the Debug Console."
798
- )),
567
+ description: ( localizeWithPath(_moduleId, 72, "Controls the font family in the Debug Console.")),
799
568
  default: 'default'
800
569
  },
801
570
  'debug.console.lineHeight': {
802
571
  type: 'number',
803
572
  description: ( localizeWithPath(
804
- 'vs/workbench/contrib/debug/browser/debug.contribution',
805
- 'debug.console.lineHeight',
573
+ _moduleId,
574
+ 73,
806
575
  "Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
807
576
  )),
808
577
  default: 0
809
578
  },
810
579
  'debug.console.wordWrap': {
811
580
  type: 'boolean',
812
- description: ( localizeWithPath(
813
- 'vs/workbench/contrib/debug/browser/debug.contribution',
814
- 'debug.console.wordWrap',
815
- "Controls if the lines should wrap in the Debug Console."
816
- )),
581
+ description: ( localizeWithPath(_moduleId, 74, "Controls if the lines should wrap in the Debug Console.")),
817
582
  default: true
818
583
  },
819
584
  'debug.console.historySuggestions': {
820
585
  type: 'boolean',
821
586
  description: ( localizeWithPath(
822
- 'vs/workbench/contrib/debug/browser/debug.contribution',
823
- 'debug.console.historySuggestions',
587
+ _moduleId,
588
+ 75,
824
589
  "Controls if the Debug Console should suggest previously typed input."
825
590
  )),
826
591
  default: true
@@ -828,8 +593,8 @@ configurationRegistry.registerConfiguration({
828
593
  'debug.console.collapseIdenticalLines': {
829
594
  type: 'boolean',
830
595
  description: ( localizeWithPath(
831
- 'vs/workbench/contrib/debug/browser/debug.contribution',
832
- 'debug.console.collapseIdenticalLines',
596
+ _moduleId,
597
+ 76,
833
598
  "Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
834
599
  )),
835
600
  default: true
@@ -837,8 +602,8 @@ configurationRegistry.registerConfiguration({
837
602
  'debug.console.acceptSuggestionOnEnter': {
838
603
  enum: ['off', 'on'],
839
604
  description: ( localizeWithPath(
840
- 'vs/workbench/contrib/debug/browser/debug.contribution',
841
- 'debug.console.acceptSuggestionOnEnter',
605
+ _moduleId,
606
+ 77,
842
607
  "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."
843
608
  )),
844
609
  default: 'off'
@@ -846,8 +611,8 @@ configurationRegistry.registerConfiguration({
846
611
  'launch': {
847
612
  type: 'object',
848
613
  description: ( localizeWithPath(
849
- 'vs/workbench/contrib/debug/browser/debug.contribution',
850
- { comment: ['This is the description for a setting'], key: 'launch' },
614
+ _moduleId,
615
+ 78,
851
616
  "Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
852
617
  )),
853
618
  default: { configurations: [], compounds: [] },
@@ -856,8 +621,8 @@ configurationRegistry.registerConfiguration({
856
621
  'debug.focusWindowOnBreak': {
857
622
  type: 'boolean',
858
623
  description: ( localizeWithPath(
859
- 'vs/workbench/contrib/debug/browser/debug.contribution',
860
- 'debug.focusWindowOnBreak',
624
+ _moduleId,
625
+ 79,
861
626
  "Controls whether the workbench window should be focused when the debugger breaks."
862
627
  )),
863
628
  default: true
@@ -865,34 +630,18 @@ configurationRegistry.registerConfiguration({
865
630
  'debug.focusEditorOnBreak': {
866
631
  type: 'boolean',
867
632
  description: ( localizeWithPath(
868
- 'vs/workbench/contrib/debug/browser/debug.contribution',
869
- 'debug.focusEditorOnBreak',
633
+ _moduleId,
634
+ 80,
870
635
  "Controls whether the editor should be focused when the debugger breaks."
871
636
  )),
872
637
  default: true
873
638
  },
874
639
  'debug.onTaskErrors': {
875
640
  enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
876
- enumDescriptions: [( localizeWithPath(
877
- 'vs/workbench/contrib/debug/browser/debug.contribution',
878
- 'debugAnyway',
879
- "Ignore task errors and start debugging."
880
- )), ( localizeWithPath(
881
- 'vs/workbench/contrib/debug/browser/debug.contribution',
882
- 'showErrors',
883
- "Show the Problems view and do not start debugging."
884
- )), ( localizeWithPath(
885
- 'vs/workbench/contrib/debug/browser/debug.contribution',
886
- 'prompt',
887
- "Prompt user."
888
- )), ( localizeWithPath(
889
- 'vs/workbench/contrib/debug/browser/debug.contribution',
890
- 'cancel',
891
- "Cancel debugging."
892
- ))],
641
+ enumDescriptions: [( localizeWithPath(_moduleId, 81, "Ignore task errors and start debugging.")), ( localizeWithPath(_moduleId, 82, "Show the Problems view and do not start debugging.")), ( localizeWithPath(_moduleId, 83, "Prompt user.")), ( localizeWithPath(_moduleId, 84, "Cancel debugging."))],
893
642
  description: ( localizeWithPath(
894
- 'vs/workbench/contrib/debug/browser/debug.contribution',
895
- 'debug.onTaskErrors',
643
+ _moduleId,
644
+ 85,
896
645
  "Controls what to do when errors are encountered after running a preLaunchTask."
897
646
  )),
898
647
  default: 'prompt'
@@ -900,8 +649,8 @@ configurationRegistry.registerConfiguration({
900
649
  'debug.showBreakpointsInOverviewRuler': {
901
650
  type: 'boolean',
902
651
  description: ( localizeWithPath(
903
- 'vs/workbench/contrib/debug/browser/debug.contribution',
904
- { comment: ['This is the description for a setting'], key: 'showBreakpointsInOverviewRuler' },
652
+ _moduleId,
653
+ 86,
905
654
  "Controls whether breakpoints should be shown in the overview ruler."
906
655
  )),
907
656
  default: false
@@ -909,93 +658,73 @@ configurationRegistry.registerConfiguration({
909
658
  'debug.showInlineBreakpointCandidates': {
910
659
  type: 'boolean',
911
660
  description: ( localizeWithPath(
912
- 'vs/workbench/contrib/debug/browser/debug.contribution',
913
- { comment: ['This is the description for a setting'], key: 'showInlineBreakpointCandidates' },
661
+ _moduleId,
662
+ 87,
914
663
  "Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
915
664
  )),
916
665
  default: true
917
666
  },
918
667
  'debug.saveBeforeStart': {
919
668
  description: ( localizeWithPath(
920
- 'vs/workbench/contrib/debug/browser/debug.contribution',
921
- 'debug.saveBeforeStart',
669
+ _moduleId,
670
+ 88,
922
671
  "Controls what editors to save before starting a debug session."
923
672
  )),
924
673
  enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
925
674
  enumDescriptions: [
926
675
  ( localizeWithPath(
927
- 'vs/workbench/contrib/debug/browser/debug.contribution',
928
- 'debug.saveBeforeStart.allEditorsInActiveGroup',
676
+ _moduleId,
677
+ 89,
929
678
  "Save all editors in the active group before starting a debug session."
930
679
  )),
931
680
  ( localizeWithPath(
932
- 'vs/workbench/contrib/debug/browser/debug.contribution',
933
- 'debug.saveBeforeStart.nonUntitledEditorsInActiveGroup',
681
+ _moduleId,
682
+ 90,
934
683
  "Save all editors in the active group except untitled ones before starting a debug session."
935
684
  )),
936
- ( localizeWithPath(
937
- 'vs/workbench/contrib/debug/browser/debug.contribution',
938
- 'debug.saveBeforeStart.none',
939
- "Don't save any editors before starting a debug session."
940
- )),
685
+ ( localizeWithPath(_moduleId, 91, "Don't save any editors before starting a debug session.")),
941
686
  ],
942
687
  default: 'allEditorsInActiveGroup',
943
688
  scope: 5
944
689
  },
945
690
  'debug.confirmOnExit': {
946
691
  description: ( localizeWithPath(
947
- 'vs/workbench/contrib/debug/browser/debug.contribution',
948
- 'debug.confirmOnExit',
692
+ _moduleId,
693
+ 92,
949
694
  "Controls whether to confirm when the window closes if there are active debug sessions."
950
695
  )),
951
696
  type: 'string',
952
697
  enum: ['never', 'always'],
953
698
  enumDescriptions: [
954
- ( localizeWithPath(
955
- 'vs/workbench/contrib/debug/browser/debug.contribution',
956
- 'debug.confirmOnExit.never',
957
- "Never confirm."
958
- )),
959
- ( localizeWithPath(
960
- 'vs/workbench/contrib/debug/browser/debug.contribution',
961
- 'debug.confirmOnExit.always',
962
- "Always confirm if there are debug sessions."
963
- )),
699
+ ( localizeWithPath(_moduleId, 93, "Never confirm.")),
700
+ ( localizeWithPath(_moduleId, 94, "Always confirm if there are debug sessions.")),
964
701
  ],
965
702
  default: 'never'
966
703
  },
967
704
  'debug.disassemblyView.showSourceCode': {
968
705
  type: 'boolean',
969
706
  default: true,
970
- description: ( localizeWithPath(
971
- 'vs/workbench/contrib/debug/browser/debug.contribution',
972
- 'debug.disassemblyView.showSourceCode',
973
- "Show Source Code in Disassembly View."
974
- ))
707
+ description: ( localizeWithPath(_moduleId, 95, "Show Source Code in Disassembly View."))
975
708
  },
976
709
  'debug.autoExpandLazyVariables': {
977
710
  type: 'boolean',
978
711
  default: false,
979
712
  description: ( localizeWithPath(
980
- 'vs/workbench/contrib/debug/browser/debug.contribution',
981
- 'debug.autoExpandLazyVariables',
713
+ _moduleId,
714
+ 96,
982
715
  "Automatically show values for variables that are lazily resolved by the debugger, such as getters."
983
716
  ))
984
717
  },
985
718
  'debug.enableStatusBarColor': {
986
719
  type: 'boolean',
987
- description: ( localizeWithPath(
988
- 'vs/workbench/contrib/debug/browser/debug.contribution',
989
- 'debug.enableStatusBarColor',
990
- "Color of the Status bar when debugger is active."
991
- )),
720
+ description: ( localizeWithPath(_moduleId, 97, "Color of the Status bar when debugger is active.")),
992
721
  default: true
993
722
  },
994
723
  'debug.hideLauncherWhileDebugging': {
995
724
  type: 'boolean',
996
725
  markdownDescription: ( localizeWithPath(
997
- 'vs/workbench/contrib/debug/browser/debug.contribution',
998
- { comment: ['This is the description for a setting'], key: 'debug.hideLauncherWhileDebugging' },
726
+ _moduleId,
727
+ 98,
999
728
  "Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when `{0}` is not `docked`.",
1000
729
  '#debug.toolBarLocation#'
1001
730
  )),