@codingame/monaco-vscode-debug-service-override 4.5.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +42 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +93 -93
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +7 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +12 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +6 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +16 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +12 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +20 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +4 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +22 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +33 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -963
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -103
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -84
|
@@ -21,13 +21,13 @@ import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
|
21
21
|
import { IContextViewService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
22
22
|
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
23
23
|
import { dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
24
|
-
import { ADD_CONFIGURATION_ID } from '
|
|
24
|
+
import { ADD_CONFIGURATION_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
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
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
|
-
import { setupCustomHover } from 'vscode/vscode/vs/base/browser/ui/hover/updatableHoverWidget';
|
|
30
29
|
import { getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
30
|
+
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
31
31
|
|
|
32
32
|
var StartDebugActionViewItem_1;
|
|
33
33
|
const _moduleId = "vs/workbench/contrib/debug/browser/debugActionViewItems";
|
|
@@ -35,7 +35,7 @@ const $ = $$1;
|
|
|
35
35
|
let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseActionViewItem {
|
|
36
36
|
static { StartDebugActionViewItem_1 = this; }
|
|
37
37
|
static { this.SEPARATOR = '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500'; }
|
|
38
|
-
constructor(context, action, options, debugService, configurationService, commandService, contextService, contextViewService, keybindingService) {
|
|
38
|
+
constructor(context, action, options, debugService, configurationService, commandService, contextService, contextViewService, keybindingService, hoverService) {
|
|
39
39
|
super(context, action, options);
|
|
40
40
|
this.context = context;
|
|
41
41
|
this.debugService = debugService;
|
|
@@ -43,6 +43,7 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
|
|
|
43
43
|
this.commandService = commandService;
|
|
44
44
|
this.contextService = contextService;
|
|
45
45
|
this.keybindingService = keybindingService;
|
|
46
|
+
this.hoverService = hoverService;
|
|
46
47
|
this.debugOptions = [];
|
|
47
48
|
this.selected = 0;
|
|
48
49
|
this.providers = [];
|
|
@@ -75,7 +76,7 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
|
|
|
75
76
|
const keybinding = this.keybindingService.lookupKeybinding(this.action.id)?.getLabel();
|
|
76
77
|
const keybindingLabel = keybinding ? ` (${keybinding})` : '';
|
|
77
78
|
const title = this.action.label + keybindingLabel;
|
|
78
|
-
this.toDispose.push(
|
|
79
|
+
this.toDispose.push(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), this.start, title));
|
|
79
80
|
this.start.setAttribute('role', 'button');
|
|
80
81
|
this.start.ariaLabel = title;
|
|
81
82
|
this.toDispose.push(addDisposableListener(this.start, EventType.CLICK, () => {
|
|
@@ -247,7 +248,8 @@ StartDebugActionViewItem = StartDebugActionViewItem_1 = ( (__decorate([
|
|
|
247
248
|
( (__param(5, ICommandService))),
|
|
248
249
|
( (__param(6, IWorkspaceContextService))),
|
|
249
250
|
( (__param(7, IContextViewService))),
|
|
250
|
-
( (__param(8, IKeybindingService)))
|
|
251
|
+
( (__param(8, IKeybindingService))),
|
|
252
|
+
( (__param(9, IHoverService)))
|
|
251
253
|
], StartDebugActionViewItem)));
|
|
252
254
|
let FocusSessionActionViewItem = class FocusSessionActionViewItem extends SelectActionViewItem {
|
|
253
255
|
constructor(action, session, debugService, contextViewService, configurationService) {
|
|
@@ -4,7 +4,7 @@ import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
|
4
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
6
|
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
7
|
-
import { DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID } from '
|
|
7
|
+
import { DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
8
8
|
import { REPL_VIEW_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
9
9
|
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
10
10
|
|
|
@@ -259,6 +259,9 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
|
|
|
259
259
|
...( localize2WithPath(_moduleId, 12, "Toggle Source Code in Disassembly View")),
|
|
260
260
|
mnemonicTitle: ( localizeWithPath(_moduleId, 13, "&&ToggleSource")),
|
|
261
261
|
},
|
|
262
|
+
metadata: {
|
|
263
|
+
description: ( localize2WithPath(_moduleId, 14, 'Shows or hides source code in disassembly'))
|
|
264
|
+
},
|
|
262
265
|
f1: true,
|
|
263
266
|
});
|
|
264
267
|
}
|
|
@@ -272,7 +275,7 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
|
|
|
272
275
|
}
|
|
273
276
|
class RunToCursorAction extends EditorAction {
|
|
274
277
|
static { this.ID = 'editor.debug.action.runToCursor'; }
|
|
275
|
-
static { this.LABEL = ( localize2WithPath(_moduleId,
|
|
278
|
+
static { this.LABEL = ( localize2WithPath(_moduleId, 15, "Run to Cursor")); }
|
|
276
279
|
constructor() {
|
|
277
280
|
super({
|
|
278
281
|
id: RunToCursorAction.ID,
|
|
@@ -309,7 +312,7 @@ class RunToCursorAction extends EditorAction {
|
|
|
309
312
|
}
|
|
310
313
|
class SelectionToReplAction extends EditorAction {
|
|
311
314
|
static { this.ID = 'editor.debug.action.selectionToRepl'; }
|
|
312
|
-
static { this.LABEL = ( localize2WithPath(_moduleId,
|
|
315
|
+
static { this.LABEL = ( localize2WithPath(_moduleId, 16, "Evaluate in Debug Console")); }
|
|
313
316
|
constructor() {
|
|
314
317
|
super({
|
|
315
318
|
id: SelectionToReplAction.ID,
|
|
@@ -344,7 +347,7 @@ class SelectionToReplAction extends EditorAction {
|
|
|
344
347
|
}
|
|
345
348
|
class SelectionToWatchExpressionsAction extends EditorAction {
|
|
346
349
|
static { this.ID = 'editor.debug.action.selectionToWatch'; }
|
|
347
|
-
static { this.LABEL = ( localize2WithPath(_moduleId,
|
|
350
|
+
static { this.LABEL = ( localize2WithPath(_moduleId, 17, "Add to Watch")); }
|
|
348
351
|
constructor() {
|
|
349
352
|
super({
|
|
350
353
|
id: SelectionToWatchExpressionsAction.ID,
|
|
@@ -389,7 +392,7 @@ class ShowDebugHoverAction extends EditorAction {
|
|
|
389
392
|
constructor() {
|
|
390
393
|
super({
|
|
391
394
|
id: 'editor.debug.action.showDebugHover',
|
|
392
|
-
label: ( localizeWithPath(_moduleId,
|
|
395
|
+
label: ( localizeWithPath(_moduleId, 18, "Debug: Show Hover")),
|
|
393
396
|
alias: 'Debug: Show Hover',
|
|
394
397
|
precondition: CONTEXT_IN_DEBUG_MODE,
|
|
395
398
|
kbOpts: {
|
|
@@ -407,10 +410,10 @@ class ShowDebugHoverAction extends EditorAction {
|
|
|
407
410
|
return editor.getContribution(EDITOR_CONTRIBUTION_ID)?.showHover(position, true);
|
|
408
411
|
}
|
|
409
412
|
}
|
|
410
|
-
const NO_TARGETS_MESSAGE = ( localizeWithPath(_moduleId,
|
|
413
|
+
const NO_TARGETS_MESSAGE = ( localizeWithPath(_moduleId, 19, "Step targets are not available here"));
|
|
411
414
|
class StepIntoTargetsAction extends EditorAction {
|
|
412
415
|
static { this.ID = 'editor.debug.action.stepIntoTargets'; }
|
|
413
|
-
static { this.LABEL = ( localizeWithPath(_moduleId,
|
|
416
|
+
static { this.LABEL = ( localizeWithPath(_moduleId, 20, "Step Into Target")); }
|
|
414
417
|
constructor() {
|
|
415
418
|
super({
|
|
416
419
|
id: StepIntoTargetsAction.ID,
|
|
@@ -522,7 +525,7 @@ class GoToNextBreakpointAction extends GoToBreakpointAction {
|
|
|
522
525
|
constructor() {
|
|
523
526
|
super(true, {
|
|
524
527
|
id: 'editor.debug.action.goToNextBreakpoint',
|
|
525
|
-
label: ( localizeWithPath(_moduleId,
|
|
528
|
+
label: ( localizeWithPath(_moduleId, 21, "Debug: Go to Next Breakpoint")),
|
|
526
529
|
alias: 'Debug: Go to Next Breakpoint',
|
|
527
530
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE
|
|
528
531
|
});
|
|
@@ -532,7 +535,7 @@ class GoToPreviousBreakpointAction extends GoToBreakpointAction {
|
|
|
532
535
|
constructor() {
|
|
533
536
|
super(false, {
|
|
534
537
|
id: 'editor.debug.action.goToPreviousBreakpoint',
|
|
535
|
-
label: ( localizeWithPath(_moduleId,
|
|
538
|
+
label: ( localizeWithPath(_moduleId, 22, "Debug: Go to Previous Breakpoint")),
|
|
536
539
|
alias: 'Debug: Go to Previous Breakpoint',
|
|
537
540
|
precondition: CONTEXT_DEBUGGERS_AVAILABLE
|
|
538
541
|
});
|
|
@@ -542,7 +545,7 @@ class CloseExceptionWidgetAction extends EditorAction {
|
|
|
542
545
|
constructor() {
|
|
543
546
|
super({
|
|
544
547
|
id: 'editor.debug.action.closeExceptionWidget',
|
|
545
|
-
label: ( localizeWithPath(_moduleId,
|
|
548
|
+
label: ( localizeWithPath(_moduleId, 23, "Close Exception Widget")),
|
|
546
549
|
alias: 'Close Exception Widget',
|
|
547
550
|
precondition: CONTEXT_EXCEPTION_WIDGET_VISIBLE,
|
|
548
551
|
kbOpts: {
|
|
@@ -26,7 +26,7 @@ import { InjectedTextCursorStops } from 'vscode/vscode/vs/editor/common/model';
|
|
|
26
26
|
import { ILanguageFeatureDebounceService } from 'vscode/vscode/vs/editor/common/services/languageFeatureDebounce';
|
|
27
27
|
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
28
28
|
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
29
|
-
import { HoverController } from 'vscode/vscode/vs/editor/contrib/hover/browser/
|
|
29
|
+
import { HoverController } from 'vscode/vscode/vs/editor/contrib/hover/browser/hoverController';
|
|
30
30
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
31
31
|
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
32
32
|
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
@@ -14,6 +14,7 @@ import { MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
|
14
14
|
import { IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions.service';
|
|
15
15
|
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
16
16
|
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
|
|
17
|
+
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
17
18
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
18
19
|
import { WorkbenchAsyncDataTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
19
20
|
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
@@ -66,13 +67,14 @@ let DebugHoverWidget = class DebugHoverWidget {
|
|
|
66
67
|
get isShowingComplexValue() {
|
|
67
68
|
return this.complexValueContainer?.hidden === false;
|
|
68
69
|
}
|
|
69
|
-
constructor(editor, debugService, instantiationService, menuService, contextKeyService, contextMenuService) {
|
|
70
|
+
constructor(editor, debugService, instantiationService, menuService, contextKeyService, contextMenuService, hoverService) {
|
|
70
71
|
this.editor = editor;
|
|
71
72
|
this.debugService = debugService;
|
|
72
73
|
this.instantiationService = instantiationService;
|
|
73
74
|
this.menuService = menuService;
|
|
74
75
|
this.contextKeyService = contextKeyService;
|
|
75
76
|
this.contextMenuService = contextMenuService;
|
|
77
|
+
this.hoverService = hoverService;
|
|
76
78
|
this.allowEditorOverflow = true;
|
|
77
79
|
this.highlightDecorations = this.editor.createDecorationsCollection();
|
|
78
80
|
this.isUpdatingTree = false;
|
|
@@ -226,7 +228,7 @@ let DebugHoverWidget = class DebugHoverWidget {
|
|
|
226
228
|
renderExpressionValue(expression, this.valueContainer, {
|
|
227
229
|
showChanged: false,
|
|
228
230
|
colorize: true
|
|
229
|
-
});
|
|
231
|
+
}, this.hoverService);
|
|
230
232
|
this.valueContainer.title = '';
|
|
231
233
|
this.editor.layoutContentWidget(this);
|
|
232
234
|
this.scrollbar.scanDomNode();
|
|
@@ -318,7 +320,8 @@ DebugHoverWidget = DebugHoverWidget_1 = ( (__decorate([
|
|
|
318
320
|
( (__param(2, IInstantiationService))),
|
|
319
321
|
( (__param(3, IMenuService))),
|
|
320
322
|
( (__param(4, IContextKeyService))),
|
|
321
|
-
( (__param(5, IContextMenuService)))
|
|
323
|
+
( (__param(5, IContextMenuService))),
|
|
324
|
+
( (__param(6, IHoverService)))
|
|
322
325
|
], DebugHoverWidget)));
|
|
323
326
|
class DebugHoverAccessibilityProvider {
|
|
324
327
|
getWidgetAriaLabel() {
|
|
@@ -6,7 +6,7 @@ import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/d
|
|
|
6
6
|
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
7
7
|
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
8
8
|
import { matchesFuzzy } from 'vscode/vscode/vs/base/common/filters';
|
|
9
|
-
import { DEBUG_QUICK_ACCESS_PREFIX, ADD_CONFIGURATION_ID } from '
|
|
9
|
+
import { DEBUG_QUICK_ACCESS_PREFIX, ADD_CONFIGURATION_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
10
10
|
import { debugConfigure, debugRemoveConfig } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
11
11
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/co
|
|
|
28
28
|
import { IWorkspaceTrustRequestService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
29
29
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
30
30
|
import { AdapterManager } from './debugAdapterManager.js';
|
|
31
|
-
import { DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL } from '
|
|
31
|
+
import { DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
32
32
|
import { ConfigurationManager } from './debugConfigurationManager.js';
|
|
33
33
|
import { DebugMemoryFileSystemProvider } from './debugMemory.js';
|
|
34
34
|
import { DebugSession } from './debugSession.js';
|
|
@@ -521,7 +521,6 @@ let DebugService = class DebugService {
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
this.model.addSession(session);
|
|
524
|
-
this.registerSessionListeners(session);
|
|
525
524
|
this._onWillNewSession.fire(session);
|
|
526
525
|
const openDebug = this.configurationService.getValue('debug').openDebug;
|
|
527
526
|
if (!configuration.resolved.noDebug && (openDebug === 'openOnSessionStart' || (openDebug !== 'neverOpen' && this.viewModel.firstSessionStart)) && !session.suppressDebugView) {
|
|
@@ -561,6 +560,7 @@ let DebugService = class DebugService {
|
|
|
561
560
|
}
|
|
562
561
|
}
|
|
563
562
|
async launchOrAttachToSession(session, forceFocus = false) {
|
|
563
|
+
this.registerSessionListeners(session);
|
|
564
564
|
const dbgr = this.adapterManager.getDebugger(session.configuration.type);
|
|
565
565
|
try {
|
|
566
566
|
await session.initialize(dbgr);
|
|
@@ -595,7 +595,7 @@ let DebugService = class DebugService {
|
|
|
595
595
|
}
|
|
596
596
|
}));
|
|
597
597
|
listenerDisposables.add(this.onDidEndSession(e => {
|
|
598
|
-
if (e.session === session
|
|
598
|
+
if (e.session === session) {
|
|
599
599
|
this.disposables.delete(listenerDisposables);
|
|
600
600
|
}
|
|
601
601
|
}));
|
|
@@ -23,7 +23,7 @@ import { ITelemetryService, ICustomEndpointTelemetryService } from 'vscode/vscod
|
|
|
23
23
|
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
24
24
|
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
25
25
|
import { RawDebugSession } from './rawDebugSession.js';
|
|
26
|
-
import { VIEWLET_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
26
|
+
import { VIEWLET_ID, isFrameDeemphasized } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
27
27
|
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
28
28
|
import { MemoryRegion, ExpressionContainer, Thread } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
29
29
|
import { Source } from 'vscode/vscode/vs/workbench/contrib/debug/common/debugSource';
|
|
@@ -1167,7 +1167,7 @@ let DebugSession = class DebugSession {
|
|
|
1167
1167
|
return;
|
|
1168
1168
|
}
|
|
1169
1169
|
const focusedStackFrame = this.debugService.getViewModel().focusedStackFrame;
|
|
1170
|
-
if (!focusedStackFrame || !focusedStackFrame
|
|
1170
|
+
if (!focusedStackFrame || !isFrameDeemphasized(focusedStackFrame)) {
|
|
1171
1171
|
focus();
|
|
1172
1172
|
}
|
|
1173
1173
|
}
|
|
@@ -11,7 +11,7 @@ import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/
|
|
|
11
11
|
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
12
12
|
import { createErrorWithActions } from 'vscode/vscode/vs/base/common/errorMessage';
|
|
13
13
|
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
14
|
-
import { DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL } from '
|
|
14
|
+
import { DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
15
15
|
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
16
16
|
|
|
17
17
|
const _moduleId = "vs/workbench/contrib/debug/browser/debugTaskRunner";
|
|
@@ -37,7 +37,7 @@ import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeServi
|
|
|
37
37
|
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
38
38
|
import { FocusSessionActionViewItem } from './debugActionViewItems.js';
|
|
39
39
|
import { debugToolBarBackground, debugToolBarBorder } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
|
|
40
|
-
import { FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, CONTINUE_ID, CONTINUE_LABEL, PAUSE_ID, PAUSE_LABEL, STOP_LABEL, DISCONNECT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, RESTART_SESSION_ID, RESTART_LABEL, STEP_BACK_ID, REVERSE_CONTINUE_ID, FOCUS_SESSION_LABEL, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL } from '
|
|
40
|
+
import { FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, CONTINUE_ID, CONTINUE_LABEL, PAUSE_ID, PAUSE_LABEL, STOP_LABEL, DISCONNECT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STEP_INTO_ID, STEP_INTO_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, RESTART_SESSION_ID, RESTART_LABEL, STEP_BACK_ID, REVERSE_CONTINUE_ID, FOCUS_SESSION_LABEL, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
41
41
|
import { debugGripper, debugContinue, debugPause, debugStop, debugDisconnect, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStepBack, debugReverseContinue } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
42
42
|
import { VIEWLET_ID, CONTEXT_DEBUG_STATE, CONTEXT_IN_DEBUG_MODE, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_STEP_BACK_SUPPORTED, CONTEXT_MULTI_SESSION_DEBUG, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
43
43
|
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
@@ -60,7 +60,6 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
60
60
|
this.storageService = storageService;
|
|
61
61
|
this.configurationService = configurationService;
|
|
62
62
|
this.instantiationService = instantiationService;
|
|
63
|
-
this.yCoordinate = 0;
|
|
64
63
|
this.isVisible = false;
|
|
65
64
|
this.isBuilt = false;
|
|
66
65
|
this.stopActionViewItemDisposables = this._register(( (new DisposableStore())));
|
|
@@ -119,7 +118,7 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
119
118
|
}
|
|
120
119
|
if (e.affectsConfiguration("workbench.editor.showTabs" ) || e.affectsConfiguration("window.commandCenter" )) {
|
|
121
120
|
this._yRange = undefined;
|
|
122
|
-
this.
|
|
121
|
+
this.setCoordinates();
|
|
123
122
|
}
|
|
124
123
|
}));
|
|
125
124
|
this._register(this.debugToolBarMenu.onDidChange(() => this.updateScheduler.schedule()));
|
|
@@ -153,8 +152,11 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
153
152
|
mouseUpListener.dispose();
|
|
154
153
|
});
|
|
155
154
|
}));
|
|
156
|
-
this._register(this.layoutService.onDidChangePartVisibility(() => this.
|
|
155
|
+
this._register(this.layoutService.onDidChangePartVisibility(() => this.setCoordinates()));
|
|
157
156
|
const resizeListener = this._register(( (new MutableDisposable())));
|
|
157
|
+
const registerResizeListener = () => {
|
|
158
|
+
resizeListener.value = this._register(addDisposableListener(getWindow(this.layoutService.activeContainer), EventType.RESIZE, () => this.setCoordinates()));
|
|
159
|
+
};
|
|
158
160
|
this._register(this.layoutService.onDidChangeActiveContainer(async () => {
|
|
159
161
|
this._yRange = undefined;
|
|
160
162
|
await this.layoutService.whenContainerStylesLoaded(getWindow(this.layoutService.activeContainer));
|
|
@@ -162,19 +164,22 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
162
164
|
this.doShowInActiveContainer();
|
|
163
165
|
this.setCoordinates();
|
|
164
166
|
}
|
|
165
|
-
|
|
167
|
+
registerResizeListener();
|
|
166
168
|
}));
|
|
169
|
+
registerResizeListener();
|
|
167
170
|
}
|
|
168
171
|
storePosition() {
|
|
169
172
|
const activeWindow = getWindow(this.layoutService.activeContainer);
|
|
170
173
|
const isMainWindow = this.layoutService.activeContainer === this.layoutService.mainContainer;
|
|
171
|
-
const
|
|
174
|
+
const rect = this.$el.getBoundingClientRect();
|
|
175
|
+
const y = rect.top;
|
|
176
|
+
const x = rect.left / activeWindow.innerWidth;
|
|
172
177
|
if (isMainWindow) {
|
|
173
|
-
this.storageService.store(DEBUG_TOOLBAR_POSITION_KEY,
|
|
174
|
-
this.storageService.store(DEBUG_TOOLBAR_Y_KEY,
|
|
178
|
+
this.storageService.store(DEBUG_TOOLBAR_POSITION_KEY, x, 0 , 1 );
|
|
179
|
+
this.storageService.store(DEBUG_TOOLBAR_Y_KEY, y, 0 , 1 );
|
|
175
180
|
}
|
|
176
181
|
else {
|
|
177
|
-
this.auxWindowCoordinates.set(activeWindow, { x
|
|
182
|
+
this.auxWindowCoordinates.set(activeWindow, { x, y });
|
|
178
183
|
}
|
|
179
184
|
}
|
|
180
185
|
updateStyles() {
|
|
@@ -218,11 +223,10 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
218
223
|
}
|
|
219
224
|
this.setYCoordinate(y ?? this.yDefault);
|
|
220
225
|
}
|
|
221
|
-
setYCoordinate(y
|
|
226
|
+
setYCoordinate(y) {
|
|
222
227
|
const [yMin, yMax] = this.yRange;
|
|
223
228
|
y = Math.max(yMin, Math.min(y, yMax));
|
|
224
229
|
this.$el.style.top = `${y}px`;
|
|
225
|
-
this.yCoordinate = y;
|
|
226
230
|
}
|
|
227
231
|
get yDefault() {
|
|
228
232
|
return this.layoutService.mainContainerOffset.top;
|
|
@@ -262,7 +266,7 @@ let DebugToolBar = class DebugToolBar extends Themable {
|
|
|
262
266
|
}
|
|
263
267
|
doShowInActiveContainer() {
|
|
264
268
|
this.layoutService.activeContainer.appendChild(this.$el);
|
|
265
|
-
this.trackPixelRatioListener.value = PixelRatio.getInstance(getWindow(this.$el)).onDidChange(() => this.
|
|
269
|
+
this.trackPixelRatioListener.value = PixelRatio.getInstance(getWindow(this.$el)).onDidChange(() => this.setCoordinates());
|
|
266
270
|
}
|
|
267
271
|
hide() {
|
|
268
272
|
this.isVisible = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
3
|
import './media/debugViewlet.css.js';
|
|
4
|
-
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
+
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
5
5
|
import { createActionViewItem } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
|
|
6
6
|
import { MenuRegistry, MenuId, registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
7
|
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
@@ -20,7 +20,7 @@ import { WorkbenchStateContext } from 'vscode/vscode/vs/workbench/common/context
|
|
|
20
20
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.service';
|
|
21
21
|
import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
22
22
|
import { StartDebugActionViewItem, FocusSessionActionViewItem } from './debugActionViewItems.js';
|
|
23
|
-
import { DEBUG_START_COMMAND_ID, FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, DEBUG_START_LABEL, DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL, SELECT_AND_START_ID } from '
|
|
23
|
+
import { DEBUG_START_COMMAND_ID, FOCUS_SESSION_ID, STOP_ID, DISCONNECT_ID, DEBUG_START_LABEL, DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL, SELECT_AND_START_ID } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
24
24
|
import { debugConfigure } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
25
25
|
import { createDisconnectMenuItemAction } from './debugToolBar.js';
|
|
26
26
|
import { WelcomeView } from './welcomeView.js';
|
|
@@ -182,6 +182,13 @@ registerAction2(class extends Action2 {
|
|
|
182
182
|
original: 'Open \'launch.json\'',
|
|
183
183
|
mnemonicTitle: ( localizeWithPath(_moduleId, 0, "Open &&Configurations"))
|
|
184
184
|
},
|
|
185
|
+
metadata: {
|
|
186
|
+
description: ( localize2WithPath(
|
|
187
|
+
_moduleId,
|
|
188
|
+
1,
|
|
189
|
+
'Opens the file used to configure how your program is debugged'
|
|
190
|
+
))
|
|
191
|
+
},
|
|
185
192
|
f1: true,
|
|
186
193
|
icon: debugConfigure,
|
|
187
194
|
precondition: ( (CONTEXT_DEBUG_UX.notEqualsTo('simple'))),
|
|
@@ -233,7 +240,7 @@ registerAction2(class extends Action2 {
|
|
|
233
240
|
activeItem: picks[0],
|
|
234
241
|
placeHolder: ( localizeWithPath(
|
|
235
242
|
_moduleId,
|
|
236
|
-
|
|
243
|
+
2,
|
|
237
244
|
"Select a workspace folder to create a launch.json file in or add it to the workspace config file"
|
|
238
245
|
))
|
|
239
246
|
});
|
|
@@ -251,7 +258,7 @@ registerAction2(class extends Action2 {
|
|
|
251
258
|
constructor() {
|
|
252
259
|
super({
|
|
253
260
|
id: 'debug.toggleReplIgnoreFocus',
|
|
254
|
-
title: ( localizeWithPath(_moduleId,
|
|
261
|
+
title: ( localizeWithPath(_moduleId, 3, "Debug Console")),
|
|
255
262
|
toggled: ( (ContextKeyExpr.has(`view.${REPL_VIEW_ID}.visible`))),
|
|
256
263
|
menu: [{
|
|
257
264
|
id: ViewsSubMenu,
|
|
@@ -283,7 +290,7 @@ MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
|
|
|
283
290
|
order: 10,
|
|
284
291
|
command: {
|
|
285
292
|
id: SELECT_AND_START_ID,
|
|
286
|
-
title: ( localizeWithPath(_moduleId,
|
|
293
|
+
title: ( localizeWithPath(_moduleId, 4, "Start Additional Session")),
|
|
287
294
|
}
|
|
288
295
|
});
|
|
289
296
|
|
|
@@ -33,6 +33,7 @@ import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeServi
|
|
|
33
33
|
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
34
34
|
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService.service';
|
|
35
35
|
import { TreeFindMode } from 'vscode/vscode/vs/base/browser/ui/tree/abstractTree';
|
|
36
|
+
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
36
37
|
|
|
37
38
|
const _moduleId = "vs/workbench/contrib/debug/browser/loadedScriptsView";
|
|
38
39
|
const NEW_STYLE_COMPRESS = true;
|
|
@@ -331,8 +332,8 @@ function asTreeElement(item, viewState) {
|
|
|
331
332
|
};
|
|
332
333
|
}
|
|
333
334
|
let LoadedScriptsView = class LoadedScriptsView extends ViewPane {
|
|
334
|
-
constructor(options, contextMenuService, keybindingService, instantiationService, viewDescriptorService, configurationService, editorService, contextKeyService, contextService, debugService, labelService, pathService, openerService, themeService, telemetryService) {
|
|
335
|
-
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService);
|
|
335
|
+
constructor(options, contextMenuService, keybindingService, instantiationService, viewDescriptorService, configurationService, editorService, contextKeyService, contextService, debugService, labelService, pathService, openerService, themeService, telemetryService, hoverService) {
|
|
336
|
+
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
336
337
|
this.editorService = editorService;
|
|
337
338
|
this.contextService = contextService;
|
|
338
339
|
this.debugService = debugService;
|
|
@@ -368,9 +369,7 @@ let LoadedScriptsView = class LoadedScriptsView extends ViewPane {
|
|
|
368
369
|
},
|
|
369
370
|
filter: this.filter,
|
|
370
371
|
accessibilityProvider: ( (new LoadedSciptsAccessibilityProvider())),
|
|
371
|
-
overrideStyles:
|
|
372
|
-
listBackground: this.getBackgroundColor()
|
|
373
|
-
}
|
|
372
|
+
overrideStyles: this.getLocationBasedColors().listOverrideStyles
|
|
374
373
|
});
|
|
375
374
|
const updateView = (viewState) => this.tree.setChildren(null, asTreeElement(root, viewState).children);
|
|
376
375
|
updateView();
|
|
@@ -516,7 +515,8 @@ LoadedScriptsView = ( (__decorate([
|
|
|
516
515
|
( (__param(11, IPathService))),
|
|
517
516
|
( (__param(12, IOpenerService))),
|
|
518
517
|
( (__param(13, IThemeService))),
|
|
519
|
-
( (__param(14, ITelemetryService)))
|
|
518
|
+
( (__param(14, ITelemetryService))),
|
|
519
|
+
( (__param(15, IHoverService)))
|
|
520
520
|
], LoadedScriptsView)));
|
|
521
521
|
class LoadedScriptsDelegate {
|
|
522
522
|
getHeight(element) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
2
|
|
|
3
|
-
var css = ".codicon-debug-hint{cursor:pointer}.codicon-debug-hint:not([class*=codicon-debug-breakpoint]):not([class*=codicon-debug-stackframe]){opacity:.4!important}.inline-breakpoint-widget.codicon{align-items:center;display:flex!important}.inline-breakpoint-widget.codicon-debug-breakpoint-disabled{opacity:.7}.monaco-editor .inline-breakpoint-widget.line-start{left:-8px!important}.monaco-editor .debug-breakpoint-placeholder{display:inline-flex;margin-top:-1px;vertical-align:middle;width:.9em}.codicon-debug-breakpoint-conditional.codicon-debug-stackframe-focused:after,.codicon-debug-breakpoint-conditional.codicon-debug-stackframe:after,.codicon-debug-breakpoint.codicon-debug-stackframe-focused:after,.codicon-debug-breakpoint.codicon-debug-stackframe:after{content
|
|
3
|
+
var css = ".codicon-debug-hint{cursor:pointer}.codicon-debug-hint:not([class*=codicon-debug-breakpoint]):not([class*=codicon-debug-stackframe]){opacity:.4!important}.inline-breakpoint-widget.codicon{align-items:center;display:flex!important}.inline-breakpoint-widget.codicon-debug-breakpoint-disabled{opacity:.7}.monaco-editor .inline-breakpoint-widget.line-start{left:-8px!important}.monaco-editor .debug-breakpoint-placeholder{display:inline-flex;margin-top:-1px;vertical-align:middle;width:.9em}.codicon-debug-breakpoint-conditional.codicon-debug-stackframe-focused:after,.codicon-debug-breakpoint-conditional.codicon-debug-stackframe:after,.codicon-debug-breakpoint.codicon-debug-stackframe-focused:after,.codicon-debug-breakpoint.codicon-debug-stackframe:after{content:var(--vscode-icon-debug-stackframe-dot-content);font-family:var(--vscode-icon-debug-stackframe-dot-font-family);position:absolute}.monaco-editor .debug-top-stack-frame-column{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;align-items:center;display:inline-flex;font:normal normal normal 16px/1 codicon;margin-left:0;margin-right:4px;margin-top:-1px;text-rendering:auto;vertical-align:middle;width:.9em}.debug-var-hover-pre{margin:0}.monaco-editor .debug-top-stack-frame-column.start-of-line{margin-top:0;position:absolute;top:50%;transform:translate(-17px,-50%)}.monaco-editor .inline-breakpoint-widget{cursor:pointer}.monaco-workbench .debug-view-content .monaco-list-row .monaco-tl-contents{overflow:hidden;text-overflow:ellipsis}.monaco-workbench .monaco-list-row .expression{display:flex}.monaco-workbench .debug-hover-widget .monaco-list-row .expression,.monaco-workbench .debug-pane .monaco-list-row .expression{font-family:var(--monaco-monospace-font);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:pre}.monaco-workbench.mac .debug-hover-widget .monaco-list-row .expression,.monaco-workbench.mac .debug-pane .monaco-list-row .expression{font-size:11px}.monaco-workbench .monaco-list-row .expression .value{margin-left:6px}.monaco-workbench .monaco-list-row .expression .lazy-button{align-self:center;border-radius:5px;display:none;margin-left:3px}.monaco-workbench .monaco-list-row .expression.lazy .lazy-button{display:inline}.monaco-workbench .monaco-list-row .expression .value a.link:hover{text-decoration:underline}.monaco-workbench .monaco-list-row .expression .value a.link.pointer{cursor:pointer}.monaco-workbench .monaco-list:focus .monaco-list-row.selected .expression .name,.monaco-workbench .monaco-list:focus .monaco-list-row.selected .expression .value{color:inherit}.monaco-workbench .monaco-list-row .expression .name.internal,.monaco-workbench .monaco-list-row .expression .name.virtual{opacity:.5}.monaco-workbench .monaco-list-row .expression .unavailable{font-style:italic}.monaco-workbench .debug-inline-value{background-color:var(--vscode-editor-inlineValuesBackground);color:var(--vscode-editor-inlineValuesForeground)}";
|
|
4
4
|
n(css,{});
|
|
5
5
|
|
|
6
6
|
export { css, css as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
2
|
|
|
3
|
-
var css = ".debug-pane,.debug-view-content{height:100%}.monaco-workbench .debug-action.notification:after{background-color:#c63;border:1px solid #fff;border-radius:10px;content:\"\";height:6px;position:absolute;right:6px;top:10px;width:6px}.monaco-workbench .part>.title>.title-actions .start-debug-action-item{align-items:center;display:flex;flex-shrink:1;line-height:20px}.monaco-workbench.mac .part>.title>.title-actions .start-debug-action-item{border-radius:4px}.monaco-workbench .part>.title>.title-actions .start-debug-action-item .codicon{flex-shrink:0;line-height:inherit}.monaco-workbench .part>.title>.title-actions .start-debug-action-item .codicon-debug-start{height:21px;padding-left:2px;width:18px}.monaco-workbench .monaco-action-bar .start-debug-action-item .configuration .monaco-select-box{border:none;cursor:pointer;line-height:inherit;margin-top:0;min-width:90px;padding-bottom:0;padding-top:0}.monaco-workbench.safari .monaco-action-bar .start-debug-action-item .configuration .monaco-select-box{margin-bottom:0}.monaco-workbench .monaco-action-bar .start-debug-action-item .configuration.disabled .monaco-select-box{cursor:auto;font-style:italic;opacity:.7}.debug-pane .line-number{padding-left:4px;padding-right:4px}.debug-pane .disabled{cursor:auto;opacity:.65}.debug-pane .monaco-list:focus .monaco-list-row.selected .load-all,.debug-pane .monaco-list:focus .monaco-list-row.selected .state.label,.debug-pane .monaco-list:focus .monaco-list-row.selected.focused .state.label{color:inherit}.debug-pane .call-stack-state-message{flex:1;margin:0 10px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.debug-pane .call-stack-state-message>.label{border-radius:3px;font-size:9px;padding:1px 2px}.debug-pane .debug-call-stack .session,.debug-pane .debug-call-stack .thread{align-items:center;display:flex}.debug-pane .debug-call-stack .session>.name,.debug-pane .debug-call-stack .thread>.name{flex:1;overflow:hidden;text-overflow:ellipsis}.debug-pane .debug-call-stack .session>.state.label,.debug-pane .debug-call-stack .thread>.state.label{align-self:center;font-size:.8em;margin:0 10px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.debug-pane .debug-call-stack .monaco-list-row:hover .stack-frame.has-actions .file .line-number,.debug-pane .debug-call-stack .monaco-list-row:hover .state.label{display:none}.debug-pane .monaco-list-row .monaco-action-bar{display:none;flex-shrink:0;margin-right:6px}.debug-pane .monaco-list-row.focused .monaco-action-bar,.debug-pane .monaco-list-row:hover .monaco-action-bar{display:initial}.debug-pane .monaco-list-row .monaco-action-bar .action-label{padding:2px}.debug-pane .session .codicon{line-height:22px;margin-right:2px}.debug-pane .debug-call-stack .stack-frame{display:flex;overflow:hidden;padding-right:.8em;text-overflow:ellipsis}.debug-pane .debug-call-stack .stack-frame.label{font-style:italic;text-align:center}.debug-pane .debug-call-stack .stack-frame .label{flex:1;flex-shrink:0;min-width:fit-content}.debug-pane .debug-call-stack .stack-frame.
|
|
3
|
+
var css = ".debug-pane,.debug-view-content{height:100%}.monaco-workbench .debug-action.notification:after{background-color:#c63;border:1px solid #fff;border-radius:10px;content:\"\";height:6px;position:absolute;right:6px;top:10px;width:6px}.monaco-workbench .part>.title>.title-actions .start-debug-action-item{align-items:center;display:flex;flex-shrink:1;line-height:20px}.monaco-workbench.mac .part>.title>.title-actions .start-debug-action-item{border-radius:4px}.monaco-workbench .part>.title>.title-actions .start-debug-action-item .codicon{flex-shrink:0;line-height:inherit}.monaco-workbench .part>.title>.title-actions .start-debug-action-item .codicon-debug-start{height:21px;padding-left:2px;width:18px}.monaco-workbench .monaco-action-bar .start-debug-action-item .configuration .monaco-select-box{border:none;cursor:pointer;line-height:inherit;margin-top:0;min-width:90px;padding-bottom:0;padding-top:0}.monaco-workbench.safari .monaco-action-bar .start-debug-action-item .configuration .monaco-select-box{margin-bottom:0}.monaco-workbench .monaco-action-bar .start-debug-action-item .configuration.disabled .monaco-select-box{cursor:auto;font-style:italic;opacity:.7}.debug-pane .line-number{padding-left:4px;padding-right:4px}.debug-pane .disabled{cursor:auto;opacity:.65}.debug-pane .monaco-list:focus .monaco-list-row.selected .load-all,.debug-pane .monaco-list:focus .monaco-list-row.selected .state.label,.debug-pane .monaco-list:focus .monaco-list-row.selected.focused .state.label{color:inherit}.debug-pane .call-stack-state-message{flex:1;margin:0 10px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.debug-pane .call-stack-state-message>.label{border-radius:3px;font-size:9px;padding:1px 2px}.debug-pane .debug-call-stack .session,.debug-pane .debug-call-stack .thread{align-items:center;display:flex}.debug-pane .debug-call-stack .session>.name,.debug-pane .debug-call-stack .thread>.name{flex:1;overflow:hidden;text-overflow:ellipsis}.debug-pane .debug-call-stack .session>.state.label,.debug-pane .debug-call-stack .thread>.state.label{align-self:center;font-size:.8em;margin:0 10px;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.debug-pane .debug-call-stack .monaco-list-row:hover .stack-frame.has-actions .file .line-number,.debug-pane .debug-call-stack .monaco-list-row:hover .state.label{display:none}.debug-pane .monaco-list-row .monaco-action-bar{display:none;flex-shrink:0;margin-right:6px}.debug-pane .monaco-list-row.focused .monaco-action-bar,.debug-pane .monaco-list-row:hover .monaco-action-bar{display:initial}.debug-pane .monaco-list-row .monaco-action-bar .action-label{padding:2px}.debug-pane .session .codicon{line-height:22px;margin-right:2px}.debug-pane .debug-call-stack .stack-frame{display:flex;overflow:hidden;padding-right:.8em;text-overflow:ellipsis}.debug-pane .debug-call-stack .stack-frame.label{font-style:italic;text-align:center}.debug-pane .debug-call-stack .stack-frame .label{flex:1;flex-shrink:0;min-width:fit-content}.debug-pane .debug-call-stack .stack-frame.label>.file{display:none}.debug-pane .debug-call-stack .stack-frame>.file{display:flex;flex-wrap:wrap;justify-content:flex-end;overflow:hidden}.debug-pane .debug-call-stack .stack-frame>.file>.line-number.unavailable{display:none}.debug-pane .debug-call-stack .stack-frame>.file>.file-name{margin-right:.8em;overflow:hidden;text-overflow:ellipsis}.debug-pane .debug-call-stack .stack-frame>.file:not(:first-child){margin-left:.8em}.debug-pane .debug-call-stack .load-all{text-align:center}.debug-pane .debug-call-stack .show-more{opacity:.5;text-align:center}.debug-pane .debug-call-stack .error{font-style:italic;overflow:hidden;text-overflow:ellipsis}.debug-pane .scope{font-size:11px;font-weight:700}.debug-pane .monaco-list-row .expression .actionbar-spacer{flex-grow:1}.debug-pane .monaco-list-row .expression .value{height:22px;overflow:hidden;text-overflow:ellipsis;white-space:pre}.debug-pane .monaco-list-row .expression .value.changed{border-radius:4px}.debug-pane .monaco-inputbox{line-height:normal;width:100%}.debug-pane .inputBoxContainer{box-sizing:border-box;flex-grow:1}.debug-pane .debug-watch .monaco-inputbox{font-family:var(--monaco-monospace-font)}.debug-pane .monaco-inputbox>.ibwrapper{height:19px}.debug-pane .monaco-inputbox>.ibwrapper>.input{color:initial;padding:0}.debug-pane .watch-expression{display:flex}.debug-pane .watch-expression .expression{flex:1}.debug-pane .debug-variables .scope .error{font-family:var(--monaco-monospace-font);font-style:italic;font-weight:400;overflow:hidden;text-overflow:ellipsis}.debug-pane .monaco-list-row{line-height:22px}.debug-pane .debug-breakpoints .monaco-list-row .breakpoint{padding-left:2px}.debug-pane .debug-breakpoints .breakpoint.exception{padding-left:21px}.debug-pane .debug-breakpoints .breakpoint{align-items:center;display:flex;flex:1;padding-right:.8em}.debug-pane .debug-breakpoints .breakpoint input{flex-shrink:0}.debug-pane .debug-breakpoints .breakpoint>.codicon{align-items:center;display:flex;height:19px;justify-content:center;min-width:19px;width:19px}.debug-pane .debug-breakpoints .breakpoint>.access-type{margin-left:.9em;opacity:.7;overflow:hidden;text-overflow:ellipsis}.debug-pane .debug-breakpoints .breakpoint>.condition,.debug-pane .debug-breakpoints .breakpoint>.file-path{flex:1;margin-left:.9em;opacity:.7;overflow:hidden;text-overflow:ellipsis}.debug-pane .debug-breakpoints .breakpoint .name{overflow:hidden;text-overflow:ellipsis}.debug-pane .pane-header .breakpoint-warning{margin-left:3px}.debug-pane .pane-header .breakpoint-warning .monaco-icon-label .codicon{align-items:center;display:flex}";
|
|
4
4
|
n(css,{});
|
|
5
5
|
|
|
6
6
|
export { css, css as default };
|