@codingame/monaco-vscode-debug-service-override 19.1.4 → 20.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 (34) hide show
  1. package/package.json +16 -16
  2. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
  3. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +114 -111
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +10 -10
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +26 -24
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.d.ts +1 -1
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +3 -3
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
  19. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +7 -7
  20. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +8 -8
  21. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
  22. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
  23. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
  24. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  25. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
  26. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
  27. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +1 -3
  28. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +66 -26
  29. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
  30. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  32. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  33. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
@@ -6,7 +6,7 @@ import { distinct } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arr
6
6
  import { RunOnceScheduler, raceTimeout } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
7
7
  import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
8
8
  import { isErrorWithActions } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errorMessage';
9
- import { isCancellationError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
9
+ import { isCancellationError, canceledName } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
10
10
  import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
11
11
  import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
12
12
  import { deepClone, equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
@@ -32,7 +32,7 @@ import { IWorkspaceTrustRequestService } from '@codingame/monaco-vscode-api/vsco
32
32
  import { EditorsOrder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
33
33
  import { ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
34
34
  import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
35
- import { NumberBadge } from '@codingame/monaco-vscode-937ecbdf-94c7-5b16-aefa-ad78ae557a93-common/vscode/vs/workbench/services/activity/common/activity';
35
+ import { NumberBadge } from '@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/workbench/services/activity/common/activity';
36
36
  import { IActivityService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/activity/common/activity.service';
37
37
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
38
38
  import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
@@ -142,7 +142,7 @@ let DebugService = class DebugService {
142
142
  if (numberOfSessions > 0) {
143
143
  const viewContainer = this.viewDescriptorService.getViewContainerByViewId(CALLSTACK_VIEW_ID);
144
144
  if (viewContainer) {
145
- this.activity = this.activityService.showViewContainerActivity(viewContainer.id, { badge: ( new NumberBadge(numberOfSessions, n => n === 1 ? ( localize(6107, "1 active session")) : ( localize(6108, "{0} active sessions", n)))) });
145
+ this.activity = this.activityService.showViewContainerActivity(viewContainer.id, { badge: ( new NumberBadge(numberOfSessions, n => n === 1 ? ( localize(6225, "1 active session")) : ( localize(6226, "{0} active sessions", n)))) });
146
146
  }
147
147
  }
148
148
  }));
@@ -164,7 +164,7 @@ let DebugService = class DebugService {
164
164
  }
165
165
  }));
166
166
  this.disposables.add(extensionService.onWillStop(evt => {
167
- evt.veto(this.model.getSessions().length > 0, ( localize(6109, 'A debug session is still running that would terminate.')));
167
+ evt.veto(this.model.getSessions().length > 0, ( localize(6227, 'A debug session is still running that would terminate.')));
168
168
  }));
169
169
  this.initContextKeys(contextKeyService);
170
170
  }
@@ -273,8 +273,8 @@ let DebugService = class DebugService {
273
273
  }
274
274
  }
