@codingame/monaco-vscode-debug-service-override 1.85.0 → 1.85.2

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 (38) hide show
  1. package/debug.js +4 -1
  2. package/package.json +3 -3
  3. package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +73 -0
  4. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
  5. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +1 -1
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +4 -4
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +2 -2
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +3 -3
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +1 -1
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +1 -1
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +2 -2
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +2 -2
  14. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +3 -3
  15. package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +141 -0
  16. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +2 -2
  17. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +1 -1
  21. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +1 -1
  24. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -1
  25. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  27. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +9 -9
  28. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +0 -857
  29. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +0 -412
  30. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +0 -1593
  31. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +0 -180
  32. package/vscode/src/vs/workbench/contrib/debug/browser/media/breakpointWidget.css.js +0 -6
  33. package/vscode/src/vs/workbench/contrib/debug/browser/media/callStackEditorContribution.css.js +0 -6
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +0 -1487
  35. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +0 -127
  36. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +0 -31
  37. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +0 -207
  38. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +0 -13
@@ -1,6 +1,6 @@
1
1
  import { Queue } from 'monaco-editor/esm/vs/base/common/async.js';
2
2
  import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
3
- import * as types from 'monaco-editor/esm/vs/base/common/types.js';
3
+ import * as Types from 'monaco-editor/esm/vs/base/common/types.js';
4
4
  import { isCodeEditor, isDiffEditor } from 'monaco-editor/esm/vs/editor/browser/editorBrowser.js';
5
5
  import * as nls from 'monaco-editor/esm/vs/nls.js';
6
6
  import { EditorResourceAccessor, SideBySideEditor } from 'vscode/vscode/vs/workbench/common/editor';
@@ -164,7 +164,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
164
164
  case 'command': {
165
165
  const commandId = (variableToCommandMap ? variableToCommandMap[name] : undefined) || name;
166
166
  result = await this.commandService.executeCommand(commandId, configuration);
167
- if (typeof result !== 'string' && !types.isUndefinedOrNull(result)) {
167
+ if (typeof result !== 'string' && !Types.isUndefinedOrNull(result)) {
168
168
  throw new Error(nls.localizeWithPath('vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService', 'commandVariable.noStringType', "Cannot substitute command variable '{0}' because command did not return a result of type string.", commandId));
169
169
  }
170
170
  break;
@@ -228,7 +228,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
228
228
  };
229
229
  switch (info.type) {
230
230
  case 'promptString': {
231
- if (!types.isString(info.description)) {
231
+ if (!Types.isString(info.description)) {
232
232
  missingAttribute('description');
233
233
  }
234
234
  const inputOptions = { prompt: info.description, ignoreFocusLost: true };
@@ -243,12 +243,12 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
243
243
  });
244
244
  }
245
245
  case 'pickString': {
246
- if (!types.isString(info.description)) {
246
+ if (!Types.isString(info.description)) {
247
247
  missingAttribute('description');
248
248
  }
249
249
  if (Array.isArray(info.options)) {
250
250
  for (const pickOption of info.options) {
251
- if (!types.isString(pickOption) && !types.isString(pickOption.value)) {
251
+ if (!Types.isString(pickOption) && !Types.isString(pickOption.value)) {
252
252
  missingAttribute('value');
253
253
  }
254
254
  }
@@ -258,8 +258,8 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
258
258
  }
259
259
  const picks = ( new Array());
260
260
  for (const pickOption of info.options) {
261
- const value = types.isString(pickOption) ? pickOption : pickOption.value;
262
- const label = types.isString(pickOption) ? undefined : pickOption.label;
261
+ const value = Types.isString(pickOption) ? pickOption : pickOption.value;
262
+ const label = Types.isString(pickOption) ? undefined : pickOption.label;
263
263
  const item = {
264
264
  label: label ? `${label}: ${value}` : value,
265
265
  value: value
@@ -285,11 +285,11 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
285
285
  });
286
286
  }
287
287
  case 'command': {
288
- if (!types.isString(info.command)) {
288
+ if (!Types.isString(info.command)) {
289
289
  missingAttribute('command');
290
290
  }
291
291
  return this.userInputAccessQueue.queue(() => this.commandService.executeCommand(info.command, info.args)).then(result => {
292
- if (typeof result === 'string' || types.isUndefinedOrNull(result)) {
292
+ if (typeof result === 'string' || Types.isUndefinedOrNull(result)) {
293
293
  return result;
294
294
  }
295
295
  throw new Error(nls.localizeWithPath('vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService', 'inputVariable.command.noStringType', "Cannot substitute input variable '{0}' because command '{1}' did not return a result of type string.", variable, info.command));