@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
package/debug.js CHANGED
@@ -5,6 +5,8 @@ import { LanguageFeaturesService } from './vscode/src/vs/editor/common/services/
5
5
  import { ILanguageFeaturesService } from 'monaco-editor/esm/vs/editor/common/services/languageFeatures.js';
6
6
  import { ConfigurationResolverService } from './vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js';
7
7
  import { IConfigurationResolverService } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolver';
8
+ import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug';
9
+ import { BrowserExtensionHostDebugService } from './vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js';
8
10
  import getServiceOverride$1 from '@codingame/monaco-vscode-layout-service-override';
9
11
  import './vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js';
10
12
 
@@ -17,7 +19,8 @@ function getServiceOverride() {
17
19
  ...getServiceOverride$1(),
18
20
  [( ILanguageFeaturesService.toString())]: new SyncDescriptor(LanguageFeaturesService, [], true),
19
21
  [( IDebugService.toString())]: new SyncDescriptor(DebugService, [], true),
20
- [( IConfigurationResolverService.toString())]: new SyncDescriptor(ConfigurationResolverService, [], true)
22
+ [( IConfigurationResolverService.toString())]: new SyncDescriptor(ConfigurationResolverService, [], true),
23
+ [( IExtensionHostDebugService.toString())]: new SyncDescriptor(BrowserExtensionHostDebugService, [], true)
21
24
  };
22
25
  }
23
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-debug-service-override",
3
- "version": "1.85.0",
3
+ "version": "1.85.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,8 +18,8 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.85.0",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.85.2",
22
22
  "monaco-editor": "0.45.0",
23
- "@codingame/monaco-vscode-layout-service-override": "1.85.0"
23
+ "@codingame/monaco-vscode-layout-service-override": "1.85.2"
24
24
  }
25
25
  }