275
275
  async startDebugging(launch, configOrName, options, saveBeforeStart = !options?.parentSession) {
276
- const message = options && options.noDebug ? ( localize(6110, "Running executes build tasks and program code from your workspace.")) : ( localize(
277
- 6111,
276
+ const message = options && options.noDebug ? ( localize(6228, "Running executes build tasks and program code from your workspace.")) : ( localize(
277
+ 6229,
278
278
  "Debugging executes build tasks and program code from your workspace."
279
279
  ));
280
280
  const trust = await this.workspaceTrustRequestService.requestWorkspaceTrust({ message });
@@ -305,7 +305,7 @@ let DebugService = class DebugService {
305
305
  if (compound) {
306
306
  if (!compound.configurations) {
307
307
  throw ( new Error(( localize(
308
- 6112,
308
+ 6230,
309
309
  "Compound must have \"configurations\" attribute set in order to start multiple configurations."
310
310
  ))));
311
311
  }
@@ -334,9 +334,9 @@ let DebugService = class DebugService {
334
334
  launchForName = launch;
335
335
  }
336
336
  else {
337
- throw ( new Error(launchesContainingName.length === 0 ? ( localize(6113, "Could not find launch configuration '{0}' in the workspace.", name))
337
+ throw ( new Error(launchesContainingName.length === 0 ? ( localize(6231, "Could not find launch configuration '{0}' in the workspace.", name))
338
338
  : ( localize(
339
- 6114,
339
+ 6232,
340
340
  "There are multiple launch configurations '{0}' in the workspace. Use folder name to qualify the configuration.",
341
341
  name
342
342
  ))));
@@ -349,7 +349,7 @@ let DebugService = class DebugService {
349
349
  }
350
350
  else {
351
351
  throw ( new Error(( localize(
352
- 6115,
352
+ 6233,
353
353
  "Can not find folder with name '{0}' for configuration '{1}' in compound '{2}'.",
354
354
  configData.folder,
355
355
  configData.name,
@@ -365,11 +365,11 @@ let DebugService = class DebugService {
365
365
  }
366
366
  if (configOrName && !config) {
367
367
  const message = !!launch ? ( localize(
368
- 6116,
368
+ 6234,
369
369
  "Configuration '{0}' is missing in 'launch.json'.",
370
370
  typeof configOrName === 'string' ? configOrName : configOrName.name
371
371
  )) :
372
- ( localize(6117, "'launch.json' does not exist for passed workspace folder."));
372
+ ( localize(6235, "'launch.json' does not exist for passed workspace folder."));
373
373
  throw ( new Error(message));
374
374
  }
375
375
  const result = await this.createSession(launch, config, options);
@@ -457,23 +457,23 @@ let DebugService = class DebugService {
457
457
  let message;
458
458
  if (configByProviders.request !== 'attach' && configByProviders.request !== 'launch') {
459
459
  message = configByProviders.request ? ( localize(
460
- 6118,
460
+ 6236,
461
461
  "Attribute '{0}' has an unsupported value '{1}' in the chosen debug configuration.",
462
462
  'request',
463
463
  configByProviders.request
464
464
  ))
465
465
  : ( localize(
466
- 6119,
466
+ 6237,
467
467
  "Attribute '{0}' is missing from the chosen debug configuration.",
468
468
  'request'
469
469
  ));
470
470
  }
471
471
  else {
472
- message = resolvedConfig.type ? ( localize(6120, "Configured debug type '{0}' is not supported.", resolvedConfig.type)) :
473
- ( localize(6121, "Missing property 'type' for the chosen launch configuration."));
472
+ message = resolvedConfig.type ? ( localize(6238, "Configured debug type '{0}' is not supported.", resolvedConfig.type)) :
473
+ ( localize(6239, "Missing property 'type' for the chosen launch configuration."));
474
474
  }
475
475
  const actionList = [];
476
- actionList.push(( new Action('installAdditionalDebuggers', ( localize(6122, "Install {0} Extension", resolvedConfig.type)), undefined, true, async () => this.commandService.executeCommand('debug.installAdditionalDebuggers', resolvedConfig?.type))));
476
+ actionList.push(( new Action('installAdditionalDebuggers', ( localize(6240, "Install {0} Extension", resolvedConfig.type)), undefined, true, async () => this.commandService.executeCommand('debug.installAdditionalDebuggers', resolvedConfig?.type))));
477
477
  await this.showError(message, actionList);
478
478
  return false;
479
479
  }
@@ -494,7 +494,7 @@ let DebugService = class DebugService {
494
494
  }
495
495
  else if (this.contextService.getWorkbenchState() === WorkbenchState.EMPTY) {
496
496
  await this.showError(( localize(
497
- 6123,
497
+ 6241,
498
498
  "The active file can not be debugged. Make sure it is saved and that you have a debug extension installed for that file type."
499
499
  )));
500
500
  }
@@ -513,7 +513,7 @@ let DebugService = class DebugService {
513
513
  const session = this.instantiationService.createInstance(DebugSession, sessionId, configuration, root, this.model, options);
514
514
  if (options?.startedByUser && ( this.model.getSessions().some(s => s.getLabel() === session.getLabel())) && configuration.resolved.suppressMultipleSessionWarning !== true) {
515
515
  const result = await this.dialogService.confirm({ message: ( localize(
516
- 6124,
516
+ 6242,
517
517
  "'{0}' is already running. Do you want to start another instance?",
518
518
  session.getLabel()
519
519
  )) });
@@ -604,7 +604,7 @@ let DebugService = class DebugService {
604
604
  if (adapterExitEvent) {
605
605
  if (adapterExitEvent.error) {
606
606
  this.notificationService.error(( localize(
607
- 6125,
607
+ 6243,
608
608
  "Debug adapter process has terminated unexpectedly ({0})",
609
609
  adapterExitEvent.error.message || ( adapterExitEvent.error.toString())
610
610
  )));
@@ -807,7 +807,9 @@ let DebugService = class DebugService {
807
807
  return await dbg.substituteVariables(folder, config);
808
808
  }
809
809
  catch (err) {
810
- this.showError(err.message, undefined, !!launch?.getConfiguration(config.name));
810
+ if (err.message !== canceledName) {
811
+ this.showError(err.message, undefined, !!launch?.getConfiguration(config.name));
812
+ }
811
813
  return undefined;
812
814
  }
813
815
  }
@@ -848,7 +850,7 @@ let DebugService = class DebugService {
848
850
  if (lineNumber >= 1 && lineNumber <= model.getLineCount()) {
849
851
  const lineContent = control.getModel().getLineContent(lineNumber);
850
852
  alert(( localize(
851
- 6126,
853
+ 6244,
852
854
  "{0}, debugging paused {1}, {2}:{3}",
853
855
  lineContent,
854
856
  thread && thread.stoppedDetails ? `, reason ${thread.stoppedDetails.reason}` : '',
@@ -921,7 +923,7 @@ let DebugService = class DebugService {
921
923
  async addBreakpoints(uri, rawBreakpoints, ariaAnnounce = true) {
922
924
  const breakpoints = this.model.addBreakpoints(uri, rawBreakpoints);
923
925
  if (ariaAnnounce) {
924
- breakpoints.forEach(bp => status(( localize(6127, "Added breakpoint, line {0}, file {1}", bp.lineNumber, uri.fsPath))));
926
+ breakpoints.forEach(bp => status(( localize(6245, "Added breakpoint, line {0}, file {1}", bp.lineNumber, uri.fsPath))));
925
927
  }
926
928
  this.debugStorage.storeBreakpoints(this.model);
927
929
  await this.sendBreakpoints(uri);
@@ -943,7 +945,7 @@ let DebugService = class DebugService {
943
945
  const breakpoints = this.model.getBreakpoints();
944
946
  const toRemove = breakpoints.filter(bp => !id || bp.getId() === id);
945
947
  toRemove.forEach(bp => status(( localize(
946
- 6128,
948
+ 6246,
947
949
  "Removed breakpoint, line {0}, file {1}",
948
950
  bp.lineNumber,
949
951
  bp.uri.fsPath
@@ -22,7 +22,7 @@ import { IAccessibilityService } from '@codingame/monaco-vscode-api/vscode/vs/pl
22
22
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
23
23
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
24
24
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
25
- import { FocusMode } from '@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common/vscode/vs/platform/native/common/native';
25
+ import { FocusMode } from '@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/platform/native/common/native';
26
26
  import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
27
27
  import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
28
28
  import { TelemetryLevel } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry';
@@ -291,7 +291,7 @@ let DebugSession = class DebugSession {
291
291
  }
292
292
  async launchOrAttach(config) {
293
293
  if (!this.raw) {
294
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'launch or attach'))));
294
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'launch or attach'))));
295
295
  }
296
296
  if (this.parentSession && this.parentSession.state === State.Inactive) {
297
297
  throw canceled();
@@ -351,7 +351,7 @@ let DebugSession = class DebugSession {
351
351
  }
352
352
  async restart() {
353
353
  if (!this.raw) {
354
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'restart'))));
354
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'restart'))));
355
355
  }
356
356
  this.cancelAllRequests();
357
357
  if (this._options.lifecycleManagedByParent && this.parentSession) {
@@ -363,7 +363,7 @@ let DebugSession = class DebugSession {
363
363
  }
364
364
  async sendBreakpoints(modelUri, breakpointsToSend, sourceModified) {
365
365
  if (!this.raw) {
366
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'breakpoints'))));
366
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'breakpoints'))));
367
367
  }
368
368
  if (!this.raw.readyForBreakpoints) {
369
369
  return Promise.resolve(undefined);
@@ -391,7 +391,7 @@ let DebugSession = class DebugSession {
391
391
  }
392
392
  async sendFunctionBreakpoints(fbpts) {
393
393
  if (!this.raw) {
394
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'function breakpoints'))));
394
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'function breakpoints'))));
395
395
  }
396
396
  if (this.raw.readyForBreakpoints) {
397
397
  const response = await this.raw.setFunctionBreakpoints({ breakpoints: ( fbpts.map(bp => bp.toDAP())) });
@@ -406,7 +406,7 @@ let DebugSession = class DebugSession {
406
406
  }
407
407
  async sendExceptionBreakpoints(exbpts) {
408
408
  if (!this.raw) {
409
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'exception breakpoints'))));
409
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'exception breakpoints'))));
410
410
  }
