@codingame/monaco-vscode-debug-service-override 20.5.0 → 21.0.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/package.json +16 -16
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.d.ts +1 -0
- package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +3 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +116 -116
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +18 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- 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 +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +55 -30
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.d.ts +2 -2
- 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 +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +22 -22
- 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 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- 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/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-debug-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - debug service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-
|
|
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-
|
|
31
|
-
"@codingame/monaco-vscode-
|
|
32
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common": "21.0.1",
|
|
19
|
+
"@codingame/monaco-vscode-23b6fb38-5e58-5886-b34b-27abc4f5df02-common": "21.0.1",
|
|
20
|
+
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "21.0.1",
|
|
21
|
+
"@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common": "21.0.1",
|
|
22
|
+
"@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common": "21.0.1",
|
|
23
|
+
"@codingame/monaco-vscode-71c8dbff-4c98-552f-aef0-e72b00fdcfc0-common": "21.0.1",
|
|
24
|
+
"@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common": "21.0.1",
|
|
25
|
+
"@codingame/monaco-vscode-9a5ab9e7-d838-5831-9eb4-e79ea3764dcb-common": "21.0.1",
|
|
26
|
+
"@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "21.0.1",
|
|
27
|
+
"@codingame/monaco-vscode-api": "21.0.1",
|
|
28
|
+
"@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common": "21.0.1",
|
|
29
|
+
"@codingame/monaco-vscode-ce7c734f-7712-563c-9335-d7acb43306af-common": "21.0.1",
|
|
30
|
+
"@codingame/monaco-vscode-e39a1c8f-7892-5d9b-9987-7b10b79e1a0a-common": "21.0.1",
|
|
31
|
+
"@codingame/monaco-vscode-e59ecb8c-db32-5324-8fe4-cf9921fd92b8-common": "21.0.1",
|
|
32
|
+
"@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "21.0.1"
|
|
33
33
|
},
|
|
34
34
|
"main": "index.js",
|
|
35
35
|
"module": "index.js",
|
|
@@ -25,4 +25,5 @@ export declare class ExtensionHostDebugChannelClient extends Disposable implemen
|
|
|
25
25
|
terminateSession(sessionId: string, subId?: string): void;
|
|
26
26
|
get onTerminateSession(): Event<ITerminateSessionEvent>;
|
|
27
27
|
openExtensionDevelopmentHostWindow(args: string[], debugRenderer: boolean): Promise<IOpenExtensionWindowResult>;
|
|
28
|
+
attachToCurrentWindowRenderer(windowId: number): Promise<IOpenExtensionWindowResult>;
|
|
28
29
|
}
|
|
@@ -69,6 +69,9 @@ class ExtensionHostDebugChannelClient extends Disposable {
|
|
|
69
69
|
openExtensionDevelopmentHostWindow(args, debugRenderer) {
|
|
70
70
|
return this.channel.call('openExtensionDevelopmentHostWindow', [args, debugRenderer]);
|
|
71
71
|
}
|
|
72
|
+
attachToCurrentWindowRenderer(windowId) {
|
|
73
|
+
return this.channel.call('attachToCurrentWindowRenderer', [windowId]);
|
|
74
|
+
}
|
|
72
75
|
}
|
|
73
76
|
|
|
74
77
|
export { ExtensionHostDebugBroadcastChannel, ExtensionHostDebugChannelClient };
|
|
@@ -6,7 +6,7 @@ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
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
8
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
9
|
-
import { ViewPane } from "@codingame/monaco-vscode-
|
|
9
|
+
import { ViewPane } from "@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane";
|
|
10
10
|
import { IViewletViewOptions } from "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/browser/parts/views/viewsViewlet";
|
|
11
11
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
12
12
|
import { IDebugSession, IStackFrame, IThread } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug";
|
|
@@ -38,11 +38,11 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
|
|
|
38
38
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
39
39
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
40
40
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
41
|
-
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-
|
|
41
|
+
import { ViewPane, ViewAction } from '@codingame/monaco-vscode-4fad3647-b95d-5c19-bab1-bb9de627a5ec-common/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
42
42
|
import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
|
|
43
43
|
import { renderViewTree } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
|
|
44
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';
|
|
45
|
-
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-09e9b2e8-42a8-5a68-864f-bfcdad0ca1df-common/vscode/vs/workbench/contrib/debug/browser/debugIcons';
|
|
46
46
|
import { createDisconnectMenuItemAction } from './debugToolBar.js';
|
|
47
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';
|
|
48
48
|
import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
|
|
@@ -145,7 +145,7 @@ let CallStackView = class CallStackView extends ViewPane {
|
|
|
145
145
|
this.stateMessage.hidden = false;
|
|
146
146
|
}
|
|
147
147
|
else if (sessions.length === 1 && sessions[0].state === State.Running) {
|
|
148
|
-
this.stateMessageLabel.textContent = ( localize(
|
|
148
|
+
this.stateMessageLabel.textContent = ( localize(6079, "Running"));
|
|
149
149
|
this.stateMessageLabelHover.update(sessions[0].getLabel());
|
|
150
150
|
this.stateMessageLabel.classList.remove('exception');
|
|
151
151
|
this.stateMessage.hidden = false;
|
|
@@ -225,7 +225,7 @@ let CallStackView = class CallStackView extends ViewPane {
|
|
|
225
225
|
if (e instanceof ThreadAndSessionIds) {
|
|
226
226
|
return LoadMoreRenderer.LABEL;
|
|
227
227
|
}
|
|
228
|
-
return localize(
|
|
228
|
+
return localize(6080, "Show More Stack Frames");
|
|
229
229
|
},
|
|
230
230
|
getCompressedNodeKeyboardNavigationLabel: (e) => {
|
|
231
231
|
const firstItem = e[0];
|
|
@@ -481,7 +481,7 @@ let SessionsRenderer = class SessionsRenderer {
|
|
|
481
481
|
this.doRenderElement(lastElement, matches, templateData);
|
|
482
482
|
}
|
|
483
483
|
doRenderElement(session, matches, data) {
|
|
484
|
-
const sessionHover = data.elementDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), data.session, ( localize(
|
|
484
|
+
const sessionHover = data.elementDisposable.add(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), data.session, ( localize(6081, "Session"))));
|
|
485
485
|
data.label.set(session.getLabel(), matches);
|
|
486
486
|
const stoppedDetails = session.getStoppedDetails();
|
|
487
487
|
const thread = session.getAllThreads().find(t => t.stopped);
|
|
@@ -507,7 +507,7 @@ let SessionsRenderer = class SessionsRenderer {
|
|
|
507
507
|
data.stateLabel.classList.toggle('exception', thread.stoppedDetails.reason === 'exception');
|
|
508
508
|
}
|
|
509
509
|
else {
|
|
510
|
-
data.stateLabel.textContent = ( localize(
|
|
510
|
+
data.stateLabel.textContent = ( localize(6079, "Running"));
|
|
511
511
|
data.stateLabel.classList.remove('exception');
|
|
512
512
|
}
|
|
513
513
|
}
|
|
@@ -642,7 +642,7 @@ let StackFramesRenderer = class StackFramesRenderer {
|
|
|
642
642
|
}
|
|
643
643
|
data.actionBar.clear();
|
|
644
644
|
if (hasActions) {
|
|
645
|
-
const action = data.elementDisposables.add(( new Action('debug.callStack.restartFrame', ( localize(
|
|
645
|
+
const action = data.elementDisposables.add(( new Action('debug.callStack.restartFrame', ( localize(6082, "Restart Frame")), ThemeIcon.asClassName(debugRestartFrame), true, async () => {
|
|
646
646
|
try {
|
|
647
647
|
await stackFrame.restart();
|
|
648
648
|
}
|
|
@@ -697,7 +697,7 @@ ErrorsRenderer = ErrorsRenderer_1 = ( __decorate([
|
|
|
697
697
|
], ErrorsRenderer));
|
|
698
698
|
class LoadMoreRenderer {
|
|
699
699
|
static { this.ID = 'loadMore'; }
|
|
700
|
-
static { this.LABEL = ( localize(
|
|
700
|
+
static { this.LABEL = ( localize(6083, "Load More Stack Frames")); }
|
|
701
701
|
constructor() { }
|
|
702
702
|
get templateId() {
|
|
703
703
|
return LoadMoreRenderer.ID;
|
|
@@ -731,14 +731,14 @@ class ShowMoreRenderer {
|
|
|
731
731
|
const stackFrames = element.element;
|
|
732
732
|
if (stackFrames.every(sf => !!(sf.source && sf.source.origin && sf.source.origin === stackFrames[0].source.origin))) {
|
|
733
733
|
data.label.textContent = ( localize(
|
|
734
|
-
|
|
734
|
+
6084,
|
|
735
735
|
"Show {0} More: {1}",
|
|
736
736
|
stackFrames.length,
|
|
737
737
|
stackFrames[0].source.origin
|
|
738
738
|
));
|
|
739
739
|
}
|
|
740
740
|
else {
|
|
741
|
-
data.label.textContent = ( localize(
|
|
741
|
+
data.label.textContent = ( localize(6085, "Show {0} More Stack Frames", stackFrames.length));
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
renderCompressedElements(node, index, templateData) {
|
|
@@ -781,7 +781,7 @@ function stoppedText(stoppedDetails) {
|
|
|
781
781
|
}
|
|
782
782
|
function stoppedDescription(stoppedDetails) {
|
|
783
783
|
return stoppedDetails.description ||
|
|
784
|
-
(stoppedDetails.reason ? ( localize(
|
|
784
|
+
(stoppedDetails.reason ? ( localize(6086, "Paused on {0}", stoppedDetails.reason)) : ( localize(6087, "Paused")));
|
|
785
785
|
}
|
|
786
786
|
function isDebugModel(obj) {
|
|
787
787
|
return typeof obj.getSessions === 'function';
|
|
@@ -871,7 +871,7 @@ class CallStackDataSource {
|
|
|
871
871
|
}
|
|
872
872
|
class CallStackAccessibilityProvider {
|
|
873
873
|
getWidgetAriaLabel() {
|
|
874
|
-
return localize(
|
|
874
|
+
return localize(6088, "Debug Call Stack");
|
|
875
875
|
}
|
|
876
876
|
getWidgetRole() {
|
|
877
877
|
return 'treegrid';
|
|
@@ -881,11 +881,11 @@ class CallStackAccessibilityProvider {
|
|
|
881
881
|
}
|
|
882
882
|
getAriaLabel(element) {
|
|
883
883
|
if (element instanceof Thread) {
|
|
884
|
-
return localize(
|
|
884
|
+
return localize(6089, "Thread {0} {1}", element.name, element.stateLabel);
|
|
885
885
|
}
|
|
886
886
|
if (element instanceof StackFrame) {
|
|
887
887
|
return localize(
|
|
888
|
-
|
|
888
|
+
6090,
|
|
889
889
|
"Stack Frame {0}, line {1}, {2}",
|
|
890
890
|
element.name,
|
|
891
891
|
element.range.startLineNumber,
|
|
@@ -894,14 +894,14 @@ class CallStackAccessibilityProvider {
|
|
|
894
894
|
}
|
|
895
895
|
if (isDebugSession(element)) {
|
|
896
896
|
const thread = element.getAllThreads().find(t => t.stopped);
|
|
897
|
-
const state = thread ? thread.stateLabel : ( localize(
|
|
898
|
-
return localize(
|
|
897
|
+
const state = thread ? thread.stateLabel : ( localize(6079, "Running"));
|
|
898
|
+
return localize(6091, "Session {0} {1}", element.getLabel(), state);
|
|
899
899
|
}
|
|
900
900
|
if (typeof element === 'string') {
|
|
901
901
|
return element;
|
|
902
902
|
}
|
|
903
903
|
if (element instanceof Array) {
|
|
904
|
-
return localize(
|
|
904
|
+
return localize(6085, "Show {0} More Stack Frames", element.length);
|
|
905
905
|
}
|
|
906
906
|
return LoadMoreRenderer.LABEL;
|
|
907
907
|
}
|
|
@@ -929,7 +929,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
929
929
|
super({
|
|
930
930
|
id: 'callStack.collapse',
|
|
931
931
|
viewId: CALLSTACK_VIEW_ID,
|
|
932
|
-
title: ( localize(
|
|
932
|
+
title: ( localize(6092, "Collapse All")),
|
|
933
933
|
f1: false,
|
|
934
934
|
icon: Codicon.collapseAll,
|
|
935
935
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo(getStateLabel(State.Stopped))),
|