@codingame/monaco-vscode-debug-service-override 25.1.2 → 26.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/platform/debug/common/extensionHostDebugIpc.js +41 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +379 -255
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +606 -325
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +132 -91
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.js +105 -103
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +258 -147
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +14 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +163 -121
- package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +92 -41
- package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +13 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +68 -39
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +290 -214
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +409 -260
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSettingMigration.js +14 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +19 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +126 -100
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +8 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +160 -89
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +87 -71
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +270 -181
- package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +79 -48
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +149 -113
- package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css +24 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +201 -189
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +28 -35
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibleView.js +10 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +66 -86
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +24 -31
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +177 -138
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +55 -33
- package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +2 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugAccessibilityAnnouncer.js +8 -12
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +23 -19
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +9 -15
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +156 -133
- package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +81 -52
- package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +3 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +22 -14
- package/vscode/src/vs/workbench/contrib/debug/common/debugVisualizers.js +46 -30
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +74 -52
- package/vscode/src/vs/workbench/contrib/debug/common/replAccessibilityAnnouncer.js +11 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-debug-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.0.0",
|
|
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": "26.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -9,32 +9,44 @@ class ExtensionHostDebugBroadcastChannel {
|
|
|
9
9
|
this._onTerminateEmitter = ( new Emitter());
|
|
10
10
|
this._onAttachEmitter = ( new Emitter());
|
|
11
11
|
}
|
|
12
|
-
static {
|
|
12
|
+
static {
|
|
13
|
+
this.ChannelName = "extensionhostdebugservice";
|
|
14
|
+
}
|
|
13
15
|
call(ctx, command, arg) {
|
|
14
16
|
switch (command) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
case "close":
|
|
18
|
+
return Promise.resolve(this._onCloseEmitter.fire({
|
|
19
|
+
sessionId: arg[0]
|
|
20
|
+
}));
|
|
21
|
+
case "reload":
|
|
22
|
+
return Promise.resolve(this._onReloadEmitter.fire({
|
|
23
|
+
sessionId: arg[0]
|
|
24
|
+
}));
|
|
25
|
+
case "terminate":
|
|
26
|
+
return Promise.resolve(this._onTerminateEmitter.fire({
|
|
27
|
+
sessionId: arg[0]
|
|
28
|
+
}));
|
|
29
|
+
case "attach":
|
|
30
|
+
return Promise.resolve(this._onAttachEmitter.fire({
|
|
31
|
+
sessionId: arg[0],
|
|
32
|
+
port: arg[1],
|
|
33
|
+
subId: arg[2]
|
|
34
|
+
}));
|
|
23
35
|
}
|
|
24
|
-
throw ( new Error(
|
|
36
|
+
throw ( new Error("Method not implemented."));
|
|
25
37
|
}
|
|
26
38
|
listen(ctx, event, arg) {
|
|
27
39
|
switch (event) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
40
|
+
case "close":
|
|
41
|
+
return this._onCloseEmitter.event;
|
|
42
|
+
case "reload":
|
|
43
|
+
return this._onReloadEmitter.event;
|
|
44
|
+
case "terminate":
|
|
45
|
+
return this._onTerminateEmitter.event;
|
|
46
|
+
case "attach":
|
|
47
|
+
return this._onAttachEmitter.event;
|
|
36
48
|
}
|
|
37
|
-
throw ( new Error(
|
|
49
|
+
throw ( new Error("Method not implemented."));
|
|
38
50
|
}
|
|
39
51
|
}
|
|
40
52
|
class ExtensionHostDebugChannelClient extends Disposable {
|
|
@@ -43,34 +55,34 @@ class ExtensionHostDebugChannelClient extends Disposable {
|
|
|
43
55
|
this.channel = channel;
|
|
44
56
|
}
|
|
45
57
|
reload(sessionId) {
|
|
46
|
-
this.channel.call(
|
|
58
|
+
this.channel.call("reload", [sessionId]);
|
|
47
59
|
}
|
|
48
60
|
get onReload() {
|
|
49
|
-
return this.channel.listen(
|
|
61
|
+
return this.channel.listen("reload");
|
|
50
62
|
}
|
|
51
63
|
close(sessionId) {
|
|
52
|
-
this.channel.call(
|
|
64
|
+
this.channel.call("close", [sessionId]);
|
|
53
65
|
}
|
|
54
66
|
get onClose() {
|
|
55
|
-
return this.channel.listen(
|
|
67
|
+
return this.channel.listen("close");
|
|
56
68
|
}
|
|
57
69
|
attachSession(sessionId, port, subId) {
|
|
58
|
-
this.channel.call(
|
|
70
|
+
this.channel.call("attach", [sessionId, port, subId]);
|
|
59
71
|
}
|
|
60
72
|
get onAttachSession() {
|
|
61
|
-
return this.channel.listen(
|
|
73
|
+
return this.channel.listen("attach");
|
|
62
74
|
}
|
|
63
75
|
terminateSession(sessionId, subId) {
|
|
64
|
-
this.channel.call(
|
|
76
|
+
this.channel.call("terminate", [sessionId, subId]);
|
|
65
77
|
}
|
|
66
78
|
get onTerminateSession() {
|
|
67
|
-
return this.channel.listen(
|
|
79
|
+
return this.channel.listen("terminate");
|
|
68
80
|
}
|
|
69
81
|
openExtensionDevelopmentHostWindow(args, debugRenderer) {
|
|
70
|
-
return this.channel.call(
|
|
82
|
+
return this.channel.call("openExtensionDevelopmentHostWindow", [args, debugRenderer]);
|
|
71
83
|
}
|
|
72
84
|
attachToCurrentWindowRenderer(windowId) {
|
|
73
|
-
return this.channel.call(
|
|
85
|
+
return this.channel.call("attachToCurrentWindowRenderer", [windowId]);
|
|
74
86
|
}
|
|
75
87
|
}
|
|
76
88
|
|