411
411
  if (this.raw.readyForBreakpoints) {
412
412
  const args = this.capabilities.supportsExceptionFilterOptions ? {
@@ -430,7 +430,7 @@ let DebugSession = class DebugSession {
430
430
  }
431
431
  dataBytesBreakpointInfo(address, bytes) {
432
432
  if (this.raw?.capabilities.supportsDataBreakpointBytes === false) {
433
- throw ( new Error(( localize(6130, "Session does not support breakpoints with bytes"))));
433
+ throw ( new Error(( localize(6248, "Session does not support breakpoints with bytes"))));
434
434
  }
435
435
  return this._dataBreakpointInfo({ name: address, bytes, asAddress: true });
436
436
  }
@@ -439,17 +439,17 @@ let DebugSession = class DebugSession {
439
439
  }
440
440
  async _dataBreakpointInfo(args) {
441
441
  if (!this.raw) {
442
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'data breakpoints info'))));
442
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'data breakpoints info'))));
443
443
  }
444
444
  if (!this.raw.readyForBreakpoints) {
445
- throw ( new Error(( localize(6131, "Session is not ready for breakpoints"))));
445
+ throw ( new Error(( localize(6249, "Session is not ready for breakpoints"))));
446
446
  }
447
447
  const response = await this.raw.dataBreakpointInfo(args);
