@codingame/monaco-vscode-debug-service-override 4.4.1 → 4.5.0-improve-code-splitting.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.
- package/debug.js +5 -4
- package/package.json +10 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +22 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +8 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +8 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +14 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +13 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +7 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +12 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +7 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +20 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +13 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +5 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +17 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +18 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +11 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +8 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +16 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +7 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +23 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +26 -22
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +16 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +14 -11
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +2 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +2 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +16 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +4 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +212 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +7 -5
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +3 -3
- package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +9 -9
- package/override/vs/platform/dialogs/common/dialogs.js +0 -10
package/debug.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
|
-
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
2
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
3
3
|
import { DebugService } from './vscode/src/vs/workbench/contrib/debug/browser/debugService.js';
|
|
4
4
|
import { LanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeaturesService';
|
|
5
5
|
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
6
6
|
import { ConfigurationResolverService } from './vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js';
|
|
7
|
-
import { IConfigurationResolverService } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolver';
|
|
8
|
-
import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug';
|
|
7
|
+
import { IConfigurationResolverService } from 'vscode/vscode/vs/workbench/services/configurationResolver/common/configurationResolver.service';
|
|
8
|
+
import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug.service';
|
|
9
9
|
import { BrowserExtensionHostDebugService } from './vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js';
|
|
10
|
-
import { IDebugVisualizerService
|
|
10
|
+
import { IDebugVisualizerService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugVisualizers.service';
|
|
11
|
+
import { DebugVisualizerService } from './vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js';
|
|
11
12
|
import './tools/debugAssets.js';
|
|
12
13
|
import './vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js';
|
|
13
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-debug-service-override",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0-improve-code-splitting.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -17,7 +17,15 @@
|
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"default": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"./vscode/*": {
|
|
25
|
+
"default": "./vscode/src/*.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
20
28
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.0-improve-code-splitting.1"
|
|
22
30
|
}
|
|
23
31
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
-
import {
|
|
2
|
+
import { $ as $$1, append } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
3
|
import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
|
|
4
4
|
import { HighlightedLabel } from 'vscode/vscode/vs/base/browser/ui/highlightedlabel/highlightedLabel';
|
|
5
5
|
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
@@ -7,22 +7,24 @@ import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
|
7
7
|
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
8
8
|
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
9
9
|
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
10
|
-
import {
|
|
10
|
+
import { dispose, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
11
11
|
import { posix } from 'vscode/vscode/vs/base/common/path';
|
|
12
12
|
import { commonSuffixLength } from 'vscode/vscode/vs/base/common/strings';
|
|
13
13
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
14
|
-
import { MenuEntryActionViewItem, SubmenuEntryActionViewItem,
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
14
|
+
import { createAndFillInContextMenuActions, MenuEntryActionViewItem, SubmenuEntryActionViewItem, createAndFillInActionBarActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
15
|
+
import { MenuId, MenuItemAction, SubmenuItemAction, registerAction2, MenuRegistry } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
16
|
+
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
17
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
18
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
19
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
20
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
19
21
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
20
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
21
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
22
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
23
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
22
24
|
import { WorkbenchCompressibleAsyncDataTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
23
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
24
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
25
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
25
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
26
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
27
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
26
28
|
import { asCssVariable } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
27
29
|
import { textLinkForeground } from 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
28
30
|
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
@@ -34,16 +36,17 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
34
36
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
35
37
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
36
38
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
37
|
-
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
39
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
38
40
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
39
|
-
import {
|
|
40
|
-
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
41
|
+
import { ViewPane, ViewAction } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
42
|
+
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
41
43
|
import { renderViewTree } from 'vscode/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
|
|
42
|
-
import { STOP_ID, DISCONNECT_ID, PAUSE_LABEL,
|
|
43
|
-
import { callstackViewSession, debugRestartFrame, debugPause, debugContinue,
|
|
44
|
+
import { STOP_ID, DISCONNECT_ID, PAUSE_ID, PAUSE_LABEL, CONTINUE_ID, CONTINUE_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, RESTART_SESSION_ID, RESTART_LABEL, STOP_LABEL, DISCONNECT_LABEL } from './debugCommands.js';
|
|
45
|
+
import { callstackViewSession, debugRestartFrame, debugPause, debugContinue, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStop, debugDisconnect } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
44
46
|
import { createDisconnectMenuItemAction } from './debugToolBar.js';
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
+
import { CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_CALLSTACK_SESSION_IS_ATTACH, CONTEXT_CALLSTACK_ITEM_STOPPED, CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CALLSTACK_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
48
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
49
|
+
import { StackFrame, Thread, ThreadAndSessionIds } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
47
50
|
import { isSessionAttach } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
48
51
|
import { setupCustomHover } from 'vscode/vscode/vs/base/browser/ui/hover/updatableHoverWidget';
|
|
49
52
|
import { getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
@@ -4,7 +4,7 @@ import './media/debug.contribution.css.js';
|
|
|
4
4
|
import './media/debugHover.css.js';
|
|
5
5
|
import { registerEditorContribution } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
6
6
|
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
7
|
-
import {
|
|
7
|
+
import { MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
8
8
|
import { Extensions as Extensions$3 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
9
9
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
10
10
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
@@ -20,11 +20,11 @@ import { BreakpointsView } from 'vscode/vscode/vs/workbench/contrib/debug/browse
|
|
|
20
20
|
import { CallStackEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
|
|
21
21
|
import { CallStackView } from './callStackView.js';
|
|
22
22
|
import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
23
|
-
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID,
|
|
23
|
+
import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, DEBUG_COMMAND_CATEGORY, RESTART_SESSION_ID, RESTART_LABEL, TERMINATE_THREAD_ID, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, PAUSE_ID, PAUSE_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, STOP_ID, STOP_LABEL, CONTINUE_ID, CONTINUE_LABEL, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, SELECT_AND_START_LABEL, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID } from './debugCommands.js';
|
|
24
24
|
import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
|
|
25
25
|
import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
|
|
26
26
|
import { DebugEditorContribution } from './debugEditorContribution.js';
|
|
27
|
-
import { debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchViewIcon, callStackViewIcon, breakpointsViewIcon, loadedScriptsViewIcon
|
|
27
|
+
import { debugInspectMemory, watchExpressionRemove, debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchViewIcon, callStackViewIcon, breakpointsViewIcon, loadedScriptsViewIcon } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
28
28
|
import { DebugProgressContribution } from './debugProgress.js';
|
|
29
29
|
import { StartDebugQuickAccessProvider } from './debugQuickAccess.js';
|
|
30
30
|
import './debugService.js';
|
|
@@ -37,14 +37,15 @@ import { LoadedScriptsView } from './loadedScriptsView.js';
|
|
|
37
37
|
import { Repl } from './repl.js';
|
|
38
38
|
import { StatusBarColorProvider } from './statusbarColorProvider.js';
|
|
39
39
|
import { VIEW_MEMORY_ID, SET_VARIABLE_ID, COPY_VALUE_ID, COPY_EVALUATE_PATH_ID, ADD_TO_WATCH_ID, BREAK_WHEN_VALUE_IS_READ_ID, BREAK_WHEN_VALUE_CHANGES_ID, BREAK_WHEN_VALUE_IS_ACCESSED_ID, VariablesView } from './variablesView.js';
|
|
40
|
-
import {
|
|
40
|
+
import { ADD_WATCH_ID, ADD_WATCH_LABEL, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, WatchExpressionsView } from './watchExpressionsView.js';
|
|
41
41
|
import { WelcomeView } from './welcomeView.js';
|
|
42
|
-
import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID,
|
|
42
|
+
import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_IN_DEBUG_MODE, CONTEXT_DEBUG_STATE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, getStateLabel, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_WATCH_ITEM_TYPE, CONTEXT_VARIABLE_VALUE, 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 } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
43
|
+
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
43
44
|
import { DebugContentProvider } from '../common/debugContentProvider.js';
|
|
44
45
|
import { DebugLifecycle } from '../common/debugLifecycle.js';
|
|
45
|
-
import '
|
|
46
|
+
import '../common/debugVisualizers.js';
|
|
46
47
|
import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
|
|
47
|
-
import {
|
|
48
|
+
import { COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL } from '../../notebook/browser/contrib/notebookVariables/notebookVariableCommands.js';
|
|
48
49
|
import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
|
|
49
50
|
|
|
50
51
|
const debugCategory = ( localizeWithPath(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { append, addDisposableListener, EventType
|
|
3
|
+
import { $ as $$1, append, addDisposableListener, EventType } from 'vscode/vscode/vs/base/browser/dom';
|
|
4
4
|
import { StandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
|
|
5
5
|
import { SelectBox } from 'vscode/vscode/vs/base/browser/ui/selectBox/selectBox';
|
|
6
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
7
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
8
|
-
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
6
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
7
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
8
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
9
9
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
10
10
|
import { asCssVariable } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
11
11
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
@@ -18,13 +18,13 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
18
18
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
19
19
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
20
20
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
21
|
-
import { IContextViewService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
22
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
21
|
+
import { IContextViewService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
22
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
23
23
|
import { dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
24
24
|
import { ADD_CONFIGURATION_ID } from './debugCommands.js';
|
|
25
25
|
import { BaseActionViewItem, SelectActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
|
|
26
26
|
import { debugStart } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
27
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
27
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
28
28
|
import { defaultSelectBoxStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
|
|
29
29
|
import { setupCustomHover } from 'vscode/vscode/vs/base/browser/ui/hover/updatableHoverWidget';
|
|
30
30
|
import { getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
@@ -6,13 +6,13 @@ import { equalsIgnoreCase } from 'vscode/vscode/vs/base/common/strings';
|
|
|
6
6
|
import { isCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
7
7
|
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
8
8
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
9
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
10
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
11
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
12
|
-
import '
|
|
9
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
10
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
11
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
12
|
+
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
13
13
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
14
14
|
import { Extensions } from 'vscode/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
15
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
15
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
16
16
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
17
17
|
import { Breakpoints } from '../common/breakpoints.js';
|
|
18
18
|
import { CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_DEBUG_EXTENSION_AVAILABLE, INTERNAL_CONSOLE_OPTIONS_SCHEMA } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
@@ -20,10 +20,9 @@ import { Debugger } from '../common/debugger.js';
|
|
|
20
20
|
import { debuggersExtPoint, breakpointsExtPoint, launchSchema, presentationSchema } from '../common/debugSchemas.js';
|
|
21
21
|
import { TaskDefinitionRegistry } from 'vscode/vscode/vs/workbench/contrib/tasks/common/taskDefinitionRegistry';
|
|
22
22
|
import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
|
|
23
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
24
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
25
|
-
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
26
|
-
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
23
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
24
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
25
|
+
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
27
26
|
|
|
28
27
|
const jsonRegistry = ( Registry.as(Extensions.JSONContribution));
|
|
29
28
|
let AdapterManager = class AdapterManager extends Disposable {
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
2
|
import { List } from 'vscode/vscode/vs/base/browser/ui/list/listWidget';
|
|
3
3
|
import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
4
|
-
import { IListService } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
5
|
-
import {
|
|
4
|
+
import { IListService } from 'vscode/vscode/vs/platform/list/browser/listService.service';
|
|
5
|
+
import { REPL_VIEW_ID, 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, CONTEXT_DEBUGGERS_AVAILABLE, getStateLabel, CONTEXT_BREAKPOINTS_FOCUSED, CONTEXT_WATCH_EXPRESSIONS_FOCUSED, CONTEXT_VARIABLES_FOCUSED, CONTEXT_EXPRESSION_SELECTED, CONTEXT_BREAKPOINT_INPUT_FOCUSED, EDITOR_CONTRIBUTION_ID, VIEWLET_ID as VIEWLET_ID$1 } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
6
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
6
7
|
import { Expression, Variable, Breakpoint, FunctionBreakpoint, DataBreakpoint } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
7
8
|
import { VIEWLET_ID } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensions';
|
|
8
9
|
import { isCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
9
10
|
import { MenuRegistry, MenuId, registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
10
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
11
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
11
12
|
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
12
|
-
import {
|
|
13
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
14
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
13
15
|
import { openBreakpointSource } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
|
|
14
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
16
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
15
17
|
import { InputFocusedContext } from 'vscode/vscode/vs/platform/contextkey/common/contextkeys';
|
|
16
18
|
import { ResourceContextKey, ActiveEditorContext, PanelFocusContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
17
|
-
import { CommandsRegistry
|
|
19
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
20
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
18
21
|
import { ITextResourcePropertiesService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
19
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService';
|
|
20
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
21
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
22
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService';
|
|
22
|
+
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
23
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
24
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
25
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
23
26
|
import { deepClone } from 'vscode/vscode/vs/base/common/objects';
|
|
24
27
|
import { isWeb, isWindows } from 'vscode/vscode/vs/base/common/platform';
|
|
25
28
|
import { saveAllBeforeDebugStart } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
26
|
-
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite';
|
|
29
|
+
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
27
30
|
import { showLoadedScriptMenu } from '../common/loadedScriptsPicker.js';
|
|
28
31
|
import { showDebugSessionMenu } from './debugSessionPicker.js';
|
|
29
32
|
import { TEXT_FILE_EDITOR_ID } from 'vscode/vscode/vs/workbench/contrib/files/common/files';
|
|
@@ -10,26 +10,27 @@ import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
|
10
10
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
11
11
|
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
12
12
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
13
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
14
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
15
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
13
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
14
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
15
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
16
16
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
17
17
|
import { Extensions } from 'vscode/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
18
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
18
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
19
19
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
20
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
21
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
22
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
20
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
21
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
22
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
23
23
|
import { debugConfigure } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
24
24
|
import { CONTEXT_DEBUG_CONFIGURATION_TYPE, DebugConfigurationProviderTriggerKind } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
25
25
|
import { launchSchema } from '../common/debugSchemas.js';
|
|
26
26
|
import { getVisibleAndSorted } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
27
27
|
import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
28
|
+
import { ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
29
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
30
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
31
|
+
import { IHistoryService } from 'vscode/vscode/vs/workbench/services/history/common/history.service';
|
|
32
|
+
import { IPreferencesService } from 'vscode/vscode/vs/workbench/services/preferences/common/preferences.service';
|
|
33
|
+
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
33
34
|
|
|
34
35
|
const jsonRegistry = ( Registry.as(Extensions.JSONContribution));
|
|
35
36
|
jsonRegistry.registerSchema(launchSchemaId, launchSchema);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { matchesFuzzy } from 'vscode/vscode/vs/base/common/filters';
|
|
3
3
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
4
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
5
5
|
import { PickerQuickAccessProvider } from 'vscode/vscode/vs/platform/quickinput/browser/pickerQuickAccess';
|
|
6
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService';
|
|
6
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
7
7
|
import { DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID } from './debugCommands.js';
|
|
8
|
-
import {
|
|
8
|
+
import { REPL_VIEW_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
9
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
9
10
|
|
|
10
11
|
let DebugConsoleQuickAccess = class DebugConsoleQuickAccess extends PickerQuickAccessProvider {
|
|
11
12
|
constructor(_debugService, _viewsService, _commandService) {
|
|
@@ -9,18 +9,19 @@ import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/service
|
|
|
9
9
|
import { MessageController } from 'vscode/vscode/vs/editor/contrib/message/browser/messageController';
|
|
10
10
|
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
11
11
|
import { Action2, MenuId, registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
12
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
12
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
13
13
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
14
|
-
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
15
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
14
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
15
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
16
16
|
import { PanelFocusContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
17
|
-
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService';
|
|
17
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
18
18
|
import { openBreakpointSource } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
|
|
19
19
|
import { DisassemblyView } from './disassemblyView.js';
|
|
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,
|
|
20
|
+
import { CONTEXT_DEBUGGERS_AVAILABLE, CONTEXT_DISASSEMBLY_VIEW_FOCUS, BREAKPOINT_EDITOR_CONTRIBUTION_ID, 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, REPL_VIEW_ID, WATCH_VIEW_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_EXCEPTION_WIDGET_VISIBLE } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
21
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
21
22
|
import { getEvaluatableExpressionAtPosition } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
22
23
|
import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
|
|
23
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
24
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
24
25
|
|
|
25
26
|
class ToggleBreakpointAction extends Action2 {
|
|
26
27
|
constructor() {
|
|
@@ -4,9 +4,9 @@ import { DomEmitter } from 'vscode/vscode/vs/base/browser/event';
|
|
|
4
4
|
import { StandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
|
|
5
5
|
import { distinct } from 'vscode/vscode/vs/base/common/arrays';
|
|
6
6
|
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
7
|
-
import {
|
|
7
|
+
import { CancellationTokenSource, CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
8
8
|
import { memoize } from 'vscode/vscode/vs/base/common/decorators';
|
|
9
|
-
import {
|
|
9
|
+
import { onUnexpectedExternalError, illegalArgument } from 'vscode/vscode/vs/base/common/errors';
|
|
10
10
|
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
11
11
|
import { visit } from 'vscode/vscode/vs/base/common/json';
|
|
12
12
|
import { setProperty } from 'vscode/vscode/vs/base/common/jsonEdit';
|
|
@@ -14,8 +14,8 @@ import { MutableDisposable, DisposableStore, toDisposable, dispose } from 'vscod
|
|
|
14
14
|
import { clamp } from 'vscode/vscode/vs/base/common/numbers';
|
|
15
15
|
import { basename } from 'vscode/vscode/vs/base/common/path';
|
|
16
16
|
import { isMacintosh } from 'vscode/vscode/vs/base/common/platform';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { noBreakWhitespace, format } from 'vscode/vscode/vs/base/common/strings';
|
|
18
|
+
import { isDefined, assertType } from 'vscode/vscode/vs/base/common/types';
|
|
19
19
|
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
20
20
|
import { CoreEditingCommands } from 'vscode/vscode/vs/editor/browser/coreCommands';
|
|
21
21
|
import { EditOperation } from 'vscode/vscode/vs/editor/common/core/editOperation';
|
|
@@ -28,9 +28,10 @@ import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/service
|
|
|
28
28
|
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
29
29
|
import { HoverController } from 'vscode/vscode/vs/editor/contrib/hover/browser/hover';
|
|
30
30
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
31
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
32
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
33
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
34
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
34
35
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
35
36
|
import { registerColor } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
36
37
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
@@ -43,12 +44,13 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
43
44
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
44
45
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
45
46
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
46
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
47
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
47
48
|
import { DebugHoverWidget } from './debugHover.js';
|
|
48
49
|
import { ExceptionWidget } from './exceptionWidget.js';
|
|
49
|
-
import {
|
|
50
|
+
import { CONTEXT_EXCEPTION_WIDGET_VISIBLE } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
51
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
50
52
|
import { Expression } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
51
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host';
|
|
53
|
+
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
52
54
|
|
|
53
55
|
const MAX_NUM_INLINE_VALUES = 100;
|
|
54
56
|
const MAX_INLINE_DECORATOR_LENGTH = 150;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
-
import { append, addStandardDisposableListener, isAncestorOfActiveElement
|
|
2
|
+
import { $ as $$1, append, addStandardDisposableListener, isAncestorOfActiveElement } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
3
|
import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
4
4
|
import { coalesce } from 'vscode/vscode/vs/base/common/arrays';
|
|
5
5
|
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
@@ -10,12 +10,13 @@ import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
|
10
10
|
import { ModelDecorationOptions } from 'vscode/vscode/vs/editor/common/model/textModel';
|
|
11
11
|
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
12
12
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
13
|
-
import { MenuId
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
14
|
+
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
15
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
16
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
16
17
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
17
18
|
import { WorkbenchAsyncDataTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
18
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
19
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
19
20
|
import { asCssVariable } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
20
21
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
21
22
|
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
@@ -30,7 +31,7 @@ import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
|
30
31
|
import { renderExpressionValue, AbstractExpressionDataSource } from 'vscode/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
|
|
31
32
|
import { LinkDetector } from './linkDetector.js';
|
|
32
33
|
import { VariablesRenderer, VisualizedVariableRenderer, openContextMenuForVariableTreeElement } from './variablesView.js';
|
|
33
|
-
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
34
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
34
35
|
import { Variable, Expression, VisualizedExpression } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
35
36
|
import { getEvaluatableExpressionAtPosition } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
36
37
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
3
3
|
import { dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
|
|
5
|
+
import { VIEWLET_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
6
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
7
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
7
8
|
|
|
8
9
|
let DebugProgressContribution = class DebugProgressContribution {
|
|
9
10
|
constructor(debugService, progressService, viewsService) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { PickerQuickAccessProvider, TriggerAction } from 'vscode/vscode/vs/platform/quickinput/browser/pickerQuickAccess';
|
|
3
3
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
5
|
-
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
6
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
7
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
4
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
5
|
+
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
6
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
7
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
8
8
|
import { matchesFuzzy } from 'vscode/vscode/vs/base/common/filters';
|
|
9
9
|
import { DEBUG_QUICK_ACCESS_PREFIX, ADD_CONFIGURATION_ID } from './debugCommands.js';
|
|
10
10
|
import { debugConfigure, debugRemoveConfig } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
@@ -14,19 +14,19 @@ import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
|
14
14
|
import { generateUuid } from 'vscode/vscode/vs/base/common/uuid';
|
|
15
15
|
import { isCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
16
16
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
17
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
18
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
19
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
20
|
-
import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug';
|
|
21
|
-
import '
|
|
22
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
17
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
18
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
19
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
20
|
+
import { IExtensionHostDebugService } from 'vscode/vscode/vs/platform/debug/common/extensionHostDebug.service';
|
|
21
|
+
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
22
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
23
23
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
24
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
25
|
-
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
26
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
27
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
28
|
-
import { IWorkspaceTrustRequestService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust';
|
|
29
|
-
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
24
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
25
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
26
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
27
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
28
|
+
import { IWorkspaceTrustRequestService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
29
|
+
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
30
30
|
import { AdapterManager } from './debugAdapterManager.js';
|
|
31
31
|
import { DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL } from './debugCommands.js';
|
|
32
32
|
import { ConfigurationManager } from './debugConfigurationManager.js';
|
|
@@ -43,14 +43,14 @@ import { saveAllBeforeDebugStart, getExtensionHostDebugSession } from 'vscode/vs
|
|
|
43
43
|
import { ViewModel } from '../common/debugViewModel.js';
|
|
44
44
|
import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
|
|
45
45
|
import { VIEWLET_ID as VIEWLET_ID$1 } from 'vscode/vscode/vs/workbench/contrib/files/common/files';
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
46
|
+
import { NumberBadge } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
|
|
47
|
+
import { IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity.service';
|
|
48
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
49
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
50
|
+
import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
51
|
+
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
52
|
+
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
53
|
+
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
54
54
|
|
|
55
55
|
let DebugService = class DebugService {
|
|
56
56
|
constructor(editorService, paneCompositeService, viewsService, viewDescriptorService, notificationService, dialogService, layoutService, contextService, contextKeyService, lifecycleService, instantiationService, extensionService, fileService, configurationService, extensionHostDebugService, activityService, commandService, quickInputService, workspaceTrustRequestService, uriIdentityService) {
|