@codingame/monaco-vscode-debug-service-override 14.0.6 → 15.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/index.js +1 -1
- package/package.json +14 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +22 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +133 -133
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +8 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +13 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +5 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +23 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +14 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +11 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +6 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +36 -45
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +52 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +10 -12
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +2 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.d.ts +0 -64
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -758
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -419
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -116
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.d.ts +0 -79
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -730
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContext.js +0 -17
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
3
3
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
4
4
|
import { DebugService } from './vscode/src/vs/workbench/contrib/debug/browser/debugService.js';
|
|
5
5
|
import { LanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeaturesService';
|
|
6
|
-
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
6
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
|
|
7
7
|
import { IExtensionHostDebugService } from '@codingame/monaco-vscode-api/vscode/vs/platform/debug/common/extensionHostDebug.service';
|
|
8
8
|
import { BrowserExtensionHostDebugService } from './vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js';
|
|
9
9
|
import { IDebugVisualizerService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debugVisualizers.service';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-debug-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - debug service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,21 +15,19 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"@codingame/monaco-vscode-
|
|
22
|
-
"@codingame/monaco-vscode-
|
|
23
|
-
"@codingame/monaco-vscode-
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
25
|
-
"@codingame/monaco-vscode-
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-e59ecb8c-db32-5324-8fe4-cf9921fd92b8-common": "
|
|
31
|
-
"@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common": "14.0.6",
|
|
32
|
-
"@codingame/monaco-vscode-fc42f049-7883-579d-bb0b-2aa1010a19a8-common": "14.0.6"
|
|
18
|
+
"@codingame/monaco-vscode-0b087f42-a5a3-5eb9-9bfd-1eebc1bba163-common": "15.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common": "15.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "15.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-81f603ca-d6ea-5402-90dd-3014dffc63b4-common": "15.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common": "15.0.0",
|
|
25
|
+
"@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.0",
|
|
26
|
+
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "15.0.0",
|
|
27
|
+
"@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "15.0.0",
|
|
28
|
+
"@codingame/monaco-vscode-api": "15.0.0",
|
|
29
|
+
"@codingame/monaco-vscode-b1249c5b-1339-5278-b002-746f08105c6d-common": "15.0.0",
|
|
30
|
+
"@codingame/monaco-vscode-e59ecb8c-db32-5324-8fe4-cf9921fd92b8-common": "15.0.0"
|
|
33
31
|
},
|
|
34
32
|
"main": "index.js",
|
|
35
33
|
"module": "index.js",
|
|
@@ -5,7 +5,6 @@ import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/plat
|
|
|
5
5
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
6
6
|
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
7
7
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
8
|
-
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
9
8
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
10
9
|
import { ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
11
10
|
import { IViewletViewOptions } from "@codingame/monaco-vscode-55ed5668-e8ca-5335-a587-790bcf1200c0-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
|
|
@@ -33,7 +32,7 @@ export declare class CallStackView extends ViewPane {
|
|
|
33
32
|
private tree;
|
|
34
33
|
private autoExpandedSessions;
|
|
35
34
|
private selectionNeedsUpdate;
|
|
36
|
-
constructor(options: IViewletViewOptions, contextMenuService: IContextMenuService, debugService: IDebugService, keybindingService: IKeybindingService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, openerService: IOpenerService, themeService: IThemeService,
|
|
35
|
+
constructor(options: IViewletViewOptions, contextMenuService: IContextMenuService, debugService: IDebugService, keybindingService: IKeybindingService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService, menuService: IMenuService);
|
|
37
36
|
protected renderHeaderTitle(container: HTMLElement): void;
|
|
38
37
|
protected renderBody(container: HTMLElement): void;
|
|
39
38
|
protected layoutBody(height: number, width: number): void;
|
|
@@ -25,7 +25,6 @@ import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/l
|
|
|
25
25
|
import { WorkbenchCompressibleAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/platform/list/browser/listService';
|
|
26
26
|
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
27
27
|
import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
|
|
28
|
-
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
29
28
|
import { asCssVariable } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
|
|
30
29
|
import { textLinkForeground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
|
|
31
30
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
@@ -43,9 +42,9 @@ import { ViewPane, ViewAction } from '@codingame/monaco-vscode-65619f8f-0eab-5d8
|
|
|
43
42
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
44
43
|
import { renderViewTree } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
|
|
45
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 '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/debugCommands';
|
|
46
|
-
import { callstackViewSession, debugRestartFrame, debugPause, debugContinue, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStop, debugDisconnect } from '@codingame/monaco-vscode-
|
|
45
|
+
import { callstackViewSession, debugRestartFrame, debugPause, debugContinue, debugStepOver, debugStepInto, debugStepOut, debugRestart, debugStop, debugDisconnect } from '@codingame/monaco-vscode-1bb39316-6fbf-572e-ab6a-818a2496c14f-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
47
46
|
import { createDisconnectMenuItemAction } from './debugToolBar.js';
|
|
48
|
-
import { State, CONTEXT_CALLSTACK_FOCUSED, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_CALLSTACK_SESSION_IS_ATTACH, CONTEXT_CALLSTACK_ITEM_STOPPED, CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, isFrameDeemphasized,
|
|
47
|
+
import { State, CONTEXT_CALLSTACK_FOCUSED, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_CALLSTACK_SESSION_IS_ATTACH, CONTEXT_CALLSTACK_ITEM_STOPPED, CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, isFrameDeemphasized, CALLSTACK_VIEW_ID, CONTEXT_DEBUG_STATE, getStateLabel, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
49
48
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
50
49
|
import { StackFrame, Thread, ThreadAndSessionIds } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/common/debugModel';
|
|
51
50
|
import { isSessionAttach } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debugUtils';
|
|
@@ -122,8 +121,8 @@ async function expandTo(session, tree) {
|
|
|
122
121
|
await tree.expand(session);
|
|
123
122
|
}
|
|
124
123
|
let CallStackView = class CallStackView extends ViewPane {
|
|
125
|
-
constructor(options, contextMenuService, debugService, keybindingService, instantiationService, viewDescriptorService, configurationService, contextKeyService, openerService, themeService,
|
|
126
|
-
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService,
|
|
124
|
+
constructor(options, contextMenuService, debugService, keybindingService, instantiationService, viewDescriptorService, configurationService, contextKeyService, openerService, themeService, hoverService, menuService) {
|
|
125
|
+
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
|
|
127
126
|
this.options = options;
|
|
128
127
|
this.debugService = debugService;
|
|
129
128
|
this.menuService = menuService;
|
|
@@ -146,7 +145,7 @@ let CallStackView = class CallStackView extends ViewPane {
|
|
|
146
145
|
this.stateMessage.hidden = false;
|
|
147
146
|
}
|
|
148
147
|
else if (sessions.length === 1 && sessions[0].state === State.Running) {
|
|
149
|
-
this.stateMessageLabel.textContent = ( localize(
|
|
148
|
+
this.stateMessageLabel.textContent = ( localize(5300, "Running"));
|
|
150
149
|
this.stateMessageLabelHover.update(sessions[0].getLabel());
|
|
151
150
|
this.stateMessageLabel.classList.remove('exception');
|
|
152
151
|
this.stateMessage.hidden = false;
|
|
@@ -227,7 +226,7 @@ let CallStackView = class CallStackView extends ViewPane {
|
|
|
227
226
|
if (e instanceof ThreadAndSessionIds) {
|
|
228
227
|
return LoadMoreRenderer.LABEL;
|
|
229
228
|
}
|
|
230
|
-
return localize(
|
|
229
|
+
return localize(5301, "Show More Stack Frames");
|
|
231
230
|
},
|
|
232
231
|
getCompressedNodeKeyboardNavigationLabel: (e) => {
|
|
233
232
|
const firstItem = e[0];
|
|
@@ -422,9 +421,8 @@ CallStackView = ( __decorate([
|
|
|
422
421
|
( __param(7, IContextKeyService)),
|
|
423
422
|
( __param(8, IOpenerService)),
|
|
424
423
|
( __param(9, IThemeService)),
|
|
425
|
-
( __param(10,
|
|
426
|
-
( __param(11,
|
|
427
|
-
( __param(12, IMenuService))
|
|
424
|
+
( __param(10, IHoverService)),
|
|
425
|
+
( __param(11, IMenuService))
|
|
428
426
|
], CallStackView));
|
|
429
427
|
function getSessionContextOverlay(session) {
|
|
430
428
|
return [
|
|
@@ -484,7 +482,7 @@ let SessionsRenderer = class SessionsRenderer {
|
|
|
484
482
|
this.doRenderElement(lastElement, matches, templateData);
|
|
485
483
|
}
|
|
486
484
|
doRenderElement(session, matches, data) {
|
|
487
|
-
const sessionHover = data.elementDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), data.session, ( localize(
|
|
485
|
+
const sessionHover = data.elementDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), data.session, ( localize(5302, "Session"))));
|
|
488
486
|
data.label.set(session.getLabel(), matches);
|
|
489
487
|
const stoppedDetails = session.getStoppedDetails();
|
|
490
488
|
const thread = session.getAllThreads().find(t => t.stopped);
|
|
@@ -510,7 +508,7 @@ let SessionsRenderer = class SessionsRenderer {
|
|
|
510
508
|
data.stateLabel.classList.toggle('exception', thread.stoppedDetails.reason === 'exception');
|
|
511
509
|
}
|
|
512
510
|
else {
|
|
513
|
-
data.stateLabel.textContent = ( localize(
|
|
511
|
+
data.stateLabel.textContent = ( localize(5300, "Running"));
|
|
514
512
|
data.stateLabel.classList.remove('exception');
|
|
515
513
|
}
|
|
516
514
|
}
|
|
@@ -643,7 +641,7 @@ let StackFramesRenderer = class StackFramesRenderer {
|
|
|
643
641
|
}
|
|
644
642
|
data.actionBar.clear();
|
|
645
643
|
if (hasActions) {
|
|
646
|
-
const action = ( new Action('debug.callStack.restartFrame', ( localize(
|
|
644
|
+
const action = ( new Action('debug.callStack.restartFrame', ( localize(5303, "Restart Frame")), ThemeIcon.asClassName(debugRestartFrame), true, async () => {
|
|
647
645
|
try {
|
|
648
646
|
await stackFrame.restart();
|
|
649
647
|
}
|
|
@@ -695,7 +693,7 @@ ErrorsRenderer = ErrorsRenderer_1 = ( __decorate([
|
|
|
695
693
|
], ErrorsRenderer));
|
|
696
694
|
class LoadMoreRenderer {
|
|
697
695
|
static { this.ID = 'loadMore'; }
|
|
698
|
-
static { this.LABEL = ( localize(
|
|
696
|
+
static { this.LABEL = ( localize(5304, "Load More Stack Frames")); }
|
|
699
697
|
constructor() { }
|
|
700
698
|
get templateId() {
|
|
701
699
|
return LoadMoreRenderer.ID;
|
|
@@ -729,14 +727,14 @@ class ShowMoreRenderer {
|
|
|
729
727
|
const stackFrames = element.element;
|
|
730
728
|
if (stackFrames.every(sf => !!(sf.source && sf.source.origin && sf.source.origin === stackFrames[0].source.origin))) {
|
|
731
729
|
data.label.textContent = ( localize(
|
|
732
|
-
|
|
730
|
+
5305,
|
|
733
731
|
"Show {0} More: {1}",
|
|
734
732
|
stackFrames.length,
|
|
735
733
|
stackFrames[0].source.origin
|
|
736
734
|
));
|
|
737
735
|
}
|
|
738
736
|
else {
|
|
739
|
-
data.label.textContent = ( localize(
|
|
737
|
+
data.label.textContent = ( localize(5306, "Show {0} More Stack Frames", stackFrames.length));
|
|
740
738
|
}
|
|
741
739
|
}
|
|
742
740
|
renderCompressedElements(node, index, templateData, height) {
|
|
@@ -779,7 +777,7 @@ function stoppedText(stoppedDetails) {
|
|
|
779
777
|
}
|
|
780
778
|
function stoppedDescription(stoppedDetails) {
|
|
781
779
|
return stoppedDetails.description ||
|
|
782
|
-
(stoppedDetails.reason ? ( localize(
|
|
780
|
+
(stoppedDetails.reason ? ( localize(5307, "Paused on {0}", stoppedDetails.reason)) : ( localize(5308, "Paused")));
|
|
783
781
|
}
|
|
784
782
|
function isDebugModel(obj) {
|
|
785
783
|
return typeof obj.getSessions === 'function';
|
|
@@ -869,7 +867,7 @@ class CallStackDataSource {
|
|
|
869
867
|
}
|
|
870
868
|
class CallStackAccessibilityProvider {
|
|
871
869
|
getWidgetAriaLabel() {
|
|
872
|
-
return localize(
|
|
870
|
+
return localize(5309, "Debug Call Stack");
|
|
873
871
|
}
|
|
874
872
|
getWidgetRole() {
|
|
875
873
|
return 'treegrid';
|
|
@@ -879,11 +877,11 @@ class CallStackAccessibilityProvider {
|
|
|
879
877
|
}
|
|
880
878
|
getAriaLabel(element) {
|
|
881
879
|
if (element instanceof Thread) {
|
|
882
|
-
return localize(
|
|
880
|
+
return localize(5310, "Thread {0} {1}", element.name, element.stateLabel);
|
|
883
881
|
}
|
|
884
882
|
if (element instanceof StackFrame) {
|
|
885
883
|
return localize(
|
|
886
|
-
|
|
884
|
+
5311,
|
|
887
885
|
"Stack Frame {0}, line {1}, {2}",
|
|
888
886
|
element.name,
|
|
889
887
|
element.range.startLineNumber,
|
|
@@ -892,14 +890,14 @@ class CallStackAccessibilityProvider {
|
|
|
892
890
|
}
|
|
893
891
|
if (isDebugSession(element)) {
|
|
894
892
|
const thread = element.getAllThreads().find(t => t.stopped);
|
|
895
|
-
const state = thread ? thread.stateLabel : ( localize(
|
|
896
|
-
return localize(
|
|
893
|
+
const state = thread ? thread.stateLabel : ( localize(5300, "Running"));
|
|
894
|
+
return localize(5312, "Session {0} {1}", element.getLabel(), state);
|
|
897
895
|
}
|
|
898
896
|
if (typeof element === 'string') {
|
|
899
897
|
return element;
|
|
900
898
|
}
|
|
901
899
|
if (element instanceof Array) {
|
|
902
|
-
return localize(
|
|
900
|
+
return localize(5306, "Show {0} More Stack Frames", element.length);
|
|
903
901
|
}
|
|
904
902
|
return LoadMoreRenderer.LABEL;
|
|
905
903
|
}
|
|
@@ -927,7 +925,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
927
925
|
super({
|
|
928
926
|
id: 'callStack.collapse',
|
|
929
927
|
viewId: CALLSTACK_VIEW_ID,
|
|
930
|
-
title: ( localize(
|
|
928
|
+
title: ( localize(5313, "Collapse All")),
|
|
931
929
|
f1: false,
|
|
932
930
|
icon: Codicon.collapseAll,
|
|
933
931
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo(getStateLabel(State.Stopped))),
|