448
448
  return response?.body;
449
449
  }
450
450
  async sendDataBreakpoints(dataBreakpoints) {
451
451
  if (!this.raw) {
452
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'data breakpoints'))));
452
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'data breakpoints'))));
453
453
  }
454
454
  if (this.raw.readyForBreakpoints) {
455
455
  const converted = await Promise.all(( dataBreakpoints.map(async (bp) => {
@@ -480,7 +480,7 @@ let DebugSession = class DebugSession {
480
480
  async sendInstructionBreakpoints(instructionBreakpoints) {
481
481
  if (!this.raw) {
482
482
  throw ( new Error(( localize(
483
- 6129,
483
+ 6247,
484
484
  "No debugger available, can not send '{0}'",
485
485
  'instruction breakpoints'
486
486
  ))));
@@ -498,7 +498,7 @@ let DebugSession = class DebugSession {
498
498
  }
499
499
  async breakpointsLocations(uri, lineNumber) {
500
500
  if (!this.raw) {
501
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'breakpoints locations'))));
501
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'breakpoints locations'))));
502
502
  }
503
503
  const source = this.getRawSource(uri);
504
504
  const response = await this.raw.breakpointLocations({ source, line: lineNumber });
@@ -513,20 +513,20 @@ let DebugSession = class DebugSession {
513
513
  }
514
514
  customRequest(request, args) {
515
515
  if (!this.raw) {
516
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", request))));
516
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", request))));
517
517
  }
518
518
  return this.raw.custom(request, args);
519
519
  }
520
520
  stackTrace(threadId, startFrame, levels, token) {
521
521
  if (!this.raw) {
522
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'stackTrace'))));
522
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'stackTrace'))));
523
523
  }
