@codingame/monaco-vscode-debug-service-override 27.0.0 → 28.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 +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +104 -104
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +20 -20
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +42 -42
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +4 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css +2 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css +2 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +36 -36
- 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.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +43 -43
- 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": "28.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - debug service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "28.0.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -174,7 +174,7 @@ let CallStackView = class CallStackView extends ViewPane {
|
|
|
174
174
|
this.stateMessageLabel.classList.toggle("exception", stoppedDetails.reason === "exception");
|
|
175
175
|
this.stateMessage.hidden = false;
|
|
176
176
|
} else if (sessions.length === 1 && sessions[0].state === State.Running) {
|
|
177
|
-
this.stateMessageLabel.textContent = ( localize(
|
|
177
|
+
this.stateMessageLabel.textContent = ( localize(7861, "Running"));
|
|
178
178
|
this.stateMessageLabelHover.update(sessions[0].getLabel());
|
|
179
179
|
this.stateMessageLabel.classList.remove("exception");
|
|
180
180
|
this.stateMessage.hidden = false;
|
|
@@ -261,7 +261,7 @@ let CallStackView = class CallStackView extends ViewPane {
|
|
|
261
261
|
if (e instanceof ThreadAndSessionIds) {
|
|
262
262
|
return LoadMoreRenderer.LABEL;
|
|
263
263
|
}
|
|
264
|
-
return localize(
|
|
264
|
+
return localize(7862, "Show More Stack Frames");
|
|
265
265
|
},
|
|
266
266
|
getCompressedNodeKeyboardNavigationLabel: e => {
|
|
267
267
|
const firstItem = e[0];
|
|
@@ -531,7 +531,7 @@ let SessionsRenderer = class SessionsRenderer {
|
|
|
531
531
|
}
|
|
532
532
|
doRenderElement(session, matches, data) {
|
|
533
533
|
const sessionHover = data.elementDisposable.add(
|
|
534
|
-
this.hoverService.setupManagedHover(getDefaultHoverDelegate("mouse"), data.session, ( localize(
|
|
534
|
+
this.hoverService.setupManagedHover(getDefaultHoverDelegate("mouse"), data.session, ( localize(7863, "Session")))
|
|
535
535
|
);
|
|
536
536
|
data.label.set(session.getLabel(), matches);
|
|
537
537
|
const stoppedDetails = session.getStoppedDetails();
|
|
@@ -566,7 +566,7 @@ let SessionsRenderer = class SessionsRenderer {
|
|
|
566
566
|
sessionHover.update(`${session.getLabel()}: ${stoppedText(thread.stoppedDetails)}`);
|
|
567
567
|
data.stateLabel.classList.toggle("exception", thread.stoppedDetails.reason === "exception");
|
|
568
568
|
} else {
|
|
569
|
-
data.stateLabel.textContent = ( localize(
|
|
569
|
+
data.stateLabel.textContent = ( localize(7861, "Running"));
|
|
570
570
|
data.stateLabel.classList.remove("exception");
|
|
571
571
|
}
|
|
572
572
|
}
|
|
@@ -733,7 +733,7 @@ let StackFramesRenderer = class StackFramesRenderer {
|
|
|
733
733
|
}
|
|
734
734
|
data.actionBar.clear();
|
|
735
735
|
if (hasActions) {
|
|
736
|
-
const action = data.elementDisposables.add(( new Action("debug.callStack.restartFrame", ( localize(
|
|
736
|
+
const action = data.elementDisposables.add(( new Action("debug.callStack.restartFrame", ( localize(7864, "Restart Frame")), ThemeIcon.asClassName(debugRestartFrame), true, async () => {
|
|
737
737
|
try {
|
|
738
738
|
await stackFrame.restart();
|
|
739
739
|
} catch (e) {
|
|
@@ -795,7 +795,7 @@ class LoadMoreRenderer {
|
|
|
795
795
|
this.ID = "loadMore";
|
|
796
796
|
}
|
|
797
797
|
static {
|
|
798
|
-
this.LABEL = ( localize(
|
|
798
|
+
this.LABEL = ( localize(7865, "Load More Stack Frames"));
|
|
799
799
|
}
|
|
800
800
|
constructor() {}
|
|
801
801
|
get templateId() {
|
|
@@ -837,13 +837,13 @@ class ShowMoreRenderer {
|
|
|
837
837
|
sf => !!(sf.source && sf.source.origin && sf.source.origin === stackFrames[0].source.origin)
|
|
838
838
|
)) {
|
|
839
839
|
data.label.textContent = ( localize(
|
|
840
|
-
|
|
840
|
+
7866,
|
|
841
841
|
"Show {0} More: {1}",
|
|
842
842
|
stackFrames.length,
|
|
843
843
|
stackFrames[0].source.origin
|
|
844
844
|
));
|
|
845
845
|
} else {
|
|
846
|
-
data.label.textContent = ( localize(
|
|
846
|
+
data.label.textContent = ( localize(7867, "Show {0} More Stack Frames", stackFrames.length));
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
renderCompressedElements(node, index, templateData) {
|
|
@@ -884,7 +884,7 @@ function stoppedText(stoppedDetails) {
|
|
|
884
884
|
return stoppedDetails.text ?? stoppedDescription(stoppedDetails);
|
|
885
885
|
}
|
|
886
886
|
function stoppedDescription(stoppedDetails) {
|
|
887
|
-
return stoppedDetails.description || (stoppedDetails.reason ? ( localize(
|
|
887
|
+
return stoppedDetails.description || (stoppedDetails.reason ? ( localize(7868, "Paused on {0}", stoppedDetails.reason)) : ( localize(7869, "Paused")));
|
|
888
888
|
}
|
|
889
889
|
function isDebugModel(obj) {
|
|
890
890
|
return !!obj && typeof obj.getSessions === "function";
|
|
@@ -972,7 +972,7 @@ class CallStackDataSource {
|
|
|
972
972
|
}
|
|
973
973
|
class CallStackAccessibilityProvider {
|
|
974
974
|
getWidgetAriaLabel() {
|
|
975
|
-
return localize(
|
|
975
|
+
return localize(7870, "Debug Call Stack");
|
|
976
976
|
}
|
|
977
977
|
getWidgetRole() {
|
|
978
978
|
return "treegrid";
|
|
@@ -982,11 +982,11 @@ class CallStackAccessibilityProvider {
|
|
|
982
982
|
}
|
|
983
983
|
getAriaLabel(element) {
|
|
984
984
|
if (element instanceof Thread) {
|
|
985
|
-
return localize(
|
|
985
|
+
return localize(7871, "Thread {0} {1}", element.name, element.stateLabel);
|
|
986
986
|
}
|
|
987
987
|
if (element instanceof StackFrame) {
|
|
988
988
|
return localize(
|
|
989
|
-
|
|
989
|
+
7872,
|
|
990
990
|
"Stack Frame {0}, line {1}, {2}",
|
|
991
991
|
element.name,
|
|
992
992
|
element.range.startLineNumber,
|
|
@@ -995,14 +995,14 @@ class CallStackAccessibilityProvider {
|
|
|
995
995
|
}
|
|
996
996
|
if (isDebugSession(element)) {
|
|
997
997
|
const thread = element.getAllThreads().find(t => t.stopped);
|
|
998
|
-
const state = thread ? thread.stateLabel : ( localize(
|
|
999
|
-
return localize(
|
|
998
|
+
const state = thread ? thread.stateLabel : ( localize(7861, "Running"));
|
|
999
|
+
return localize(7873, "Session {0} {1}", element.getLabel(), state);
|
|
1000
1000
|
}
|
|
1001
1001
|
if (typeof element === "string") {
|
|
1002
1002
|
return element;
|
|
1003
1003
|
}
|
|
1004
1004
|
if (element instanceof Array) {
|
|
1005
|
-
return localize(
|
|
1005
|
+
return localize(7867, "Show {0} More Stack Frames", element.length);
|
|
1006
1006
|
}
|
|
1007
1007
|
return LoadMoreRenderer.LABEL;
|
|
1008
1008
|
}
|
|
@@ -1030,7 +1030,7 @@ registerAction2(class Collapse extends ViewAction {
|
|
|
1030
1030
|
super({
|
|
1031
1031
|
id: "callStack.collapse",
|
|
1032
1032
|
viewId: CALLSTACK_VIEW_ID,
|
|
1033
|
-
title: ( localize(
|
|
1033
|
+
title: ( localize(7874, "Collapse All")),
|
|
1034
1034
|
f1: false,
|
|
1035
1035
|
icon: Codicon.collapseAll,
|
|
1036
1036
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo(getStateLabel(State.Stopped))),
|