@codingame/monaco-vscode-debug-service-override 22.1.9 → 23.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 (36) hide show
  1. package/package.json +15 -15
  2. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +13 -2
  3. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +44 -41
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +114 -114
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.d.ts +1 -1
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +28 -32
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +11 -11
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +29 -30
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +1 -1
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +46 -46
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +19 -25
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +6 -6
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +6 -6
  21. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +15 -13
  22. package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +8 -8
  24. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
  25. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
  26. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
  27. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
  28. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +3 -1
  29. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +35 -17
  30. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
  31. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
  32. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  33. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugger.d.ts +3 -1
  35. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -13
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +8 -6
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
- import { Action } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
3
+ import { toAction } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
4
4
  import { disposableTimeout } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
5
5
  import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
6
6
  import { createErrorWithActions } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errorMessage';
@@ -30,9 +30,9 @@ var TaskRunResult;
30
30
  TaskRunResult[TaskRunResult["Success"] = 1] = "Success";
31
31
  })(TaskRunResult || (TaskRunResult = {}));
32
32
  const DEBUG_TASK_ERROR_CHOICE_KEY = 'debug.taskerrorchoice';
33
- const ABORT_LABEL = ( localize(6477, "Abort"));
34
- const DEBUG_ANYWAY_LABEL = ( localize(6478, "&&Debug Anyway"));
35
- const DEBUG_ANYWAY_LABEL_NO_MEMO = ( localize(6479, "Debug Anyway"));
33
+ const ABORT_LABEL = ( localize(6720, "Abort"));
34
+ const DEBUG_ANYWAY_LABEL = ( localize(6721, "&&Debug Anyway"));
35
+ const DEBUG_ANYWAY_LABEL_NO_MEMO = ( localize(6722, "Debug Anyway"));
36
36
  let DebugTaskRunner = class DebugTaskRunner {
37
37
  constructor(taskService, markerService, configurationService, viewsService, dialogService, storageService, commandService, progressService) {
38
38
  this.taskService = taskService;
@@ -74,17 +74,17 @@ let DebugTaskRunner = class DebugTaskRunner {
74
74
  }
75
75
  const taskLabel = typeof taskId === 'string' ? taskId : taskId ? taskId.name : '';
76
76
  const message = errorCount > 1
77
- ? ( localize(6480, "Errors exist after running preLaunchTask '{0}'.", taskLabel))
77
+ ? ( localize(6723, "Errors exist after running preLaunchTask '{0}'.", taskLabel))
78
78
  : errorCount === 1
79
- ? ( localize(6481, "Error exists after running preLaunchTask '{0}'.", taskLabel))
79
+ ? ( localize(6724, "Error exists after running preLaunchTask '{0}'.", taskLabel))
80
80
  : taskSummary && typeof taskSummary.exitCode === 'number'
81
81
  ? ( localize(
82
- 6482,
82
+ 6725,
83
83
  "The preLaunchTask '{0}' terminated with exit code {1}.",
84
84
  taskLabel,
85
85
  taskSummary.exitCode
86
86
  ))
87
- : ( localize(6483, "The preLaunchTask '{0}' terminated.", taskLabel));
87
+ : ( localize(6726, "The preLaunchTask '{0}' terminated.", taskLabel));
88
88
  let DebugChoice;
89
89
  (function (DebugChoice) {
90
90
  DebugChoice[DebugChoice["DebugAnyway"] = 1] = "DebugAnyway";
@@ -100,7 +100,7 @@ let DebugTaskRunner = class DebugTaskRunner {
100
100
  run: () => DebugChoice.DebugAnyway
101
101
  },
102
102
  {
103
- label: ( localize(6484, "&&Show Errors")),
103
+ label: ( localize(6727, "&&Show Errors")),
104
104
  run: () => DebugChoice.ShowErrors
105
105
  }
106
106
  ],
@@ -109,7 +109,7 @@ let DebugTaskRunner = class DebugTaskRunner {
109
109
  run: () => DebugChoice.Cancel
110
110
  },
111
111
  checkbox: {
112
- label: ( localize(6485, "Remember my choice in user settings")),
112
+ label: ( localize(6728, "Remember my choice in user settings")),
113
113
  }
114
114
  });
115
115
  const debugAnyway = result === DebugChoice.DebugAnyway;
@@ -145,7 +145,7 @@ let DebugTaskRunner = class DebugTaskRunner {
145
145
  message: err.message,
146
146
  buttons: [
147
147
  {
148
- label: ( localize(6478, "&&Debug Anyway")),
148
+ label: ( localize(6721, "&&Debug Anyway")),
149
149
  run: () => DebugChoice.DebugAnyway
150
150
  },
151
151
  {
@@ -157,7 +157,7 @@ let DebugTaskRunner = class DebugTaskRunner {
157
157
  run: () => DebugChoice.Cancel
158
158
  },
159
159
  checkbox: {
160
- label: ( localize(6486, "Remember my choice for this task"))
160
+ label: ( localize(6729, "Remember my choice for this task"))
161
161
  }
162
162
  });
163
163
  choice = result;
@@ -178,7 +178,7 @@ let DebugTaskRunner = class DebugTaskRunner {
178
178
  }
179
179
  if (!root) {
180
180
  return Promise.reject(( new Error(( localize(
181
- 6487,
181
+ 6730,
182
182
  "Task '{0}' can not be referenced from a launch configuration that is in a different workspace folder.",
183
183
  typeof taskId === 'string' ? taskId : taskId.type
184
184
  )))));
@@ -186,15 +186,9 @@ let DebugTaskRunner = class DebugTaskRunner {
186
186
  const task = await this.taskService.getTask(root, taskId);
187
187
  if (!task) {
188
188
  const errorMessage = typeof taskId === 'string'
189
- ? ( localize(6488, "Could not find the task '{0}'.", taskId))
190
- : ( localize(6489, "Could not find the specified task."));
191
- return Promise.reject(createErrorWithActions(errorMessage, [( new Action(
192
- DEBUG_CONFIGURE_COMMAND_ID,
193
- DEBUG_CONFIGURE_LABEL,
194
- undefined,
195
- true,
196
- () => this.commandService.executeCommand(DEBUG_CONFIGURE_COMMAND_ID)
197
- ))]));
189
+ ? ( localize(6731, "Could not find the task '{0}'.", taskId))
190
+ : ( localize(6732, "Could not find the specified task."));
191
+ return Promise.reject(createErrorWithActions(errorMessage, [toAction({ id: DEBUG_CONFIGURE_COMMAND_ID, label: DEBUG_CONFIGURE_LABEL, enabled: true, run: () => this.commandService.executeCommand(DEBUG_CONFIGURE_COMMAND_ID) })]));
198
192
  }
199
193
  let taskStarted = false;
200
194
  const store = ( new DisposableStore());
@@ -245,7 +239,7 @@ let DebugTaskRunner = class DebugTaskRunner {
245
239
  store.add(disposableTimeout(() => {
246
240
  if (!taskStarted) {
247
241
  const errorMessage = ( localize(
248
- 6490,
242
+ 6733,
249
243
  "The task '{0}' has not exited and doesn't have a 'problemMatcher' defined. Make sure to define a problem matcher for watch tasks.",
250
244
  typeof taskId === 'string' ? taskId : JSON.stringify(taskId)
251
245
  ));
@@ -256,14 +250,14 @@ let DebugTaskRunner = class DebugTaskRunner {
256
250
  if (!hideSlowPreLaunchWarning) {
257
251
  store.add(disposableTimeout(() => {
258
252
  const message = ( localize(
259
- 6491,
253
+ 6734,
260
254
  "Waiting for preLaunchTask '{0}'...",
261
255
  task.configurationProperties.name
262
256
  ));
263
257
  const buttons = [DEBUG_ANYWAY_LABEL_NO_MEMO, ABORT_LABEL];
264
258
  const canConfigure = task instanceof CustomTask || task instanceof ConfiguringTask;
265
259
  if (canConfigure) {
266
- buttons.splice(1, 0, ( localize(6492, "Configure Task")));
260
+ buttons.splice(1, 0, ( localize(6735, "Configure Task")));
267
261
  }
268
262
  this.progressService.withProgress({ location: ProgressLocation.Notification, title: message, buttons }, () => result.catch(() => { }), (choice) => {
269
263
  if (choice === undefined) ;
@@ -1,7 +1,7 @@
1
1
  import { IActionViewItem } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionbar";
2
2
  import { DisposableStore } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
3
  import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions";
4
- import { IDropdownWithPrimaryActionViewItemOptions } from "@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem";
4
+ import { IDropdownWithPrimaryActionViewItemOptions } from "@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem";
5
5
  import { MenuItemAction } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
6
6
  import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service";
7
7
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
@@ -15,7 +15,7 @@ import { DisposableStore, MutableDisposable, markAsSingleton } from '@codingame/
15
15
  import { platform, Platform } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
16
16
  import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
17
17
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
18
- import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem';
18
+ import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem';
19
19
  import { createActionViewItem, getFlatActionBarActions } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
20
20
  import { MenuId, MenuRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
21
21
  import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
@@ -46,9 +46,9 @@ import { IWorkbenchLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/
46
46
  import { State, VIEWLET_ID, CONTEXT_DEBUG_STATE, CONTEXT_IN_DEBUG_MODE, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
47
47
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
48
48
  import { FocusSessionActionViewItem } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugActionViewItems';
49
- import { debugToolBarBackground, debugToolBarBorder } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugColors';
49
+ import { debugToolBarBackground, debugToolBarBorder } from '@codingame/monaco-vscode-afb6e5ca-fe46-5d5a-aa9c-f722ebefae39-common/vscode/vs/workbench/contrib/debug/browser/debugColors';
50
50
  import { FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, CONTINUE_ID, CONTINUE_LABEL, PAUSE_ID, PAUSE_LABEL, STOP_LABEL, DISCONNECT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, RESTART_SESSION_ID, RESTART_LABEL, STEP_BACK_ID, REVERSE_CONTINUE_ID, FOCUS_SESSION_LABEL, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
51
- import { debugGripper, debugContinue, debugPause, debugStop, debugDisconnect, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStepBack, debugReverseContinue } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
51
+ import { debugGripper, debugContinue, debugPause, debugStop, debugDisconnect, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStepBack, debugReverseContinue } from '@codingame/monaco-vscode-afb6e5ca-fe46-5d5a-aa9c-f722ebefae39-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
52
52
  import * as debugToolBar from './media/debugToolBar.css';
53
53
 
54
54
  registerCss(debugToolBar);
@@ -312,7 +312,7 @@ function createDisconnectMenuItemAction(action, disposables, accessor, options)
312
312
  if (!secondary.length) {
313
313
  return undefined;
314
314
  }
315
- const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(6493, "More...")), 'codicon-chevron-down', true)));
315
+ const dropdownAction = disposables.add(( new Action('notebook.moreRunActions', ( localize(6736, "More...")), 'codicon-chevron-down', true)));
316
316
  const item = instantiationService.createInstance(DropdownWithPrimaryActionViewItem, action, dropdownAction, secondary, 'debug-stop-actions', options);
317
317
  return item;
318
318
  }
@@ -370,8 +370,8 @@ registerDebugToolBarItem(STEP_OVER_ID, STEP_OVER_LABEL, 20, debugStepOver, undef
370
370
  registerDebugToolBarItem(STEP_INTO_ID, STEP_INTO_LABEL, 30, debugStepInto, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
371
371
  registerDebugToolBarItem(STEP_OUT_ID, STEP_OUT_LABEL, 40, debugStepOut, undefined, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
372
372
  registerDebugToolBarItem(RESTART_SESSION_ID, RESTART_LABEL, 60, debugRestart);
373
- registerDebugToolBarItem(STEP_BACK_ID, ( localize(6494, "Step Back")), 50, debugStepBack, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
374
- registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(6495, "Reverse")), 55, debugReverseContinue, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
373
+ registerDebugToolBarItem(STEP_BACK_ID, ( localize(6737, "Step Back")), 50, debugStepBack, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
374
+ registerDebugToolBarItem(REVERSE_CONTINUE_ID, ( localize(6738, "Reverse")), 55, debugReverseContinue, CONTEXT_STEP_BACK_SUPPORTED, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
375
375
  registerDebugToolBarItem(FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, 100, Codicon.listTree, ( ContextKeyExpr.and(CONTEXT_MULTI_SESSION_DEBUG, ( CONTEXT_TOOLBAR_COMMAND_CENTER.negate()))));
376
376
  MenuRegistry.appendMenuItem(MenuId.DebugToolBarStop, {
377
377
  group: 'navigation',
@@ -23,7 +23,7 @@ import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/w
23
23
  import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
24
24
  import { StartDebugActionViewItem, FocusSessionActionViewItem } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugActionViewItems';
25
25
  import { DEBUG_START_COMMAND_ID, FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, DEBUG_START_LABEL, DEBUG_CONFIGURE_LABEL, DEBUG_CONFIGURE_COMMAND_ID, SELECT_AND_START_ID } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
26
- import { debugConfigure } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
26
+ import { debugConfigure } from '@codingame/monaco-vscode-afb6e5ca-fe46-5d5a-aa9c-f722ebefae39-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
27
27
  import { createDisconnectMenuItemAction } from './debugToolBar.js';
28
28
  import { WelcomeView } from './welcomeView.js';
29
29
  import { VIEWLET_ID, CONTEXT_DEBUG_UX_KEY, State, BREAKPOINTS_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel, CONTEXT_DEBUG_UX, CONTEXT_DEBUGGERS_AVAILABLE, EDITOR_CONTRIBUTION_ID, REPL_VIEW_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
@@ -171,10 +171,10 @@ registerAction2(class extends Action2 {
171
171
  title: {
172
172
  value: DEBUG_CONFIGURE_LABEL,
173
173
  original: 'Open \'launch.json\'',
174
- mnemonicTitle: ( localize(6496, "Open &&Configurations"))
174
+ mnemonicTitle: ( localize(6739, "Open &&Configurations"))
175
175
  },
176
176
  metadata: {
177
- description: ( localize2(6497, 'Opens the file used to configure how your program is debugged'))
177
+ description: ( localize2(6740, 'Opens the file used to configure how your program is debugged'))
178
178
  },
179
179
  f1: true,
180
180
  icon: debugConfigure,
@@ -214,7 +214,7 @@ registerAction2(class extends Action2 {
214
214
  const picked = await quickInputService.pick(picks, {
215
215
  activeItem: picks[0],
216
216
  placeHolder: ( localize(
217
- 6498,
217
+ 6741,
218
218
  "Select a workspace folder to create a launch.json file in or add it to the workspace config file"
219
219
  ))
220
220
  });
@@ -238,7 +238,7 @@ registerAction2(class extends Action2 {
238
238
  constructor() {
239
239
  super({
240
240
  id: 'debug.toggleReplIgnoreFocus',
241
- title: ( localize(6499, "Debug Console")),
241
+ title: ( localize(6742, "Debug Console")),
242
242
  toggled: ( ContextKeyExpr.has(`view.${REPL_VIEW_ID}.visible`)),
243
243
  menu: [{
244
244
  id: ViewsSubMenu,
@@ -263,7 +263,7 @@ MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
263
263
  order: 10,
264
264
  command: {
265
265
  id: SELECT_AND_START_ID,
266
- title: ( localize(6500, "Start Additional Session")),
266
+ title: ( localize(6743, "Start Additional Session")),
267
267
  }
268
268
  });
269
269
 
@@ -10,7 +10,7 @@ import { Constants } from '@codingame/monaco-vscode-api/vscode/vs/base/common/ui
10
10
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
11
11
  import { applyFontInfo } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/config/domFontInfo';
12
12
  import { isCodeEditor } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser';
13
- import { BareFontInfo } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/fontInfo';
13
+ import { createBareFontInfoFromRawSettings } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/fontInfoFromSettings';
14
14
  import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
15
15
  import { StringBuilder } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/stringBuilder';
16
16
  import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
@@ -38,7 +38,7 @@ import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/t
38
38
  import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
39
39
  import { EditorPane } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/parts/editor/editorPane';
40
40
  import { topStackFrameColor, focusedStackFrameColor } from '@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
41
- import { breakpoint, debugBreakpointHint, debugStackframe, debugStackframeFocused } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
41
+ import { breakpoint, debugBreakpointHint, debugStackframe, debugStackframeFocused } from '@codingame/monaco-vscode-afb6e5ca-fe46-5d5a-aa9c-f722ebefae39-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
42
42
  import { DISASSEMBLY_VIEW_ID, State, CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
43
43
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
44
44
  import { InstructionBreakpoint } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
@@ -64,7 +64,7 @@ const disassemblyNotAvailable = {
64
64
  address: 0n,
65
65
  instruction: {
66
66
  address: '-1',
67
- instruction: ( localize(6501, "Disassembly not available."))
67
+ instruction: ( localize(6744, "Disassembly not available."))
68
68
  },
69
69
  };
70
70
  let DisassemblyView = class DisassemblyView extends EditorPane {
@@ -109,7 +109,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
109
109
  return this._fontInfo;
110
110
  }
111
111
  createFontInfo() {
112
- return BareFontInfo.createFromRawSettings(this._configurationService.getValue('editor'), PixelRatio.getInstance(this.window).value);
112
+ return createBareFontInfoFromRawSettings(this._configurationService.getValue('editor'), PixelRatio.getInstance(this.window).value);
113
113
  }
114
114
  get currentInstructionAddresses() {
115
115
  return ( ( ( ( this._debugService.getModel().getSessions(false).
@@ -182,7 +182,7 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
182
182
  project(row) { return row; }
183
183
  },
184
184
  {
185
- label: ( localize(6502, "instructions")),
185
+ label: ( localize(6745, "instructions")),
186
186
  tooltip: '',
187
187
  weight: 0.3,
188
188
  templateId: InstructionRenderer.TEMPLATE_ID,
@@ -208,6 +208,9 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
208
208
  this.reloadDisassembly(this.focusedInstructionReference, 0);
209
209
  }
210
210
  this._register(this._disassembledInstructions.onDidScroll(e => {
211
+ if (this._disassembledInstructions?.row(0) === disassemblyNotAvailable) {
212
+ return;
213
+ }
211
214
  if (this._loadingLock) {
212
215
  return;
213
216
  }
@@ -218,12 +221,11 @@ let DisassemblyView = class DisassemblyView extends EditorPane {
218
221
  if (loaded > 0) {
219
222
  this._disassembledInstructions.reveal(prevTop + loaded, 0);
220
223
  }
221
- this._loadingLock = false;
222
- });
224
+ }).finally(() => { this._loadingLock = false; });
223
225
  }
224
226
  else if (e.oldScrollTop < e.scrollTop && e.scrollTop + e.height > e.scrollHeight - e.height) {
225
227
  this._loadingLock = true;
226
- this.scrollDown_LoadDisassembledInstructions(DisassemblyView_1.NUM_INSTRUCTIONS_TO_LOAD).then(() => { this._loadingLock = false; });
228
+ this.scrollDown_LoadDisassembledInstructions(DisassemblyView_1.NUM_INSTRUCTIONS_TO_LOAD).finally(() => { this._loadingLock = false; });
227
229
  }
228
230
  }));
229
231
  this._register(this._disassembledInstructions.onContextMenu(e => this.onContextMenu(e)));
@@ -732,7 +734,7 @@ let InstructionRenderer = class InstructionRenderer extends Disposable {
732
734
  };
733
735
  this.editorService.openEditor({
734
736
  resource: sourceURI,
735
- description: ( localize(6503, "from disassembly")),
737
+ description: ( localize(6746, "from disassembly")),
736
738
  options: {
737
739
  preserveFocus: false,
738
740
  selection: selection,
@@ -767,18 +769,18 @@ InstructionRenderer = InstructionRenderer_1 = ( __decorate([
767
769
  ], InstructionRenderer));
768
770
  class AccessibilityProvider {
769
771
  getWidgetAriaLabel() {
770
- return localize(6504, "Disassembly View");
772
+ return localize(6747, "Disassembly View");
771
773
  }
772
774
  getAriaLabel(element) {
773
775
  let label = '';
774
776
  const instruction = element.instruction;
775
777
  if (instruction.address !== '-1') {
776
- label += `${( localize(6505, "Address"))}: ${instruction.address}`;
778
+ label += `${( localize(6748, "Address"))}: ${instruction.address}`;
777
779
  }
778
780
  if (instruction.instructionBytes) {
779
- label += `, ${( localize(6506, "Bytes"))}: ${instruction.instructionBytes}`;
781
+ label += `, ${( localize(6749, "Bytes"))}: ${instruction.instructionBytes}`;
780
782
  }
781
- label += `, ${( localize(6507, "Instruction"))}: ${instruction.instruction}`;
783
+ label += `, ${( localize(6750, "Instruction"))}: ${instruction.instruction}`;
782
784
  return label;
783
785
  }
784
786
  }
@@ -27,7 +27,7 @@ let BrowserExtensionHostDebugService = class BrowserExtensionHostDebugService ex
27
27
  channel = connection.getChannel(ExtensionHostDebugBroadcastChannel.ChannelName);
28
28
  }
29
29
  else {
30
- channel = { call: async () => undefined, listen: () => Event.None };
30
+ channel = { call: async () => Promise.resolve(undefined), listen: () => Event.None };
31
31
  }
32
32
  super(channel);
33
33
  this.storageService = storageService;
@@ -26,7 +26,7 @@ import { WorkbenchCompressibleObjectTree } from '@codingame/monaco-vscode-api/vs
26
26
  import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
27
27
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
28
28
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
29
- import { ResourceLabels } from '@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/workbench/browser/labels';
29
+ import { ResourceLabels } from '@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common/vscode/vs/workbench/browser/labels';
30
30
  import { ViewPane, ViewAction } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
31
31
  import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
32
32
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
@@ -563,7 +563,7 @@ class LoadedScriptsRenderer {
563
563
  options.fileKind = FileKind.ROOT_FOLDER;
564
564
  }
565
565
  else if (element instanceof SessionTreeItem) {
566
- options.title = ( localize(6519, "Debug Session"));
566
+ options.title = ( localize(6762, "Debug Session"));
567
567
  options.hideIcon = true;
568
568
  }
569
569
  else if (element instanceof BaseTreeItem) {
@@ -585,20 +585,20 @@ class LoadedScriptsRenderer {
585
585
  }
586
586
  class LoadedSciptsAccessibilityProvider {
587
587
  getWidgetAriaLabel() {
588
- return localize(6520, "Debug Loaded Scripts");
588
+ return localize(6763, "Debug Loaded Scripts");
589
589
  }
590
590
  getAriaLabel(element) {
591
591
  if (element instanceof RootFolderTreeItem) {
592
- return localize(6521, "Workspace folder {0}, loaded script, debug", element.getLabel());
592
+ return localize(6764, "Workspace folder {0}, loaded script, debug", element.getLabel());
593
593
  }
594
594
  if (element instanceof SessionTreeItem) {
595
- return localize(6522, "Session {0}, loaded script, debug", element.getLabel());
595
+ return localize(6765, "Session {0}, loaded script, debug", element.getLabel());
596
596
  }
597
597
  if (element.hasChildren()) {
598
- return localize(6523, "Folder {0}, loaded script, debug", element.getLabel());
598
+ return localize(6766, "Folder {0}, loaded script, debug", element.getLabel());
599
599
  }
600
600
  else {
601
- return localize(6524, "{0}, loaded script, debug", element.getLabel());
601
+ return localize(6767, "{0}, loaded script, debug", element.getLabel());
602
602
  }
603
603
  }
604
604
  }
@@ -625,7 +625,7 @@ registerAction2(class Collapse extends ViewAction {
625
625
  super({
626
626
  id: 'loadedScripts.collapse',
627
627
  viewId: LOADED_SCRIPTS_VIEW_ID,
628
- title: ( localize(6525, "Collapse All")),
628
+ title: ( localize(6768, "Collapse All")),
629
629
  f1: false,
630
630
  icon: Codicon.collapseAll,
631
631
  menu: {
@@ -194,7 +194,7 @@ let RawDebugSession = class RawDebugSession {
194
194
  }
195
195
  async start() {
196
196
  if (!this.debugAdapter) {
197
- return Promise.reject(( new Error(( localize(6526, "No debug adapter, can not start debug session.")))));
197
+ return Promise.reject(( new Error(( localize(6769, "No debug adapter, can not start debug session.")))));
198
198
  }
199
199
  await this.debugAdapter.startSession();
200
200
  this.startTime = ( new Date()).getTime();
@@ -518,10 +518,10 @@ let RawDebugSession = class RawDebugSession {
518
518
  const { confirmed } = await this.dialogSerivce.confirm({
519
519
  type: Severity.Warning,
520
520
  message: ( localize(
521
- 6527,
521
+ 6770,
522
522
  "The debugger needs to open a new tab or window for the debuggee but the browser prevented this. You must give permission to continue."
523
523
  )),
524
- primaryButton: ( localize(6528, "&&Continue"))
524
+ primaryButton: ( localize(6771, "&&Continue"))
525
525
  });
526
526
  if (confirmed) {
527
527
  result = await this.launchVsCode(request.arguments);
@@ -621,7 +621,7 @@ let RawDebugSession = class RawDebugSession {
621
621
  completeDispatch(undefined);
622
622
  }
623
623
  else {
624
- errorDispatch(( new Error(( localize(6529, "No debugger available found. Can not send '{0}'.", command)))));
624
+ errorDispatch(( new Error(( localize(6772, "No debugger available found. Can not send '{0}'.", command)))));
625
625
  }
626
626
  return;
627
627
  }
@@ -654,7 +654,7 @@ let RawDebugSession = class RawDebugSession {
654
654
  const userMessage = error ? formatPII(error.format, false, error.variables) : errorMessage;
655
655
  const url = error?.url;
656
656
  if (error && url) {
657
- const label = error.urlLabel ? error.urlLabel : ( localize(6530, "More Info"));
657
+ const label = error.urlLabel ? error.urlLabel : ( localize(6773, "More Info"));
658
658
  const uri = ( URI.parse(url));
659
659
  const actionId = uri.scheme === Schemas.command ? 'debug.moreInfo.command' : 'debug.moreInfo';
660
660
  return createErrorWithActions(userMessage, [toAction({ id: actionId, label, run: () => this.openerService.open(uri, { allowCommands: true }) })]);
@@ -42,41 +42,41 @@ class ReplAccessibilityHelpProvider extends Disposable {
42
42
  provideContent() {
43
43
  return [
44
44
  ( localize(
45
- 6549,
45
+ 6792,
46
46
  "The debug console is a Read-Eval-Print-Loop that allows you to evaluate expressions and run commands and can be focused with{0}.",
47
47
  '<keybinding:workbench.panel.repl.view.focus>'
48
48
  )),
49
49
  ( localize(
50
- 6550,
50
+ 6793,
51
51
  "The debug console output can be navigated to from the input field with the Focus Previous Widget command{0}.",
52
52
  '<keybinding:widgetNavigation.focusPrevious>'
53
53
  )),
54
54
  ( localize(
55
- 6551,
55
+ 6794,
56
56
  "The debug console input can be navigated to from the output with the Focus Next Widget command{0}.",
57
57
  '<keybinding:widgetNavigation.focusNext>'
58
58
  )),
59
59
  ( localize(
60
- 6552,
60
+ 6795,
61
61
  "The debug console output history can be navigated with the up and down arrow keys."
62
62
  )),
63
63
  ( localize(
64
- 6553,
64
+ 6796,
65
65
  "The Open Accessible View command{0} will allow character by character navigation of the console output.",
66
66
  '<keybinding:editor.action.accessibleView>'
67
67
  )),
68
68
  ( localize(
69
- 6554,
69
+ 6797,
70
70
  "The Show Run and Debug view command{0} will open the Run and Debug view and provides more information about debugging.",
71
71
  '<keybinding:workbench.view.debug>'
72
72
  )),
73
73
  ( localize(
74
- 6555,
74
+ 6798,
75
75
  "The Debug: Clear Console command{0} will clear the console output.",
76
76
  '<keybinding:workbench.debug.panel.action.clearReplAction>'
77
77
  )),
78
78
  ( localize(
79
- 6556,
79
+ 6799,
80
80
  "The setting `debug.expandLazyVariables` controls whether variables are evaluated automatically. This is enabled by default when using a screen reader."
81
81
  )),
82
82
  ].join('\n');
@@ -53,79 +53,79 @@ let RunAndDebugAccessibilityHelpProvider = class RunAndDebugAccessibilityHelpPro
53
53
  provideContent() {
54
54
  return [
55
55
  ( localize(
56
- 6562,
56
+ 6805,
57
57
  "The Show Run and Debug view command{0} will open the current view.",
58
58
  '<keybinding:workbench.view.debug>'
59
59
  )),
60
60
  ( localize(
61
- 6563,
61
+ 6806,
62
62
  "The Debug: Start Debugging command{0} will start a debug session.",
63
63
  '<keybinding:workbench.action.debug.start>'
64
64
  )),
65
65
  ( localize(
66
- 6564,
66
+ 6807,
67
67
  "Access debug output and evaluate expressions in the debug console, which can be focused with{0}.",
68
68
  '<keybinding:workbench.panel.repl.view.focus>'
69
69
  )),
70
70
  AccessibilityHelpNLS.setBreakpoint,
71
71
  AccessibilityHelpNLS.addToWatch,
72
- ( localize(6565, "Once debugging, the following commands will be available:")),
72
+ ( localize(6808, "Once debugging, the following commands will be available:")),
73
73
  ( localize(
74
- 6566,
74
+ 6809,
75
75
  "- Debug: Restart Debugging command{0} will restart the current debug session.",
76
76
  '<keybinding:workbench.action.debug.restart>'
77
77
  )),
78
78
  ( localize(
79
- 6567,
79
+ 6810,
80
80
  "- Debug: Stop Debugging command{0} will stop the current debugging session.",
81
81
  '<keybinding:workbench.action.debug.stop>'
82
82
  )),
83
83
  ( localize(
84
- 6568,
84
+ 6811,
85
85
  "- Debug: Continue command{0} will continue execution until the next breakpoint.",
86
86
  '<keybinding:workbench.action.debug.continue>'
87
87
  )),
88
88
  ( localize(
89
- 6569,
89
+ 6812,
90
90
  "- Debug: Step Into command{0} will step into the next function call.",
91
91
  '<keybinding:workbench.action.debug.stepInto>'
92
92
  )),
93
93
  ( localize(
94
- 6570,
94
+ 6813,
95
95
  "- Debug: Step Over command{0} will step over the current function call.",
96
96
  '<keybinding:workbench.action.debug.stepOver>'
97
97
  )),
98
98
  ( localize(
99
- 6571,
99
+ 6814,
100
100
  "- Debug: Step Out command{0} will step out of the current function call.",
101
101
  '<keybinding:workbench.action.debug.stepOut>'
102
102
  )),
103
103
  ( localize(
104
- 6572,
104
+ 6815,
105
105
  'The debug viewlet is comprised of several views that can be focused with the following commands or navigated to via tab then arrow keys:'
106
106
  )),
107
107
  ( localize(
108
- 6573,
108
+ 6816,
109
109
  "- Debug: Focus Breakpoints View command{0} will focus the breakpoints view.",
110
110
  '<keybinding:workbench.debug.action.focusBreakpointsView>'
111
111
  )),
112
112
  ( localize(
113
- 6574,
113
+ 6817,
114
114
  "- Debug: Focus Call Stack View command{0} will focus the call stack view.",
115
115
  '<keybinding:workbench.debug.action.focusCallStackView>'
116
116
  )),
117
117
  ( localize(
118
- 6575,
118
+ 6818,
119
119
  "- Debug: Focus Variables View command{0} will focus the variables view.",
120
120
  '<keybinding:workbench.debug.action.focusVariablesView>'
121
121
  )),
122
122
  ( localize(
123
- 6576,
123
+ 6819,
124
124
  "- Debug: Focus Watch View command{0} will focus the watch view.",
125
125
  '<keybinding:workbench.debug.action.focusWatchView>'
126
126
  )),
127
127
  ( localize(
128
- 6577,
128
+ 6820,
129
129
  "The setting {0} controls whether watch variable changes are announced.",
130
130
  'accessibility.debugWatchVariableAnnouncements'
131
131
  )),
@@ -27,7 +27,7 @@ const STATUS_BAR_DEBUGGING_BACKGROUND = registerColor('statusBar.debuggingBackgr
27
27
  hcDark: '#BA592C',
28
28
  hcLight: '#B5200D'
29
29
  }, ( localize(
30
- 6578,
30
+ 6821,
31
31
  "Status bar background color when a program is being debugged. The status bar is shown in the bottom of the window"
32
32
  )));
33
33
  const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForeground', {
@@ -36,14 +36,14 @@ const STATUS_BAR_DEBUGGING_FOREGROUND = registerColor('statusBar.debuggingForegr
36
36
  hcDark: STATUS_BAR_FOREGROUND,
37
37
  hcLight: '#FFFFFF'
38
38
  }, ( localize(
39
- 6579,
39
+ 6822,
40
40
  "Status bar foreground color when a program is being debugged. The status bar is shown in the bottom of the window"
41
41
  )));
42
42
  const STATUS_BAR_DEBUGGING_BORDER = registerColor('statusBar.debuggingBorder', STATUS_BAR_BORDER, ( localize(
43
- 6580,
43
+ 6823,
44
44
  "Status bar border color separating to the sidebar and editor when a program is being debugged. The status bar is shown in the bottom of the window"
45
45
  )));
46
- const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(6581, "Command center background color when a program is being debugged")), true);
46
+ const COMMAND_CENTER_DEBUGGING_BACKGROUND = registerColor('commandCenter.debuggingBackground', ( transparent(STATUS_BAR_DEBUGGING_BACKGROUND, 0.258)), ( localize(6824, "Command center background color when a program is being debugged")), true);
47
47
  let StatusBarColorProvider = class StatusBarColorProvider {
48
48
  set enabled(enabled) {
49
49
  if (enabled === !!this.disposable) {