524
524
  const sessionToken = this.getNewCancellationToken(threadId, token);
525
525
  return this.raw.stackTrace({ threadId, startFrame, levels }, sessionToken);
526
526
  }
527
527
  async exceptionInfo(threadId) {
528
528
  if (!this.raw) {
529
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'exceptionInfo'))));
529
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'exceptionInfo'))));
530
530
  }
531
531
  const response = await this.raw.exceptionInfo({ threadId });
532
532
  if (response) {
@@ -541,28 +541,28 @@ let DebugSession = class DebugSession {
541
541
  }
542
542
  scopes(frameId, threadId) {
543
543
  if (!this.raw) {
544
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'scopes'))));
544
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'scopes'))));
545
545
  }
546
546
  const token = this.getNewCancellationToken(threadId);
547
547
  return this.raw.scopes({ frameId }, token);
548
548
  }
549
549
  variables(variablesReference, threadId, filter, start, count) {
550
550
  if (!this.raw) {
551
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'variables'))));
551
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'variables'))));
552
552
  }
553
553
  const token = threadId ? this.getNewCancellationToken(threadId) : undefined;
554
554
  return this.raw.variables({ variablesReference, filter, start, count }, token);
555
555
  }
556
556
  evaluate(expression, frameId, context, location) {
557
557
  if (!this.raw) {
558
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'evaluate'))));
558
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'evaluate'))));
559
559
  }
560
560
  return this.raw.evaluate({ expression, frameId, context, line: location?.line, column: location?.column, source: location?.source });
561
561
  }
562
562
  async restartFrame(frameId, threadId) {
563
563
  await this.waitForTriggeredBreakpoints();
564
564
  if (!this.raw) {
565
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'restartFrame'))));
565
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'restartFrame'))));
566
566
  }
567
567
  await this.raw.restartFrame({ frameId }, threadId);
568
568
  }
@@ -575,7 +575,7 @@ let DebugSession = class DebugSession {
575
575
  async next(threadId, granularity) {
576
576
  await this.waitForTriggeredBreakpoints();
577
577
  if (!this.raw) {
578
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'next'))));
578
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'next'))));
579
579
  }
580
580
  this.setLastSteppingGranularity(threadId, granularity);
581
581
  await this.raw.next({ threadId, granularity });
@@ -583,7 +583,7 @@ let DebugSession = class DebugSession {
583
583
  async stepIn(threadId, targetId, granularity) {
584
584
  await this.waitForTriggeredBreakpoints();
585
585
  if (!this.raw) {
586
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'stepIn'))));
586
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'stepIn'))));
587
587
  }
588
588
  this.setLastSteppingGranularity(threadId, granularity);
589
589
  await this.raw.stepIn({ threadId, targetId, granularity });
@@ -591,7 +591,7 @@ let DebugSession = class DebugSession {
591
591
  async stepOut(threadId, granularity) {
592
592
  await this.waitForTriggeredBreakpoints();
593
593
  if (!this.raw) {
594
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'stepOut'))));
594
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'stepOut'))));
595
595
  }
596
596
  this.setLastSteppingGranularity(threadId, granularity);
597
597
  await this.raw.stepOut({ threadId, granularity });
@@ -599,7 +599,7 @@ let DebugSession = class DebugSession {
599
599
  async stepBack(threadId, granularity) {
600
600
  await this.waitForTriggeredBreakpoints();
601
601
  if (!this.raw) {
602
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'stepBack'))));
602
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'stepBack'))));
603
603
  }
604
604
  this.setLastSteppingGranularity(threadId, granularity);
605
605
  await this.raw.stepBack({ threadId, granularity });
