@codingame/monaco-vscode-debug-service-override 20.5.0 → 21.0.1

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 (44) hide show
  1. package/package.json +16 -16
  2. package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.d.ts +1 -0
  3. package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +3 -0
  4. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
  5. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +18 -18
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +116 -116
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +18 -14
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +11 -11
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +1 -0
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +55 -30
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.d.ts +1 -1
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
  21. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
  22. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +11 -11
  23. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +2 -2
  24. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +7 -7
  25. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
  26. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +9 -9
  27. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
  28. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +9 -9
  29. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +6 -6
  30. package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -1
  31. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +22 -22
  32. package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
  33. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -6
  34. package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
  35. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
  36. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +1 -1
  37. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -12
  38. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -1
  39. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
  40. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
  41. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
  42. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
  43. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
@@ -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-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/workbench/services/activity/common/activity';
35
+ import { NumberBadge } from '@codingame/monaco-vscode-9a5ab9e7-d838-5831-9eb4-e79ea3764dcb-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(6228, "1 active session")) : ( localize(6229, "{0} active sessions", n)))) });
145
+ this.activity = this.activityService.showViewContainerActivity(viewContainer.id, { badge: ( new NumberBadge(numberOfSessions, n => n === 1 ? ( localize(6374, "1 active session")) : ( localize(6375, "{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(6230, 'A debug session is still running that would terminate.')));
167
+ evt.veto(this.model.getSessions().length > 0, ( localize(6376, '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(6231, "Running executes build tasks and program code from your workspace.")) : ( localize(
277
- 6232,
276
+ const message = options && options.noDebug ? ( localize(6377, "Running executes build tasks and program code from your workspace.")) : ( localize(
277
+ 6378,
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
- 6233,
308
+ 6379,
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(6234, "Could not find launch configuration '{0}' in the workspace.", name))
337
+ throw ( new Error(launchesContainingName.length === 0 ? ( localize(6380, "Could not find launch configuration '{0}' in the workspace.", name))
338
338
  : ( localize(
339
- 6235,
339
+ 6381,
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
- 6236,
352
+ 6382,
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
- 6237,
368
+ 6383,
369
369
  "Configuration '{0}' is missing in 'launch.json'.",
370
370
  typeof configOrName === 'string' ? configOrName : configOrName.name
371
371
  )) :
372
- ( localize(6238, "'launch.json' does not exist for passed workspace folder."));
372
+ ( localize(6384, "'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);
@@ -439,6 +439,22 @@ let DebugService = class DebugService {
439
439
  if (initCancellationToken.token.isCancellationRequested) {
440
440
  return false;
441
441
  }
442
+ let userConfirmedConcurrentSession = false;
443
+ if (options?.startedByUser && resolvedConfig && resolvedConfig.suppressMultipleSessionWarning !== true) {
444
+ const existingSessions = this.model.getSessions();
445
+ const workspace = launch?.workspace;
446
+ const existingSession = existingSessions.find(s => s.configuration.name === resolvedConfig.name &&
447
+ s.configuration.type === resolvedConfig.type &&
448
+ s.configuration.request === resolvedConfig.request &&
449
+ s.root === workspace);
450
+ if (existingSession) {
451
+ const confirmed = await this.confirmConcurrentSession(existingSession.getLabel());
452
+ if (!confirmed) {
453
+ return false;
454
+ }
455
+ userConfirmedConcurrentSession = true;
456
+ }
457
+ }
442
458
  const workspace = launch?.workspace || this.contextService.getWorkspace();
443
459
  const taskResult = await this.taskRunner.runTaskAndCheckErrors(workspace, resolvedConfig.preLaunchTask);
444
460
  if (taskResult === TaskRunResult.Failure) {
@@ -457,23 +473,23 @@ let DebugService = class DebugService {
457
473
  let message;
458
474
  if (configByProviders.request !== 'attach' && configByProviders.request !== 'launch') {
459
475
  message = configByProviders.request ? ( localize(
460
- 6239,
476
+ 6385,
461
477
  "Attribute '{0}' has an unsupported value '{1}' in the chosen debug configuration.",
462
478
  'request',
463
479
  configByProviders.request
464
480
  ))
465
481
  : ( localize(
466
- 6240,
482
+ 6386,
467
483
  "Attribute '{0}' is missing from the chosen debug configuration.",
468
484
  'request'
469
485
  ));
470
486
  }
471
487
  else {
472
- message = resolvedConfig.type ? ( localize(6241, "Configured debug type '{0}' is not supported.", resolvedConfig.type)) :
473
- ( localize(6242, "Missing property 'type' for the chosen launch configuration."));
488
+ message = resolvedConfig.type ? ( localize(6387, "Configured debug type '{0}' is not supported.", resolvedConfig.type)) :
489
+ ( localize(6388, "Missing property 'type' for the chosen launch configuration."));
474
490
  }
475
491
  const actionList = [];
476
- actionList.push(( new Action('installAdditionalDebuggers', ( localize(6243, "Install {0} Extension", resolvedConfig.type)), undefined, true, async () => this.commandService.executeCommand('debug.installAdditionalDebuggers', resolvedConfig?.type))));
492
+ actionList.push(( new Action('installAdditionalDebuggers', ( localize(6389, "Install {0} Extension", resolvedConfig.type)), undefined, true, async () => this.commandService.executeCommand('debug.installAdditionalDebuggers', resolvedConfig?.type))));
477
493
  await this.showError(message, actionList);
478
494
  return false;
479
495
  }
@@ -481,7 +497,7 @@ let DebugService = class DebugService {
481
497
  await this.showError(debuggerDisabledMessage(dbg.type), []);
482
498
  return false;
483
499
  }
484
- const result = await this.doCreateSession(sessionId, launch?.workspace, { resolved: resolvedConfig, unresolved: unresolvedConfig }, options);
500
+ const result = await this.doCreateSession(sessionId, launch?.workspace, { resolved: resolvedConfig, unresolved: unresolvedConfig }, options, userConfirmedConcurrentSession);
485
501
  if (result && guess && activeEditor && activeEditor.resource) {
486
502
  this.chosenEnvironments[( activeEditor.resource.toString())] = { type: guess.debugger.type, dynamicLabel: guess.withConfig?.label };
487
503
  this.debugStorage.storeChosenEnvironments(this.chosenEnvironments);
@@ -494,7 +510,7 @@ let DebugService = class DebugService {
494
510
  }
495
511
  else if (this.contextService.getWorkbenchState() === WorkbenchState.EMPTY) {
496
512
  await this.showError(( localize(
497
- 6244,
513
+ 6390,
498
514
  "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
515
  )));
500
516
  }
@@ -509,15 +525,14 @@ let DebugService = class DebugService {
509
525
  }
510
526
  return false;
511
527
  }
512
- async doCreateSession(sessionId, root, configuration, options) {
528
+ async doCreateSession(sessionId, root, configuration, options, userConfirmedConcurrentSession = false) {
513
529
  const session = this.instantiationService.createInstance(DebugSession, sessionId, configuration, root, this.model, options);
514
- if (options?.startedByUser && ( this.model.getSessions().some(s => s.getLabel() === session.getLabel())) && configuration.resolved.suppressMultipleSessionWarning !== true) {
515
- const result = await this.dialogService.confirm({ message: ( localize(
516
- 6245,
517
- "'{0}' is already running. Do you want to start another instance?",
518
- session.getLabel()
519
- )) });
520
- if (!result.confirmed) {
530
+ if (!userConfirmedConcurrentSession && options?.startedByUser && ( this.model.getSessions().some(s => s.configuration.name === configuration.resolved.name &&
531
+ s.configuration.type === configuration.resolved.type &&
532
+ s.configuration.request === configuration.resolved.request &&
533
+ s.root === root)) && configuration.resolved.suppressMultipleSessionWarning !== true) {
534
+ const confirmed = await this.confirmConcurrentSession(session.getLabel());
535
+ if (!confirmed) {
521
536
  return false;
522
537
  }
523
538
  }
@@ -560,6 +575,16 @@ let DebugService = class DebugService {
560
575
  return false;
561
576
  }
562
577
  }
578
+ async confirmConcurrentSession(sessionLabel) {
579
+ const result = await this.dialogService.confirm({
580
+ message: ( localize(
581
+ 6391,
582
+ "'{0}' is already running. Do you want to start another instance?",
583
+ sessionLabel
584
+ ))
585
+ });
586
+ return result.confirmed;
587
+ }
563
588
  async launchOrAttachToSession(session, forceFocus = false) {
564
589
  this.registerSessionListeners(session);
565
590
  const dbgr = this.adapterManager.getDebugger(session.configuration.type);
@@ -604,7 +629,7 @@ let DebugService = class DebugService {
604
629
  if (adapterExitEvent) {
605
630
  if (adapterExitEvent.error) {
606
631
  this.notificationService.error(( localize(
607
- 6246,
632
+ 6392,
608
633
  "Debug adapter process has terminated unexpectedly ({0})",
609
634
  adapterExitEvent.error.message || ( adapterExitEvent.error.toString())
610
635
  )));
@@ -850,7 +875,7 @@ let DebugService = class DebugService {
850
875
  if (lineNumber >= 1 && lineNumber <= model.getLineCount()) {
851
876
  const lineContent = control.getModel().getLineContent(lineNumber);
852
877
  alert(( localize(
853
- 6247,
878
+ 6393,
854
879
  "{0}, debugging paused {1}, {2}:{3}",
855
880
  lineContent,
856
881
  thread && thread.stoppedDetails ? `, reason ${thread.stoppedDetails.reason}` : '',
@@ -923,7 +948,7 @@ let DebugService = class DebugService {
923
948
  async addBreakpoints(uri, rawBreakpoints, ariaAnnounce = true) {
924
949
  const breakpoints = this.model.addBreakpoints(uri, rawBreakpoints);
925
950
  if (ariaAnnounce) {
926
- breakpoints.forEach(bp => status(( localize(6248, "Added breakpoint, line {0}, file {1}", bp.lineNumber, uri.fsPath))));
951
+ breakpoints.forEach(bp => status(( localize(6394, "Added breakpoint, line {0}, file {1}", bp.lineNumber, uri.fsPath))));
927
952
  }
928
953
  this.debugStorage.storeBreakpoints(this.model);
929
954
  await this.sendBreakpoints(uri);
@@ -945,7 +970,7 @@ let DebugService = class DebugService {
945
970
  const breakpoints = this.model.getBreakpoints();
946
971
  const toRemove = breakpoints.filter(bp => !id || bp.getId() === id);
947
972
  toRemove.forEach(bp => status(( localize(
948
- 6249,
973
+ 6395,
949
974
  "Removed breakpoint, line {0}, file {1}",
950
975
  bp.lineNumber,
951
976
  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-fc42f049-7883-579d-bb0b-2aa1010a19a8-common/vscode/vs/platform/native/common/native';
25
+ import { FocusMode } from '@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-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(6250, "No debugger available, can not send '{0}'", 'launch or attach'))));
294
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'restart'))));
354
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'breakpoints'))));
366
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'function breakpoints'))));
394
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'exception breakpoints'))));
409
+ throw ( new Error(( localize(6396, "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(6251, "Session does not support breakpoints with bytes"))));
433
+ throw ( new Error(( localize(6397, "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(6250, "No debugger available, can not send '{0}'", 'data breakpoints info'))));
442
+ throw ( new Error(( localize(6396, "No debugger available, can not send '{0}'", 'data breakpoints info'))));
443
443
  }
444
444
  if (!this.raw.readyForBreakpoints) {
445
- throw ( new Error(( localize(6252, "Session is not ready for breakpoints"))));
445
+ throw ( new Error(( localize(6398, "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(6250, "No debugger available, can not send '{0}'", 'data breakpoints'))));
452
+ throw ( new Error(( localize(6396, "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
- 6250,
483
+ 6396,
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(6250, "No debugger available, can not send '{0}'", 'breakpoints locations'))));
501
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", request))));
516
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'stackTrace'))));
522
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'exceptionInfo'))));
529
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'scopes'))));
544
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'variables'))));
551
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'evaluate'))));
558
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'restartFrame'))));
565
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'next'))));
578
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'stepIn'))));
586
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'stepOut'))));
594
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'stepBack'))));
602
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'continue'))));
610
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'reverse continue'))));
617
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'pause'))));
623
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'terminateThreads'))));
629
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'setVariable'))));
635
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'setExpression'))));
641
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'gotoTargets'))));
647
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'goto'))));
653
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'loadSource')))));
659
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'getLoadedSources')))));
674
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'completions')))));
686
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'stepInTargets')))));
698
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'cancel')))));
705
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'disassemble')))));
711
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'readMemory')))));
718
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'disassemble')))));
724
+ return Promise.reject(( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'locations'))));
730
+ throw ( new Error(( localize(6396, "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(6250, "No debugger available, can not send '{0}'", 'locations'))));
734
+ throw ( new Error(( localize(6396, "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(6253, "Started running without debugging."))
847
- : ( localize(6254, "Debugging started.")));
846
+ ? ( localize(6399, "Started running without debugging."))
847
+ : ( localize(6400, "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(6255, "Debugging stopped.")));
894
+ status(( localize(6401, "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(6259, "Debug")),
53
+ name: ( localize(6405, "Debug")),
54
54
  text: '$(debug-alt-small) ' + text,
55
- ariaLabel: ( localize(6260, "Debug: {0}", text)),
56
- tooltip: ( localize(6261, "Select and Start Debug Configuration")),
55
+ ariaLabel: ( localize(6406, "Debug: {0}", text)),
56
+ tooltip: ( localize(6407, "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-ec8fe440-1fd1-523d-ad0f-c0f5a80cf451-common/vscode/vs/workbench/contrib/tasks/common/taskService";
10
+ import { ITaskSummary } from "@codingame/monaco-vscode-05a2a821-e4de-5941-b7f9-bbf01c09f229-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 {