@@ -0,0 +1,73 @@
1
+ import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
2
+ import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
3
+
4
+ class ExtensionHostDebugBroadcastChannel {
5
+ constructor() {
6
+ this._onCloseEmitter = ( new Emitter());
7
+ this._onReloadEmitter = ( new Emitter());
8
+ this._onTerminateEmitter = ( new Emitter());
9
+ this._onAttachEmitter = ( new Emitter());
10
+ }
11
+ static { this.ChannelName = 'extensionhostdebugservice'; }
12
+ call(ctx, command, arg) {
13
+ switch (command) {
14
+ case 'close':
15
+ return Promise.resolve(this._onCloseEmitter.fire({ sessionId: arg[0] }));
16
+ case 'reload':
17
+ return Promise.resolve(this._onReloadEmitter.fire({ sessionId: arg[0] }));
18
+ case 'terminate':
19
+ return Promise.resolve(this._onTerminateEmitter.fire({ sessionId: arg[0] }));
20
+ case 'attach':
21
+ return Promise.resolve(this._onAttachEmitter.fire({ sessionId: arg[0], port: arg[1], subId: arg[2] }));
22
+ }
23
+ throw new Error('Method not implemented.');
24
+ }
25
+ listen(ctx, event, arg) {
26
+ switch (event) {
27
+ case 'close':
28
+ return this._onCloseEmitter.event;
29
+ case 'reload':
30
+ return this._onReloadEmitter.event;
31
+ case 'terminate':
32
+ return this._onTerminateEmitter.event;
33
+ case 'attach':
34
+ return this._onAttachEmitter.event;
35
+ }
36
+ throw new Error('Method not implemented.');
37
+ }
38
+ }
39
+ class ExtensionHostDebugChannelClient extends Disposable {
40
+ constructor(channel) {
41
+ super();
42
+ this.channel = channel;
43
+ }
44
+ reload(sessionId) {
45
+ this.channel.call('reload', [sessionId]);
46
+ }
47
+ get onReload() {
48
+ return this.channel.listen('reload');
49
+ }
50
+ close(sessionId) {
51
+ this.channel.call('close', [sessionId]);
52
+ }
53
+ get onClose() {
54
+ return this.channel.listen('close');
55
+ }
56
+ attachSession(sessionId, port, subId) {
57
+ this.channel.call('attach', [sessionId, port, subId]);
58
+ }
59
+ get onAttachSession() {
60
+ return this.channel.listen('attach');
61
+ }
62
+ terminateSession(sessionId, subId) {
63
+ this.channel.call('terminate', [sessionId, subId]);
64
+ }
65
+ get onTerminateSession() {
66
+ return this.channel.listen('terminate');
67
+ }
68
+ openExtensionDevelopmentHostWindow(args, debugRenderer) {
69
+ return this.channel.call('openExtensionDevelopmentHostWindow', [args, debugRenderer]);
70
+ }
71
+ }
72
+
73
+ export { ExtensionHostDebugBroadcastChannel, ExtensionHostDebugChannelClient };
@@ -12,7 +12,7 @@ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
12
12
  import { IContextViewService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
13
13
  import { defaultInputBoxStyles } from 'monaco-editor/esm/vs/platform/theme/browser/defaultStyles.js';
14
14
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
15
- import { Expression, Variable, ExpressionContainer } from '../common/debugModel.js';
15
+ import { Expression, Variable, ExpressionContainer } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
16
16
  import { ReplEvaluationResult } from '../common/replModel.js';
17
17
 
18
18
  const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
@@ -33,7 +33,7 @@ import { STOP_ID, DISCONNECT_ID, PAUSE_LABEL, PAUSE_ID, CONTINUE_LABEL, CONTINUE
33
33
  import { callstackViewSession, debugRestartFrame, debugPause, debugContinue, debugRestart, debugStop, debugDisconnect, debugStepOver, debugStepInto, debugStepOut } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
34
34
  import { createDisconnectMenuItemAction } from './debugToolBar.js';
35
35
  import { CALLSTACK_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD, CONTEXT_CALLSTACK_ITEM_STOPPED, CONTEXT_CALLSTACK_SESSION_IS_ATTACH, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
36
- import { Thread, StackFrame, ThreadAndSessionIds } from '../common/debugModel.js';
36
+ import { Thread, StackFrame, ThreadAndSessionIds } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
37
37
  import { isSessionAttach } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
38
38
 
39
39
  var SessionsRenderer_1, ThreadsRenderer_1, StackFramesRenderer_1;
@@ -14,9 +14,9 @@ import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/view
14
14
  import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
15
15
  import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
16
16
  import { Extensions as Extensions$2 } from 'vscode/vscode/vs/workbench/common/views';
17
- import { BreakpointEditorContribution } from './breakpointEditorContribution.js';
18
- import { BreakpointsView } from './breakpointsView.js';
19
- import { CallStackEditorContribution } from './callStackEditorContribution.js';
17
+ import { BreakpointEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointEditorContribution';
18
+ import { BreakpointsView } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
19
+ import { CallStackEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
20
20
  import { CallStackView } from './callStackView.js';
21
21
  import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
22
22
  import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, TERMINATE_THREAD_ID, STEP_OVER_LABEL, STEP_OVER_ID, STEP_INTO_LABEL, STEP_INTO_ID, STEP_INTO_TARGET_LABEL, STEP_INTO_TARGET_ID, STEP_OUT_LABEL, STEP_OUT_ID, PAUSE_LABEL, PAUSE_ID, STOP_LABEL, STOP_ID, CONTINUE_LABEL, CONTINUE_ID, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, SELECT_AND_START_LABEL, CALLSTACK_TOP_LABEL, CALLSTACK_TOP_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_UP_LABEL, CALLSTACK_UP_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_DOWN_ID, RESTART_LABEL, RESTART_SESSION_ID, DISCONNECT_LABEL, DISCONNECT_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, DEBUG_COMMAND_CATEGORY, NEXT_DEBUG_CONSOLE_LABEL, NEXT_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, OPEN_LOADED_SCRIPTS_LABEL, SHOW_LOADED_SCRIPTS_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_LABEL, SELECT_DEBUG_SESSION_ID } from './debugCommands.js';
@@ -40,7 +40,7 @@ import { WelcomeView } from './welcomeView.js';
40
40
  import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUG_STATE, CONTEXT_IN_DEBUG_MODE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_DEBUGGERS_AVAILABLE, getStateLabel, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_WATCH_ITEM_TYPE, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, VARIABLES_VIEW_ID, CONTEXT_DEBUG_UX, WATCH_VIEW_ID, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, CONTEXT_LOADED_SCRIPTS_SUPPORTED, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
41
41
  import { DebugContentProvider } from '../common/debugContentProvider.js';
42
42
  import { DebugLifecycle } from '../common/debugLifecycle.js';
43
- import { DisassemblyViewInput } from '../common/disassemblyViewInput.js';
43
+ import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
44
44
  import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
45
45
 
46
46
  const debugCategory = ( nls.localizeWithPath(
@@ -3,13 +3,13 @@ import { List } from 'monaco-editor/esm/vs/base/browser/ui/list/listWidget.js';
3
3
  import { KeybindingsRegistry } from 'monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js';
4
4
  import { IListService } from 'monaco-editor/esm/vs/platform/list/browser/listService.js';
5
5
  import { IDebugService, CONTEXT_DISASSEMBLY_VIEW_FOCUS, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_IN_DEBUG_REPL, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_STATE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_ATTACH, REPL_VIEW_ID, CONTEXT_BREAKPOINTS_FOCUSED, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CONTEXT_VARIABLES_FOCUSED, CONTEXT_EXPRESSION_SELECTED, CONTEXT_BREAKPOINT_INPUT_FOCUSED, EDITOR_CONTRIBUTION_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
6
- import { Expression, Variable, Breakpoint, FunctionBreakpoint, DataBreakpoint } from '../common/debugModel.js';
6
+ import { Expression, Variable, Breakpoint, FunctionBreakpoint, DataBreakpoint } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
7
7
  import { isCodeEditor } from 'monaco-editor/esm/vs/editor/browser/editorBrowser.js';
8
8
  import { MenuRegistry, MenuId, registerAction2, Action2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
9
9
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
10
10
  import { EditorContextKeys } from 'monaco-editor/esm/vs/editor/common/editorContextKeys.js';
11
11
  import { IContextKeyService, ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
12
- import { openBreakpointSource } from './breakpointsView.js';
12
+ import { openBreakpointSource } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
13
13
  import { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
14
14
  import { InputFocusedContext } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkeys.js';
15
15
  import { ResourceContextKey, ActiveEditorContext, PanelFocusContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
@@ -5,7 +5,7 @@ import { CancellationTokenSource, CancellationToken } from 'monaco-editor/esm/vs
5
5
  import { Emitter, Event } from 'monaco-editor/esm/vs/base/common/event.js';
6
6
  import * as json from 'monaco-editor/esm/vs/base/common/json.js';
7
7
  import { DisposableStore, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
8
- import * as objects from 'monaco-editor/esm/vs/base/common/objects.js';
8
+ import * as Objects from 'monaco-editor/esm/vs/base/common/objects.js';
9
9
  import * as resources from 'monaco-editor/esm/vs/base/common/resources.js';
10
10
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
11
11
  import * as nls from 'monaco-editor/esm/vs/nls.js';
@@ -439,7 +439,7 @@ class AbstractLaunch {
439
439
  }
440
440
  }
441
441
  getConfiguration(name) {
442
- const config = objects.deepClone(this.getConfig());
442
+ const config = Objects.deepClone(this.getConfig());
443
443
  if (!config || !config.configurations) {
444
444
  return undefined;
445
445
  }
@@ -534,7 +534,7 @@ let Launch = class Launch extends AbstractLaunch {
534
534
  });
535
535
  }
536
536
  async writeConfiguration(configuration) {
537
- const fullConfig = objects.deepClone(this.getConfig());
537
+ const fullConfig = Objects.deepClone(this.getConfig());
538
538
  if (!fullConfig.configurations) {
539
539
  fullConfig.configurations = [];
540
540
  }
@@ -15,11 +15,11 @@ import { IContextMenuService } from 'monaco-editor/esm/vs/platform/contextview/b
15
15
  import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
16
16
  import { PanelFocusContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
17
17
  import { IViewsService } from 'vscode/vscode/vs/workbench/common/views';
18
- import { openBreakpointSource } from './breakpointsView.js';
18
+ import { openBreakpointSource } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
19
19
  import { DisassemblyView } from './disassemblyView.js';
20
20
  import { CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_STATE, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_DISASSEMBLY_VIEW_FOCUS, IDebugService, REPL_VIEW_ID, WATCH_VIEW_ID, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_EXCEPTION_WIDGET_VISIBLE } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
21
21
  import { getEvaluatableExpressionAtPosition } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
22
- import { DisassemblyViewInput } from '../common/disassemblyViewInput.js';
22
+ import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
23
23
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
24
24
 
25
25
  class ToggleBreakpointAction extends Action2 {
@@ -36,7 +36,7 @@ import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/c
36
36
  import { DebugHoverWidget } from './debugHover.js';
37
37
  import { ExceptionWidget } from './exceptionWidget.js';
38
38
  import { CONTEXT_EXCEPTION_WIDGET_VISIBLE, IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
39
- import { Expression } from '../common/debugModel.js';
39
+ import { Expression } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
40
40
  import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host';
41
41
 
42
42
  const MAX_NUM_INLINE_VALUES = 100;
@@ -18,7 +18,7 @@ import { renderExpressionValue } from './baseDebugView.js';
18
18
  import { LinkDetector } from './linkDetector.js';
19
19
  import { VariablesRenderer } from './variablesView.js';
20
20
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
21
- import { Variable, Expression } from '../common/debugModel.js';
21
+ import { Variable, Expression } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
22
22
  import { getEvaluatableExpressionAtPosition } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
23
23
 
24
24
  var DebugHoverWidget_1;
@@ -34,12 +34,12 @@ import { DebugSession } from './debugSession.js';
34
34
  import { DebugTaskRunner } from './debugTaskRunner.js';
35
35
  import { CALLSTACK_VIEW_ID, DEBUG_MEMORY_SCHEME, CONTEXT_DEBUG_TYPE, CONTEXT_DEBUG_STATE, CONTEXT_HAS_DEBUGGED, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_UX, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_DISASSEMBLY_VIEW_FOCUS, getStateLabel, debuggerDisabledMessage, VIEWLET_ID, REPL_VIEW_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
36
36
  import { DebugCompoundRoot } from '../common/debugCompoundRoot.js';
37
- import { DebugModel, Breakpoint, FunctionBreakpoint, DataBreakpoint, InstructionBreakpoint } from '../common/debugModel.js';
37
+ import { DebugModel, Breakpoint, FunctionBreakpoint, DataBreakpoint, InstructionBreakpoint } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
38
38
  import { DebugStorage } from '../common/debugStorage.js';
39
39
  import { DebugTelemetry } from '../common/debugTelemetry.js';
40
40
  import { saveAllBeforeDebugStart, getExtensionHostDebugSession } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
41
41
  import { ViewModel } from '../common/debugViewModel.js';
42
- import { DisassemblyViewInput } from '../common/disassemblyViewInput.js';
42
+ import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
43
43
  import { VIEWLET_ID as VIEWLET_ID$1 } from 'vscode/vscode/vs/workbench/contrib/files/common/files';
44
44
  import { NumberBadge, IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
45
45
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
@@ -23,8 +23,8 @@ import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/c
23
23
  import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
24
24
  import { RawDebugSession } from './rawDebugSession.js';
25
25
  import { IDebugService, VIEWLET_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
26
- import { MemoryRegion, ExpressionContainer, Thread } from '../common/debugModel.js';
27
- import { Source } from '../common/debugSource.js';
26
+ import { MemoryRegion, ExpressionContainer, Thread } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
27
+ import { Source } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugSource';
28
28
  import { filterExceptionsFromTelemetry } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
29
29
  import { ReplModel } from '../common/replModel.js';
30
30
  import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
@@ -24,11 +24,11 @@ import { editorBackground } from 'monaco-editor/esm/vs/platform/theme/common/col
24
24
  import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
25
25
  import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
26
26
  import { EditorPane } from 'vscode/vscode/vs/workbench/browser/parts/editor/editorPane';
27
- import { topStackFrameColor, focusedStackFrameColor } from './callStackEditorContribution.js';
27
+ import { topStackFrameColor, focusedStackFrameColor } from 'vscode/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
28
28
  import { breakpoint, debugBreakpointHint, debugStackframe, debugStackframeFocused } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
29
29
  import { DISASSEMBLY_VIEW_ID, CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST, IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
30
- import { InstructionBreakpoint } from '../common/debugModel.js';
31
- import { getUriFromSource } from '../common/debugSource.js';
30
+ import { InstructionBreakpoint } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
31
+ import { getUriFromSource } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugSource';
32
32
  import { isUri, sourcesEqual } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
33
33
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
34
34
 
@@ -0,0 +1,141 @@
1
+ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
+ import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
3
+ import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
4
+ import { ExtensionHostDebugChannelClient, ExtensionHostDebugBroadcastChannel } from '../../../../platform/debug/common/extensionHostDebugIpc.js';
5
+ import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
6
+ import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
7
+ import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
8
+ import { isFolderToOpen, isWorkspaceToOpen } from 'vscode/vscode/vs/platform/window/common/window';
9
+ import { toWorkspaceIdentifier, isSingleFolderWorkspaceIdentifier, isWorkspaceIdentifier, hasWorkspaceFileExtension, IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
10
+ import { IBrowserWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/browser/environmentService';
11
+ import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host';
12
+ import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService';
13
+
14
+ var BrowserExtensionHostDebugService_1;
15
+ let BrowserExtensionHostDebugService = class BrowserExtensionHostDebugService extends ExtensionHostDebugChannelClient {
16
+ static { BrowserExtensionHostDebugService_1 = this; }
17
+ static { this.LAST_EXTENSION_DEVELOPMENT_WORKSPACE_KEY = 'debug.lastExtensionDevelopmentWorkspace'; }
18
+ constructor(remoteAgentService, environmentService, logService, hostService, contextService, storageService, fileService) {
19
+ const connection = remoteAgentService.getConnection();
20
+ let channel;
21
+ if (connection) {
22
+ channel = connection.getChannel(ExtensionHostDebugBroadcastChannel.ChannelName);
23
+ }
24
+ else {
25
+ channel = { call: async () => undefined, listen: () => Event.None };
26
+ }
27
+ super(channel);
28
+ this.storageService = storageService;
29
+ this.fileService = fileService;
30
+ if (environmentService.options && environmentService.options.workspaceProvider) {
31
+ this.workspaceProvider = environmentService.options.workspaceProvider;
32
+ }
33
+ else {
34
+ this.workspaceProvider = { open: async () => true, workspace: undefined, trusted: undefined };
35
+ logService.warn('Extension Host Debugging not available due to missing workspace provider.');
36
+ }
37
+ this._register(this.onReload(event => {
38
+ if (environmentService.isExtensionDevelopment && environmentService.debugExtensionHost.debugId === event.sessionId) {
39
+ hostService.reload();
40
+ }
41
+ }));
42
+ this._register(this.onClose(event => {
43
+ if (environmentService.isExtensionDevelopment && environmentService.debugExtensionHost.debugId === event.sessionId) {
44
+ hostService.close();
45
+ }
46
+ }));
47
+ if (environmentService.isExtensionDevelopment && !environmentService.extensionTestsLocationURI) {
48
+ const workspaceId = toWorkspaceIdentifier(contextService.getWorkspace());
49
+ if (isSingleFolderWorkspaceIdentifier(workspaceId) || isWorkspaceIdentifier(workspaceId)) {
50
+ const serializedWorkspace = isSingleFolderWorkspaceIdentifier(workspaceId) ? { folderUri: workspaceId.uri.toJSON() } : { workspaceUri: workspaceId.configPath.toJSON() };
51
+ storageService.store(BrowserExtensionHostDebugService_1.LAST_EXTENSION_DEVELOPMENT_WORKSPACE_KEY, JSON.stringify(serializedWorkspace), 0 , 1 );
52
+ }
53
+ else {
54
+ storageService.remove(BrowserExtensionHostDebugService_1.LAST_EXTENSION_DEVELOPMENT_WORKSPACE_KEY, 0 );
55
+ }
56
+ }
57
+ }
58
+ async openExtensionDevelopmentHostWindow(args, _debugRenderer) {
59
+ const environment = ( new Map());
60
+ const fileUriArg = this.findArgument('file-uri', args);
61
+ if (fileUriArg && !hasWorkspaceFileExtension(fileUriArg)) {
62
+ environment.set('openFile', fileUriArg);
63
+ }
64
+ const copyArgs = [
65
+ 'extensionDevelopmentPath',
66
+ 'extensionTestsPath',
67
+ 'extensionEnvironment',
68
+ 'debugId',
69
+ 'inspect-brk-extensions',
70
+ 'inspect-extensions',
71
+ ];
72
+ for (const argName of copyArgs) {
73
+ const value = this.findArgument(argName, args);
74
+ if (value) {
75
+ environment.set(argName, value);
76
+ }
77
+ }
78
+ let debugWorkspace = undefined;
79
+ const folderUriArg = this.findArgument('folder-uri', args);
80
+ if (folderUriArg) {
81
+ debugWorkspace = { folderUri: ( URI.parse(folderUriArg)) };
82
+ }
83
+ else {
84
+ const fileUriArg = this.findArgument('file-uri', args);
85
+ if (fileUriArg && hasWorkspaceFileExtension(fileUriArg)) {
86
+ debugWorkspace = { workspaceUri: ( URI.parse(fileUriArg)) };
87
+ }
88
+ }
89
+ const extensionTestsPath = this.findArgument('extensionTestsPath', args);
90
+ if (!debugWorkspace && !extensionTestsPath) {
91
+ const lastExtensionDevelopmentWorkspace = this.storageService.get(BrowserExtensionHostDebugService_1.LAST_EXTENSION_DEVELOPMENT_WORKSPACE_KEY, 0 );
92
+ if (lastExtensionDevelopmentWorkspace) {
93
+ try {
94
+ const serializedWorkspace = JSON.parse(lastExtensionDevelopmentWorkspace);
95
+ if (serializedWorkspace.workspaceUri) {
96
+ debugWorkspace = { workspaceUri: URI.revive(serializedWorkspace.workspaceUri) };
97
+ }
98
+ else if (serializedWorkspace.folderUri) {
99
+ debugWorkspace = { folderUri: URI.revive(serializedWorkspace.folderUri) };
100
+ }
101
+ }
102
+ catch (error) {
103
+ }
104
+ }
105
+ }
106
+ if (debugWorkspace) {
107
+ const debugWorkspaceResource = isFolderToOpen(debugWorkspace) ? debugWorkspace.folderUri : isWorkspaceToOpen(debugWorkspace) ? debugWorkspace.workspaceUri : undefined;
108
+ if (debugWorkspaceResource) {
109
+ const workspaceExists = await this.fileService.exists(debugWorkspaceResource);
110
+ if (!workspaceExists) {
111
+ debugWorkspace = undefined;
112
+ }
113
+ }
114
+ }
115
+ const success = await this.workspaceProvider.open(debugWorkspace, {
116
+ reuse: false,
117
+ payload: Array.from(environment.entries())
118
+ });
119
+ return { success };
120
+ }
121
+ findArgument(key, args) {
122
+ for (const a of args) {
123
+ const k = `--${key}=`;
124
+ if (a.indexOf(k) === 0) {
125
+ return a.substring(k.length);
126
+ }
127
+ }
128
+ return undefined;
129
+ }
130
+ };
131
+ BrowserExtensionHostDebugService = BrowserExtensionHostDebugService_1 = ( __decorate([
132
+ ( __param(0, IRemoteAgentService)),
133
+ ( __param(1, IBrowserWorkbenchEnvironmentService)),
134
+ ( __param(2, ILogService)),
135
+ ( __param(3, IHostService)),
136
+ ( __param(4, IWorkspaceContextService)),
137
+ ( __param(5, IStorageService)),
138
+ ( __param(6, IFileService))
139
+ ], BrowserExtensionHostDebugService));
140
+
141
+ export { BrowserExtensionHostDebugService };
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import * as nls from 'monaco-editor/esm/vs/nls.js';
3
3
  import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
4
- import * as objects from 'monaco-editor/esm/vs/base/common/objects.js';
4
+ import * as Objects from 'monaco-editor/esm/vs/base/common/objects.js';
5
5
  import { toAction } from 'monaco-editor/esm/vs/base/common/actions.js';
6
6
  import * as errors from 'monaco-editor/esm/vs/base/common/errors.js';
7
7
  import { createErrorWithActions } from 'monaco-editor/esm/vs/base/common/errorMessage.js';
@@ -681,7 +681,7 @@ let RawDebugSession = class RawDebugSession {
681
681
  }
682
682
  mergeCapabilities(capabilities) {
683
683
  if (capabilities) {
684
- this._capabilities = objects.mixin(this._capabilities, capabilities);
684
+ this._capabilities = Objects.mixin(this._capabilities, capabilities);
685
685
  }
686
686
  }
687
687
  fireSimulatedContinuedEvent(threadId, allThreadsContinued = false) {
@@ -50,7 +50,7 @@ import { LinkDetector } from './linkDetector.js';
50
50
  import { ReplFilter } from './replFilter.js';
51
51
  import { ReplDelegate, ReplVariablesRenderer, ReplOutputElementRenderer, ReplEvaluationInputsRenderer, ReplGroupRenderer, ReplEvaluationResultsRenderer, ReplRawObjectsRenderer, ReplDataSource, ReplAccessibilityProvider } from './replViewer.js';
52
52
  import { DEBUG_SCHEME, CONTEXT_MULTI_SESSION_REPL, CONTEXT_IN_DEBUG_REPL, REPL_VIEW_ID, IDebugService, CONTEXT_DEBUG_STATE, getStateLabel } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
53
- import { Variable } from '../common/debugModel.js';
53
+ import { Variable } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
54
54
  import { ReplEvaluationResult, ReplGroup } from '../common/replModel.js';
55
55
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
56
56
  import { registerNavigableContainer } from 'vscode/vscode/vs/workbench/browser/actions/widgetNavigationCommands';
@@ -1,7 +1,7 @@
1
1
  import { matchesFuzzy } from 'monaco-editor/esm/vs/base/common/filters.js';
2
2
  import { splitGlobAware } from 'monaco-editor/esm/vs/base/common/glob.js';
3
3
  import { ReplEvaluationInput, ReplEvaluationResult } from '../common/replModel.js';
4
- import { Variable } from '../common/debugModel.js';
4
+ import { Variable } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
5
5
 
6
6
  class ReplFilter {
7
7
  constructor() {
@@ -17,7 +17,7 @@ import { renderExpressionValue, AbstractExpressionsRenderer, renderVariable } fr
17
17
  import { handleANSIOutput } from './debugANSIHandling.js';
18
18
  import { debugConsoleEvaluationInput } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
19
19
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
20
- import { Variable } from '../common/debugModel.js';
20
+ import { Variable } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
21
21
  import { ReplVariableElement, ReplEvaluationResult, ReplOutputElement, ReplEvaluationInput, ReplGroup, RawObjectReplElement } from '../common/replModel.js';
22
22
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
23
23
 
@@ -27,7 +27,7 @@ import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views'
27
27
  import { AbstractExpressionsRenderer, renderVariable, renderViewTree } from './baseDebugView.js';
28
28
  import { LinkDetector } from './linkDetector.js';
29
29
  import { IDebugService, VARIABLES_VIEW_ID, CONTEXT_VARIABLES_FOCUSED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_VARIABLE_IS_READONLY } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
30
- import { Variable, getUriForDebugMemory, Expression, ErrorScope, Scope, StackFrame } from '../common/debugModel.js';
30
+ import { Variable, getUriForDebugMemory, Expression, ErrorScope, Scope, StackFrame } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
31
31
  import { IEditorService, SIDE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
32
32
  import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
33
33
 
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
3
3
  import { CONTEXT_CAN_VIEW_MEMORY, CONTEXT_WATCH_ITEM_TYPE, WATCH_VIEW_ID, CONTEXT_WATCH_EXPRESSIONS_EXIST, IDebugService, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_WATCH_EXPRESSIONS_FOCUSED } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
4
- import { Variable, Expression } from '../common/debugModel.js';
4
+ import { Variable, Expression } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
5
5
  import { IContextMenuService, IContextViewService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
6
6
  import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
7
7
  import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
@@ -5,7 +5,7 @@ import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model
5
5
  import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
6
6
  import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
7
7
  import { DEBUG_SCHEME, IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
8
- import { Source } from './debugSource.js';
8
+ import { Source } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugSource';
9
9
  import { IEditorWorkerService } from 'monaco-editor/esm/vs/editor/common/services/editorWorker.js';
10
10
  import { EditOperation } from 'monaco-editor/esm/vs/editor/common/core/editOperation.js';
11
11
  import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
@@ -1,7 +1,7 @@
1
1
  import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
2
2
  import * as nls from 'monaco-editor/esm/vs/nls.js';
3
3
  import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
4
- import { inputsSchema } from '../../../services/configurationResolver/common/configurationResolverSchema.js';
4
+ import { inputsSchema } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolverSchema';
5
5
 
6
6
  const debuggersExtPoint = ( ExtensionsRegistry.registerExtensionPoint({
7
7
  extensionPoint: 'debuggers',
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
3
3
  import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
4
- import { Breakpoint, FunctionBreakpoint, ExceptionBreakpoint, DataBreakpoint, Expression } from './debugModel.js';
4
+ import { Breakpoint, FunctionBreakpoint, ExceptionBreakpoint, DataBreakpoint, Expression } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
5
5
  import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
6
6
  import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
7
7
  import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
@@ -4,7 +4,7 @@ import { isObject } from 'monaco-editor/esm/vs/base/common/types.js';
4
4
  import { DebugConfigurationProviderTriggerKind, debuggerDisabledMessage, IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
5
5
  import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
6
6
  import { IConfigurationResolverService } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolver';
7
- import { applyDeprecatedVariableMessage } from '../../../services/configurationResolver/common/configurationResolverUtils.js';
7
+ import { applyDeprecatedVariableMessage } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolverUtils';
8
8
  import { ITextResourcePropertiesService } from 'monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js';
9
9
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
10
10
  import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
@@ -3,7 +3,7 @@ import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
3
3
  import { isObject, isString } from 'monaco-editor/esm/vs/base/common/types.js';
4
4
  import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
5
5
  import * as nls from 'monaco-editor/esm/vs/nls.js';
6
- import { ExpressionContainer } from './debugModel.js';
6
+ import { ExpressionContainer } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
7
7
 
8
8
  const MAX_REPL_LENGTH = 10000;
9
9
  let topReplElementCounter = 0;