@@ -607,56 +607,56 @@ let DebugSession = class DebugSession {
607
607
  async continue(threadId) {
608
608
  await this.waitForTriggeredBreakpoints();
609
609
  if (!this.raw) {
610
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'continue'))));
610
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'continue'))));
611
611
  }
612
612
  await this.raw.continue({ threadId });
613
613
  }
614
614
  async reverseContinue(threadId) {
615
615
  await this.waitForTriggeredBreakpoints();
616
616
  if (!this.raw) {
617
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'reverse continue'))));
617
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'reverse continue'))));
618
618
  }
619
619
  await this.raw.reverseContinue({ threadId });
620
620
  }
621
621
  async pause(threadId) {
622
622
  if (!this.raw) {
623
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'pause'))));
623
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'pause'))));
624
624
  }
625
625
  await this.raw.pause({ threadId });
626
626
  }
627
627
  async terminateThreads(threadIds) {
628
628
  if (!this.raw) {
629
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'terminateThreads'))));
629
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'terminateThreads'))));
630
630
  }
631
631
  await this.raw.terminateThreads({ threadIds });
632
632
  }
633
633
  setVariable(variablesReference, name, value) {
634
634
  if (!this.raw) {
635
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'setVariable'))));
635
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'setVariable'))));
636
636
  }
637
637
  return this.raw.setVariable({ variablesReference, name, value });
638
638
  }
639
639
  setExpression(frameId, expression, value) {
640
640
  if (!this.raw) {
641
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'setExpression'))));
641
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'setExpression'))));
642
642
  }
643
643
  return this.raw.setExpression({ expression, value, frameId });
644
644
  }
645
645
  gotoTargets(source, line, column) {
646
646
  if (!this.raw) {
647
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'gotoTargets'))));
647
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'gotoTargets'))));
648
648
  }
649
649
  return this.raw.gotoTargets({ source, line, column });
650
650
  }
651
651
  goto(threadId, targetId) {
652
652
  if (!this.raw) {
653
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'goto'))));
653
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'goto'))));
654
654
  }
655
655
  return this.raw.goto({ threadId, targetId });
656
656
  }
657
657
  loadSource(resource) {
658
658
  if (!this.raw) {
659
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'loadSource')))));
659
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'loadSource')))));
660
660
  }
661
661
  const source = this.getSourceForUri(resource);
662
662
  let rawSource;
@@ -671,7 +671,7 @@ let DebugSession = class DebugSession {
671
671
  }
672
672
  async getLoadedSources() {
673
673
  if (!this.raw) {
674
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'getLoadedSources')))));
674
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'getLoadedSources')))));
675
675
  }
676
676
  const response = await this.raw.loadedSources({});
677
677
  if (response?.body && response.body.sources) {
@@ -683,7 +683,7 @@ let DebugSession = class DebugSession {
683
683
  }
684
684
  async completions(frameId, threadId, text, position, token) {
685
685
  if (!this.raw) {
686
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'completions')))));
686
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'completions')))));
687
687
  }
688
688
  const sessionCancelationToken = this.getNewCancellationToken(threadId, token);
689
689
  return this.raw.completions({
@@ -695,43 +695,43 @@ let DebugSession = class DebugSession {
695
695
  }
696
696
  async stepInTargets(frameId) {
697
697
  if (!this.raw) {
698
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'stepInTargets')))));
698
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'stepInTargets')))));
699
699
  }
700
700
  const response = await this.raw.stepInTargets({ frameId });
701
701
  return response?.body.targets;
702
702
  }
703
703
  async cancel(progressId) {
704
704
  if (!this.raw) {
705
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'cancel')))));
705
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'cancel')))));
706
706
  }
707
707
  return this.raw.cancel({ progressId });
708
708
  }
709
709
  async disassemble(memoryReference, offset, instructionOffset, instructionCount) {
710
710
  if (!this.raw) {
711
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'disassemble')))));
711
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'disassemble')))));
712
712
  }
713
713
  const response = await this.raw.disassemble({ memoryReference, offset, instructionOffset, instructionCount, resolveSymbols: true });
714
714
  return response?.body?.instructions;
715
715
  }
716
716
  readMemory(memoryReference, offset, count) {
717
717
  if (!this.raw) {
718
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'readMemory')))));
718
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'readMemory')))));
719
719
  }
720
720
  return this.raw.readMemory({ count, memoryReference, offset });
721
721
  }
722
722
  writeMemory(memoryReference, offset, data, allowPartial) {
723
723
  if (!this.raw) {
724
- return Promise.reject(( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'disassemble')))));
724
+ return Promise.reject(( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'disassemble')))));
725
725
  }
726
726
  return this.raw.writeMemory({ memoryReference, offset, allowPartial, data });
727
727
  }
728
728
  async resolveLocationReference(locationReference) {
729
729
  if (!this.raw) {
730
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'locations'))));
730
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'locations'))));
731
731
  }
732
732
  const location = await this.raw.locations({ locationReference });
733
733
  if (!location?.body) {
734
- throw ( new Error(( localize(6129, "No debugger available, can not send '{0}'", 'locations'))));
734
+ throw ( new Error(( localize(6247, "No debugger available, can not send '{0}'", 'locations'))));
735
735
  }
736
736
  const source = this.getSource(location.body.source);
737
737
  return { column: 1, ...location.body, source };
@@ -843,8 +843,8 @@ let DebugSession = class DebugSession {
843
843
  }
844
844
  this.rawListeners.add(this.raw.onDidInitialize(async () => {
845
845
  status(this.configuration.noDebug
846
- ? ( localize(6132, "Started running without debugging."))
847
- : ( localize(6133, "Debugging started.")));
846
+ ? ( localize(6250, "Started running without debugging."))
847
+ : ( localize(6251, "Debugging started.")));
848
848
  const sendConfigurationDone = async () => {
849
849
  if (this.raw && this.raw.capabilities.supportsConfigurationDoneRequest) {
850
850
  try {
@@ -891,7 +891,7 @@ let DebugSession = class DebugSession {
891
891
  }
892
892
  }));
893
893
  this.rawListeners.add(this.raw.onDidTerminateDebugee(async (event) => {
894
- status(( localize(6134, "Debugging stopped.")));
894
+ status(( localize(6252, "Debugging stopped.")));
895
895
  if (event.body && event.body.restart) {
896
896
  await this.debugService.restartSession(this, event.body.restart);
897
897
  }
@@ -50,10 +50,10 @@ let DebugStatusContribution = class DebugStatusContribution {
50
50
  text = (manager.getLaunches().length > 1 ? `${name} (${manager.selectedConfiguration.launch.name})` : name);
51
51
  }
52
52
  return {
53
- name: ( localize(6138, "Debug")),
53
+ name: ( localize(6256, "Debug")),
54
54
  text: '$(debug-alt-small) ' + text,
55
- ariaLabel: ( localize(6139, "Debug: {0}", text)),
56
- tooltip: ( localize(6140, "Select and Start Debug Configuration")),
55
+ ariaLabel: ( localize(6257, "Debug: {0}", text)),
56
+ tooltip: ( localize(6258, "Select and Start Debug Configuration")),
57
57
  command: 'workbench.action.debug.selectandstart'
58
58
  };
59
59
  }
@@ -7,7 +7,7 @@ import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platfor
7
7
  import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
8
8
  import { IWorkspace, IWorkspaceFolder } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace";
9
9
  import { ITaskIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/tasks/common/tasks";
10
- import { ITaskSummary } from "@codingame/monaco-vscode-625898ab-0e33-5b7f-a3ae-29c10271dc1c-common/vscode/vs/workbench/contrib/tasks/common/taskService";
10
+ import { ITaskSummary } from "@codingame/monaco-vscode-ec8fe440-1fd1-523d-ad0f-c0f5a80cf451-common/vscode/vs/workbench/contrib/tasks/common/taskService";
11
11
  import { ITaskService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/tasks/common/taskService.service";
12
12
  import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service";
13
13
  export declare enum TaskRunResult {