@theia/debug 1.17.0-next.ff9e0507 → 1.18.0-next.04e2816d
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/lib/browser/breakpoint/breakpoint-manager.js +159 -382
- package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -1
- package/lib/browser/breakpoint/breakpoint-marker.js +4 -15
- package/lib/browser/breakpoint/breakpoint-marker.js.map +1 -1
- package/lib/browser/console/debug-console-contribution.d.ts.map +1 -1
- package/lib/browser/console/debug-console-contribution.js +132 -221
- package/lib/browser/console/debug-console-contribution.js.map +1 -1
- package/lib/browser/console/debug-console-items.js +231 -451
- package/lib/browser/console/debug-console-items.js.map +1 -1
- package/lib/browser/console/debug-console-session.js +86 -223
- package/lib/browser/console/debug-console-session.js.map +1 -1
- package/lib/browser/debug-configuration-manager.js +281 -623
- package/lib/browser/debug-configuration-manager.js.map +1 -1
- package/lib/browser/debug-configuration-model.js +31 -108
- package/lib/browser/debug-configuration-model.js.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.d.ts +1 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.js +577 -780
- package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
- package/lib/browser/debug-frontend-module.js +46 -82
- package/lib/browser/debug-frontend-module.js.map +1 -1
- package/lib/browser/debug-keybinding-contexts.js +41 -59
- package/lib/browser/debug-keybinding-contexts.js.map +1 -1
- package/lib/browser/debug-monaco-contribution.js +17 -17
- package/lib/browser/debug-monaco-contribution.js.map +1 -1
- package/lib/browser/debug-package.spec.js +2 -2
- package/lib/browser/debug-package.spec.js.map +1 -1
- package/lib/browser/debug-preferences.js +7 -11
- package/lib/browser/debug-preferences.js.map +1 -1
- package/lib/browser/debug-prefix-configuration.js +101 -117
- package/lib/browser/debug-prefix-configuration.js.map +1 -1
- package/lib/browser/debug-resource.js +29 -79
- package/lib/browser/debug-resource.js.map +1 -1
- package/lib/browser/debug-schema-updater.js +54 -193
- package/lib/browser/debug-schema-updater.js.map +1 -1
- package/lib/browser/debug-session-connection.js +137 -235
- package/lib/browser/debug-session-connection.js.map +1 -1
- package/lib/browser/debug-session-contribution.js +91 -120
- package/lib/browser/debug-session-contribution.js.map +1 -1
- package/lib/browser/debug-session-manager.js +368 -652
- package/lib/browser/debug-session-manager.js.map +1 -1
- package/lib/browser/debug-session.js +556 -1279
- package/lib/browser/debug-session.js.map +1 -1
- package/lib/browser/debug-tab-bar-decorator.js +32 -38
- package/lib/browser/debug-tab-bar-decorator.js.map +1 -1
- package/lib/browser/debug-watch-manager.js +41 -138
- package/lib/browser/debug-watch-manager.js.map +1 -1
- package/lib/browser/editor/debug-breakpoint-widget.js +142 -255
- package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -1
- package/lib/browser/editor/debug-editor-model.js +299 -474
- package/lib/browser/editor/debug-editor-model.js.map +1 -1
- package/lib/browser/editor/debug-editor-service.js +128 -206
- package/lib/browser/editor/debug-editor-service.js.map +1 -1
- package/lib/browser/editor/debug-exception-widget.js +56 -119
- package/lib/browser/editor/debug-exception-widget.js.map +1 -1
- package/lib/browser/editor/debug-expression-provider.js +21 -24
- package/lib/browser/editor/debug-expression-provider.js.map +1 -1
- package/lib/browser/editor/debug-hover-source.js +83 -249
- package/lib/browser/editor/debug-hover-source.js.map +1 -1
- package/lib/browser/editor/debug-hover-widget.js +151 -224
- package/lib/browser/editor/debug-hover-widget.js.map +1 -1
- package/lib/browser/editor/debug-inline-value-decorator.js +96 -193
- package/lib/browser/editor/debug-inline-value-decorator.js.map +1 -1
- package/lib/browser/model/debug-breakpoint.js +52 -102
- package/lib/browser/model/debug-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-function-breakpoint.js +54 -124
- package/lib/browser/model/debug-function-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-source-breakpoint.js +111 -265
- package/lib/browser/model/debug-source-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-source.js +45 -126
- package/lib/browser/model/debug-source.js.map +1 -1
- package/lib/browser/model/debug-stack-frame.js +85 -199
- package/lib/browser/model/debug-stack-frame.js.map +1 -1
- package/lib/browser/model/debug-thread.js +132 -304
- package/lib/browser/model/debug-thread.js.map +1 -1
- package/lib/browser/preferences/launch-preferences.js +3 -3
- package/lib/browser/preferences/launch-preferences.js.map +1 -1
- package/lib/browser/view/debug-action.js +13 -29
- package/lib/browser/view/debug-action.js.map +1 -1
- package/lib/browser/view/debug-breakpoints-source.js +42 -169
- package/lib/browser/view/debug-breakpoints-source.js.map +1 -1
- package/lib/browser/view/debug-breakpoints-widget.js +43 -82
- package/lib/browser/view/debug-breakpoints-widget.js.map +1 -1
- package/lib/browser/view/debug-configuration-widget.js +89 -136
- package/lib/browser/view/debug-configuration-widget.js.map +1 -1
- package/lib/browser/view/debug-exception-breakpoint.js +7 -9
- package/lib/browser/view/debug-exception-breakpoint.js.map +1 -1
- package/lib/browser/view/debug-session-widget.js +80 -114
- package/lib/browser/view/debug-session-widget.js.map +1 -1
- package/lib/browser/view/debug-stack-frames-source.js +58 -169
- package/lib/browser/view/debug-stack-frames-source.js.map +1 -1
- package/lib/browser/view/debug-stack-frames-widget.js +89 -155
- package/lib/browser/view/debug-stack-frames-widget.js.map +1 -1
- package/lib/browser/view/debug-threads-source.js +37 -124
- package/lib/browser/view/debug-threads-source.js.map +1 -1
- package/lib/browser/view/debug-threads-widget.js +61 -99
- package/lib/browser/view/debug-threads-widget.js.map +1 -1
- package/lib/browser/view/debug-toolbar-widget.js +58 -76
- package/lib/browser/view/debug-toolbar-widget.js.map +1 -1
- package/lib/browser/view/debug-variables-source.js +32 -102
- package/lib/browser/view/debug-variables-source.js.map +1 -1
- package/lib/browser/view/debug-variables-widget.js +35 -74
- package/lib/browser/view/debug-variables-widget.js.map +1 -1
- package/lib/browser/view/debug-view-model.js +172 -381
- package/lib/browser/view/debug-view-model.js.map +1 -1
- package/lib/browser/view/debug-watch-expression.js +34 -112
- package/lib/browser/view/debug-watch-expression.js.map +1 -1
- package/lib/browser/view/debug-watch-source.js +30 -87
- package/lib/browser/view/debug-watch-source.js.map +1 -1
- package/lib/browser/view/debug-watch-widget.js +35 -74
- package/lib/browser/view/debug-watch-widget.js.map +1 -1
- package/lib/browser/view/debug-widget.js +63 -105
- package/lib/browser/view/debug-widget.js.map +1 -1
- package/lib/common/debug-service.js +5 -5
- package/lib/common/debug-service.js.map +1 -1
- package/lib/node/debug-adapter-contribution-registry.js +133 -489
- package/lib/node/debug-adapter-contribution-registry.js.map +1 -1
- package/lib/node/debug-adapter-factory.js +38 -57
- package/lib/node/debug-adapter-factory.js.map +1 -1
- package/lib/node/debug-adapter-session-manager.js +50 -98
- package/lib/node/debug-adapter-session-manager.js.map +1 -1
- package/lib/node/debug-adapter-session.js +44 -93
- package/lib/node/debug-adapter-session.js.map +1 -1
- package/lib/node/debug-backend-module.js +13 -17
- package/lib/node/debug-backend-module.js.map +1 -1
- package/lib/node/debug-service-impl.js +71 -213
- package/lib/node/debug-service-impl.js.map +1 -1
- package/lib/node/vscode/vscode-debug-adapter-contribution.js +153 -294
- package/lib/node/vscode/vscode-debug-adapter-contribution.js.map +1 -1
- package/package.json +16 -16
- package/src/browser/console/debug-console-contribution.tsx +3 -3
- package/src/browser/debug-frontend-application-contribution.ts +69 -18
- package/src/browser/debug-prefix-configuration.ts +1 -1
- package/src/browser/style/index.css +28 -10
- package/src/browser/view/debug-action.tsx +2 -2
- package/src/browser/view/debug-configuration-widget.tsx +3 -3
- package/src/browser/view/debug-session-widget.ts +2 -2
- package/src/browser/view/debug-toolbar-widget.tsx +8 -8
- package/src/browser/view/debug-widget.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vscode-debug-adapter-contribution.js","sourceRoot":"","sources":["../../../src/node/vscode/vscode-debug-adapter-contribution.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF
|
|
1
|
+
{"version":3,"file":"vscode-debug-adapter-contribution.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AAC,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC;QAC3D,IAAI,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YACxC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;SACpD;QAED,MAAM,WAAW,GAAG,IAAI,IAAI,IAAI,CAAC,WAAW,IAAI,YAAY,CAAC,WAAW,IAAI,EAAE,CAAC;QAC/E,IAAI,OAAO,KAAK,MAAM,EAAE;YACpB,MAAM,UAAU,GAAG,OAAO,CAAC;YAC3B,OAAO;gBACH,UAAU,EAAE,UAAU;gBACtB,QAAQ,EAAE,WAAW;gBACrB,IAAI,EAAE,WAAW;aACpB,CAAC;SACL;aAAM;YACH,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;YAC5C,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,EAAE,OAAO,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;YAC/E,OAAO;gBACH,OAAO;gBACP,IAAI;aACP,CAAC;SACL;IACL,CAAC;CACJ,CAAA;AA3KqB,sCAAsC;IAD3D,sBAAU,EAAE;IAWJ,WAAA,qBAAS,EAAE,CAAA;IACX,WAAA,qBAAS,EAAE,CAAA;;GAXE,sCAAsC,CA2K3D;AA3KqB,wFAAsC"}
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/debug",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0-next.04e2816d",
|
|
4
4
|
"description": "Theia - Debug Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/console": "1.
|
|
7
|
-
"@theia/core": "1.
|
|
8
|
-
"@theia/editor": "1.
|
|
9
|
-
"@theia/filesystem": "1.
|
|
10
|
-
"@theia/markers": "1.
|
|
11
|
-
"@theia/monaco": "1.
|
|
12
|
-
"@theia/output": "1.
|
|
13
|
-
"@theia/preferences": "1.
|
|
14
|
-
"@theia/process": "1.
|
|
15
|
-
"@theia/task": "1.
|
|
16
|
-
"@theia/terminal": "1.
|
|
17
|
-
"@theia/userstorage": "1.
|
|
18
|
-
"@theia/variable-resolver": "1.
|
|
19
|
-
"@theia/workspace": "1.
|
|
6
|
+
"@theia/console": "1.18.0-next.04e2816d",
|
|
7
|
+
"@theia/core": "1.18.0-next.04e2816d",
|
|
8
|
+
"@theia/editor": "1.18.0-next.04e2816d",
|
|
9
|
+
"@theia/filesystem": "1.18.0-next.04e2816d",
|
|
10
|
+
"@theia/markers": "1.18.0-next.04e2816d",
|
|
11
|
+
"@theia/monaco": "1.18.0-next.04e2816d",
|
|
12
|
+
"@theia/output": "1.18.0-next.04e2816d",
|
|
13
|
+
"@theia/preferences": "1.18.0-next.04e2816d",
|
|
14
|
+
"@theia/process": "1.18.0-next.04e2816d",
|
|
15
|
+
"@theia/task": "1.18.0-next.04e2816d",
|
|
16
|
+
"@theia/terminal": "1.18.0-next.04e2816d",
|
|
17
|
+
"@theia/userstorage": "1.18.0-next.04e2816d",
|
|
18
|
+
"@theia/variable-resolver": "1.18.0-next.04e2816d",
|
|
19
|
+
"@theia/workspace": "1.18.0-next.04e2816d",
|
|
20
20
|
"jsonc-parser": "^2.2.0",
|
|
21
21
|
"mkdirp": "^0.5.0",
|
|
22
22
|
"p-debounce": "^2.1.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"test": "theiaext test"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@theia/ext-scripts": "1.
|
|
66
|
+
"@theia/ext-scripts": "1.18.0-next.04e2816d"
|
|
67
67
|
},
|
|
68
68
|
"nyc": {
|
|
69
69
|
"extends": "../../configs/nyc.json"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { ConsoleSessionManager } from '@theia/console/lib/browser/console-session-manager';
|
|
18
18
|
import { ConsoleOptions, ConsoleWidget } from '@theia/console/lib/browser/console-widget';
|
|
19
|
-
import { AbstractViewContribution, bindViewContribution, Widget, WidgetFactory } from '@theia/core/lib/browser';
|
|
19
|
+
import { AbstractViewContribution, bindViewContribution, codicon, Widget, WidgetFactory } from '@theia/core/lib/browser';
|
|
20
20
|
import { ContextKey, ContextKeyService } from '@theia/core/lib/browser/context-key-service';
|
|
21
21
|
import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
|
|
22
22
|
import { Command, CommandRegistry } from '@theia/core/lib/common/command';
|
|
@@ -37,7 +37,7 @@ export namespace DebugConsoleCommands {
|
|
|
37
37
|
id: 'debug.console.clear',
|
|
38
38
|
category: DEBUG_CONSOLE_CATEGORY,
|
|
39
39
|
label: 'Clear Console',
|
|
40
|
-
iconClass: 'clear-all'
|
|
40
|
+
iconClass: codicon('clear-all')
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -133,7 +133,7 @@ export class DebugConsoleContribution extends AbstractViewContribution<ConsoleWi
|
|
|
133
133
|
id: 'debug-console',
|
|
134
134
|
title: {
|
|
135
135
|
label: 'Debug Console',
|
|
136
|
-
iconClass: '
|
|
136
|
+
iconClass: codicon('debug-console')
|
|
137
137
|
},
|
|
138
138
|
input: {
|
|
139
139
|
uri: DebugConsoleSession.uri,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
|
|
17
|
-
import { AbstractViewContribution, ApplicationShell, KeybindingRegistry, Widget, CompositeTreeNode, LabelProvider } from '@theia/core/lib/browser';
|
|
17
|
+
import { AbstractViewContribution, ApplicationShell, KeybindingRegistry, Widget, CompositeTreeNode, LabelProvider, codicon } from '@theia/core/lib/browser';
|
|
18
18
|
import { injectable, inject } from '@theia/core/shared/inversify';
|
|
19
19
|
import { ThemeService } from '@theia/core/lib/browser/theming';
|
|
20
20
|
import { MenuModelRegistry, CommandRegistry, MAIN_MENU_BAR, Command, Emitter, Mutable } from '@theia/core/lib/common';
|
|
@@ -65,13 +65,13 @@ export namespace DebugMenus {
|
|
|
65
65
|
|
|
66
66
|
export namespace DebugCommands {
|
|
67
67
|
|
|
68
|
-
const DEBUG_CATEGORY = 'Debug';
|
|
68
|
+
export const DEBUG_CATEGORY = 'Debug';
|
|
69
69
|
|
|
70
70
|
export const START: Command = {
|
|
71
71
|
id: 'workbench.action.debug.start',
|
|
72
72
|
category: DEBUG_CATEGORY,
|
|
73
73
|
label: 'Start Debugging',
|
|
74
|
-
iconClass: '
|
|
74
|
+
iconClass: codicon('debug-alt')
|
|
75
75
|
};
|
|
76
76
|
export const START_NO_DEBUG: Command = {
|
|
77
77
|
id: 'workbench.action.debug.run',
|
|
@@ -81,7 +81,7 @@ export namespace DebugCommands {
|
|
|
81
81
|
id: 'workbench.action.debug.stop',
|
|
82
82
|
category: DEBUG_CATEGORY,
|
|
83
83
|
label: 'Stop Debugging',
|
|
84
|
-
iconClass: '
|
|
84
|
+
iconClass: codicon('debug-stop')
|
|
85
85
|
};
|
|
86
86
|
export const RESTART: Command = {
|
|
87
87
|
id: 'workbench.action.debug.restart',
|
|
@@ -102,43 +102,43 @@ export namespace DebugCommands {
|
|
|
102
102
|
id: 'workbench.action.debug.stepOver',
|
|
103
103
|
category: DEBUG_CATEGORY,
|
|
104
104
|
label: 'Step Over',
|
|
105
|
-
iconClass: '
|
|
105
|
+
iconClass: codicon('debug-step-over')
|
|
106
106
|
};
|
|
107
107
|
export const STEP_INTO: Command = {
|
|
108
108
|
id: 'workbench.action.debug.stepInto',
|
|
109
109
|
category: DEBUG_CATEGORY,
|
|
110
110
|
label: 'Step Into',
|
|
111
|
-
iconClass: '
|
|
111
|
+
iconClass: codicon('debug-step-into')
|
|
112
112
|
};
|
|
113
113
|
export const STEP_OUT: Command = {
|
|
114
114
|
id: 'workbench.action.debug.stepOut',
|
|
115
115
|
category: DEBUG_CATEGORY,
|
|
116
116
|
label: 'Step Out',
|
|
117
|
-
iconClass: '
|
|
117
|
+
iconClass: codicon('debug-step-out')
|
|
118
118
|
};
|
|
119
119
|
export const CONTINUE: Command = {
|
|
120
120
|
id: 'workbench.action.debug.continue',
|
|
121
121
|
category: DEBUG_CATEGORY,
|
|
122
122
|
label: 'Continue',
|
|
123
|
-
iconClass: '
|
|
123
|
+
iconClass: codicon('debug-continue')
|
|
124
124
|
};
|
|
125
125
|
export const PAUSE: Command = {
|
|
126
126
|
id: 'workbench.action.debug.pause',
|
|
127
127
|
category: DEBUG_CATEGORY,
|
|
128
128
|
label: 'Pause',
|
|
129
|
-
iconClass: '
|
|
129
|
+
iconClass: codicon('debug-pause')
|
|
130
130
|
};
|
|
131
131
|
export const CONTINUE_ALL: Command = {
|
|
132
132
|
id: 'debug.thread.continue.all',
|
|
133
133
|
category: DEBUG_CATEGORY,
|
|
134
134
|
label: 'Continue All',
|
|
135
|
-
iconClass: '
|
|
135
|
+
iconClass: codicon('debug-continue')
|
|
136
136
|
};
|
|
137
137
|
export const PAUSE_ALL: Command = {
|
|
138
138
|
id: 'debug.thread.pause.all',
|
|
139
139
|
category: DEBUG_CATEGORY,
|
|
140
140
|
label: 'Pause All',
|
|
141
|
-
iconClass: '
|
|
141
|
+
iconClass: codicon('debug-pause')
|
|
142
142
|
};
|
|
143
143
|
|
|
144
144
|
export const TOGGLE_BREAKPOINT: Command = {
|
|
@@ -482,9 +482,11 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
482
482
|
super.registerMenus(menus);
|
|
483
483
|
const registerMenuActions = (menuPath: string[], ...commands: Command[]) => {
|
|
484
484
|
for (const [index, command] of commands.entries()) {
|
|
485
|
+
const label = command.label;
|
|
486
|
+
const debug = `${DebugCommands.DEBUG_CATEGORY}:`;
|
|
485
487
|
menus.registerMenuAction(menuPath, {
|
|
486
488
|
commandId: command.id,
|
|
487
|
-
label:
|
|
489
|
+
label: label && label.startsWith(debug) && label.slice(debug.length).trimStart() || label,
|
|
488
490
|
icon: command.iconClass,
|
|
489
491
|
order: String.fromCharCode('a'.charCodeAt(0) + index)
|
|
490
492
|
});
|
|
@@ -1067,7 +1069,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1067
1069
|
const toggleBreakpointsEnabled: Mutable<TabBarToolbarItem> = {
|
|
1068
1070
|
id: DebugCommands.TOGGLE_BREAKPOINTS_ENABLED.id,
|
|
1069
1071
|
command: DebugCommands.TOGGLE_BREAKPOINTS_ENABLED.id,
|
|
1070
|
-
icon: '
|
|
1072
|
+
icon: codicon('activate-breakpoints'),
|
|
1071
1073
|
onDidChange: onDidChangeToggleBreakpointsEnabled.event,
|
|
1072
1074
|
priority: 1
|
|
1073
1075
|
};
|
|
@@ -1081,7 +1083,7 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1081
1083
|
toolbar.registerItem({
|
|
1082
1084
|
id: DebugCommands.ADD_FUNCTION_BREAKPOINT.id,
|
|
1083
1085
|
command: DebugCommands.ADD_FUNCTION_BREAKPOINT.id,
|
|
1084
|
-
icon: '
|
|
1086
|
+
icon: codicon('add'),
|
|
1085
1087
|
tooltip: 'Add Function Breakpoint'
|
|
1086
1088
|
});
|
|
1087
1089
|
updateToggleBreakpointsEnabled();
|
|
@@ -1090,27 +1092,27 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1090
1092
|
toolbar.registerItem({
|
|
1091
1093
|
id: DebugCommands.REMOVE_ALL_BREAKPOINTS.id,
|
|
1092
1094
|
command: DebugCommands.REMOVE_ALL_BREAKPOINTS.id,
|
|
1093
|
-
icon: '
|
|
1095
|
+
icon: codicon('close-all'),
|
|
1094
1096
|
priority: 2
|
|
1095
1097
|
});
|
|
1096
1098
|
|
|
1097
1099
|
toolbar.registerItem({
|
|
1098
1100
|
id: DebugCommands.ADD_WATCH_EXPRESSION.id,
|
|
1099
1101
|
command: DebugCommands.ADD_WATCH_EXPRESSION.id,
|
|
1100
|
-
icon: '
|
|
1102
|
+
icon: codicon('add'),
|
|
1101
1103
|
tooltip: 'Add Expression'
|
|
1102
1104
|
});
|
|
1103
1105
|
toolbar.registerItem({
|
|
1104
1106
|
id: DebugCommands.COLLAPSE_ALL_WATCH_EXPRESSIONS.id,
|
|
1105
1107
|
command: DebugCommands.COLLAPSE_ALL_WATCH_EXPRESSIONS.id,
|
|
1106
|
-
icon: '
|
|
1108
|
+
icon: codicon('collapse-all'),
|
|
1107
1109
|
tooltip: 'Collapse All',
|
|
1108
1110
|
priority: 1
|
|
1109
1111
|
});
|
|
1110
1112
|
toolbar.registerItem({
|
|
1111
1113
|
id: DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS.id,
|
|
1112
1114
|
command: DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS.id,
|
|
1113
|
-
icon: '
|
|
1115
|
+
icon: codicon('close-all'),
|
|
1114
1116
|
tooltip: 'Remove All Expressions',
|
|
1115
1117
|
priority: 2
|
|
1116
1118
|
});
|
|
@@ -1272,6 +1274,55 @@ export class DebugFrontendApplicationContribution extends AbstractViewContributi
|
|
|
1272
1274
|
hc: '#89D185'
|
|
1273
1275
|
}, description: 'Debug toolbar icon for start debugging.'
|
|
1274
1276
|
},
|
|
1277
|
+
{
|
|
1278
|
+
id: 'debugIcon.pauseForeground', defaults: {
|
|
1279
|
+
dark: '#75BEFF',
|
|
1280
|
+
light: '#007ACC',
|
|
1281
|
+
hc: '#75BEFF'
|
|
1282
|
+
}, description: 'Debug toolbar icon for pause.'
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
id: 'debugIcon.stopForeground', defaults: {
|
|
1286
|
+
dark: '#F48771',
|
|
1287
|
+
light: '#A1260D',
|
|
1288
|
+
hc: '#F48771'
|
|
1289
|
+
}, description: 'Debug toolbar icon for stop.'
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
id: 'debugIcon.restartForeground', defaults: {
|
|
1293
|
+
dark: '#89D185',
|
|
1294
|
+
light: '#388A34',
|
|
1295
|
+
hc: '#89D185'
|
|
1296
|
+
}, description: 'Debug toolbar icon for restart.'
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
id: 'debugIcon.stepOverForeground', defaults: {
|
|
1300
|
+
dark: '#75BEFF',
|
|
1301
|
+
light: '#007ACC',
|
|
1302
|
+
hc: '#75BEFF'
|
|
1303
|
+
}, description: 'Debug toolbar icon for step over.'
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
id: 'debugIcon.stepIntoForeground', defaults: {
|
|
1307
|
+
dark: '#75BEFF',
|
|
1308
|
+
light: '#007ACC',
|
|
1309
|
+
hc: '#75BEFF'
|
|
1310
|
+
}, description: 'Debug toolbar icon for step into.'
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
id: 'debugIcon.stepOutForeground', defaults: {
|
|
1314
|
+
dark: '#75BEFF',
|
|
1315
|
+
light: '#007ACC',
|
|
1316
|
+
hc: '#75BEFF'
|
|
1317
|
+
}, description: 'Debug toolbar icon for step out.'
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
id: 'debugIcon.continueForeground', defaults: {
|
|
1321
|
+
dark: '#75BEFF',
|
|
1322
|
+
light: '#007ACC',
|
|
1323
|
+
hc: '#75BEFF'
|
|
1324
|
+
}, description: 'Debug toolbar icon for continue.'
|
|
1325
|
+
},
|
|
1275
1326
|
// Status bar colors should be aligned with debugging colors from https://code.visualstudio.com/api/references/theme-color#status-bar-colors
|
|
1276
1327
|
{
|
|
1277
1328
|
id: 'statusBar.debuggingBackground', defaults: {
|
|
@@ -152,7 +152,7 @@ export class DebugPrefixConfiguration implements CommandContribution, CommandHan
|
|
|
152
152
|
const text: string = this.debugConfigurationManager.current
|
|
153
153
|
? this.debugConfigurationManager.current.configuration.name
|
|
154
154
|
: '';
|
|
155
|
-
const icon = '$(
|
|
155
|
+
const icon = '$(codicon-debug-alt-small)';
|
|
156
156
|
this.statusBar.setElement(this.statusBarId, {
|
|
157
157
|
alignment: StatusBarAlignment.LEFT,
|
|
158
158
|
text: text.length ? `${icon} ${text}` : icon,
|
|
@@ -145,10 +145,6 @@
|
|
|
145
145
|
min-height: var(--theia-icon-size);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.debug-toolbar .debug-action:not(:focus) {
|
|
149
|
-
border: 1px solid transparent;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
148
|
.debug-toolbar .debug-action.theia-mod-disabled {
|
|
153
149
|
opacity: 0.5 !important;
|
|
154
150
|
user-select: none;
|
|
@@ -159,14 +155,36 @@
|
|
|
159
155
|
opacity: 1;
|
|
160
156
|
}
|
|
161
157
|
|
|
162
|
-
.debug-
|
|
163
|
-
|
|
164
|
-
|
|
158
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-start {
|
|
159
|
+
color: var(--theia-debugIcon-startForeground);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-pause {
|
|
163
|
+
color: var(--theia-debugIcon-pauseForeground);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-stop {
|
|
167
|
+
color: var(--theia-debugIcon-stopForeground);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-restart {
|
|
171
|
+
color: var(--theia-debugIcon-restartForeground);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-step-over {
|
|
175
|
+
color: var(--theia-debugIcon-stepOverForeground);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-step-into {
|
|
179
|
+
color: var(--theia-debugIcon-stepIntoForeground);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-step-out {
|
|
183
|
+
color: var(--theia-debugIcon-stepOutForeground);
|
|
165
184
|
}
|
|
166
185
|
|
|
167
|
-
.
|
|
168
|
-
|
|
169
|
-
mask: url('repl.svg');
|
|
186
|
+
.debug-toolbar .debug-action.codicon.codicon-debug-continue {
|
|
187
|
+
color: var(--theia-debugIcon-continueForeground);
|
|
170
188
|
}
|
|
171
189
|
|
|
172
190
|
/** Console */
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
|
|
17
17
|
import * as React from '@theia/core/shared/react';
|
|
18
|
-
import { DISABLED_CLASS } from '@theia/core/lib/browser';
|
|
18
|
+
import { codiconArray, DISABLED_CLASS } from '@theia/core/lib/browser';
|
|
19
19
|
|
|
20
20
|
export class DebugAction extends React.Component<DebugAction.Props> {
|
|
21
21
|
|
|
22
22
|
render(): React.ReactNode {
|
|
23
23
|
const { enabled, label, iconClass } = this.props;
|
|
24
|
-
const classNames = ['debug-action',
|
|
24
|
+
const classNames = ['debug-action', ...codiconArray(iconClass, true)];
|
|
25
25
|
if (enabled === false) {
|
|
26
26
|
classNames.push(DISABLED_CLASS);
|
|
27
27
|
}
|
|
@@ -79,14 +79,14 @@ export class DebugConfigurationWidget extends ReactWidget {
|
|
|
79
79
|
render(): React.ReactNode {
|
|
80
80
|
const { options } = this;
|
|
81
81
|
return <React.Fragment>
|
|
82
|
-
<DebugAction run={this.start} label='Start Debugging' iconClass='start' ref={this.setStepRef} />
|
|
82
|
+
<DebugAction run={this.start} label='Start Debugging' iconClass='debug-start' ref={this.setStepRef} />
|
|
83
83
|
<select className='theia-select debug-configuration' value={this.currentValue} onChange={this.setCurrentConfiguration}>
|
|
84
84
|
{options.length ? options : <option value='__NO_CONF__'>No Configurations</option>}
|
|
85
85
|
<option disabled>{'Add Configuration...'.replace(/./g, '-')}</option>
|
|
86
86
|
<option value='__ADD_CONF__'>Add Configuration...</option>
|
|
87
87
|
</select>
|
|
88
|
-
<DebugAction run={this.openConfiguration} label='Open launch.json' iconClass='
|
|
89
|
-
<DebugAction run={this.openConsole} label='Debug Console' iconClass='
|
|
88
|
+
<DebugAction run={this.openConfiguration} label='Open launch.json' iconClass='settings-gear' />
|
|
89
|
+
<DebugAction run={this.openConsole} label='Debug Console' iconClass='terminal' />
|
|
90
90
|
</React.Fragment>;
|
|
91
91
|
}
|
|
92
92
|
protected get currentValue(): string {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { inject, injectable, postConstruct, interfaces, Container } from '@theia/core/shared/inversify';
|
|
18
18
|
import {
|
|
19
|
-
Message, ApplicationShell, Widget, BaseWidget, PanelLayout, StatefulWidget, ViewContainer
|
|
19
|
+
Message, ApplicationShell, Widget, BaseWidget, PanelLayout, StatefulWidget, ViewContainer, codicon
|
|
20
20
|
} from '@theia/core/lib/browser';
|
|
21
21
|
import { DebugThreadsWidget } from './debug-threads-widget';
|
|
22
22
|
import { DebugStackFramesWidget } from './debug-stack-frames-widget';
|
|
@@ -82,7 +82,7 @@ export class DebugSessionWidget extends BaseWidget implements StatefulWidget, Ap
|
|
|
82
82
|
this.title.label = this.model.label;
|
|
83
83
|
this.title.caption = this.model.label;
|
|
84
84
|
this.title.closable = true;
|
|
85
|
-
this.title.iconClass = 'debug-
|
|
85
|
+
this.title.iconClass = codicon('debug-alt');
|
|
86
86
|
this.addClass('theia-session-container');
|
|
87
87
|
|
|
88
88
|
this.viewContainer = this.viewContainerFactory({
|
|
@@ -58,26 +58,26 @@ export class DebugToolBar extends ReactWidget {
|
|
|
58
58
|
const { state } = this.model;
|
|
59
59
|
return <React.Fragment>
|
|
60
60
|
{this.renderContinue()}
|
|
61
|
-
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOver} label='Step Over' iconClass='step-over' ref={this.setStepRef} />
|
|
62
|
-
<DebugAction enabled={state === DebugState.Stopped} run={this.stepIn} label='Step Into' iconClass='step-into' />
|
|
63
|
-
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOut} label='Step Out' iconClass='step-out' />
|
|
64
|
-
<DebugAction enabled={state !== DebugState.Inactive} run={this.restart} label='Restart' iconClass='restart' />
|
|
61
|
+
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOver} label='Step Over' iconClass='debug-step-over' ref={this.setStepRef} />
|
|
62
|
+
<DebugAction enabled={state === DebugState.Stopped} run={this.stepIn} label='Step Into' iconClass='debug-step-into' />
|
|
63
|
+
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOut} label='Step Out' iconClass='debug-step-out' />
|
|
64
|
+
<DebugAction enabled={state !== DebugState.Inactive} run={this.restart} label='Restart' iconClass='debug-restart' />
|
|
65
65
|
{this.renderStart()}
|
|
66
66
|
</React.Fragment>;
|
|
67
67
|
}
|
|
68
68
|
protected renderStart(): React.ReactNode {
|
|
69
69
|
const { state } = this.model;
|
|
70
70
|
if (state === DebugState.Inactive && this.model.sessionCount === 1) {
|
|
71
|
-
return <DebugAction run={this.start} label='Start' iconClass='start' />;
|
|
71
|
+
return <DebugAction run={this.start} label='Start' iconClass='debug-start' />;
|
|
72
72
|
}
|
|
73
|
-
return <DebugAction enabled={state !== DebugState.Inactive} run={this.stop} label='Stop' iconClass='stop' />;
|
|
73
|
+
return <DebugAction enabled={state !== DebugState.Inactive} run={this.stop} label='Stop' iconClass='debug-stop' />;
|
|
74
74
|
}
|
|
75
75
|
protected renderContinue(): React.ReactNode {
|
|
76
76
|
const { state } = this.model;
|
|
77
77
|
if (state === DebugState.Stopped) {
|
|
78
|
-
return <DebugAction run={this.continue} label='Continue' iconClass='continue' />;
|
|
78
|
+
return <DebugAction run={this.continue} label='Continue' iconClass='debug-continue' />;
|
|
79
79
|
}
|
|
80
|
-
return <DebugAction enabled={state === DebugState.Running} run={this.pause} label='Pause' iconClass='pause' />;
|
|
80
|
+
return <DebugAction enabled={state === DebugState.Running} run={this.pause} label='Pause' iconClass='debug-pause' />;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
protected start = () => this.model.start();
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { injectable, postConstruct, inject, interfaces, Container } from '@theia/core/shared/inversify';
|
|
18
18
|
import {
|
|
19
|
-
BaseWidget, PanelLayout, Message, ApplicationShell, Widget, StatefulWidget, ViewContainer
|
|
19
|
+
BaseWidget, PanelLayout, Message, ApplicationShell, Widget, StatefulWidget, ViewContainer, codicon
|
|
20
20
|
} from '@theia/core/lib/browser';
|
|
21
21
|
import { DebugSessionWidget } from './debug-session-widget';
|
|
22
22
|
import { DebugConfigurationWidget } from './debug-configuration-widget';
|
|
@@ -61,7 +61,7 @@ export class DebugWidget extends BaseWidget implements StatefulWidget, Applicati
|
|
|
61
61
|
this.title.label = DebugWidget.LABEL;
|
|
62
62
|
this.title.caption = DebugWidget.LABEL;
|
|
63
63
|
this.title.closable = true;
|
|
64
|
-
this.title.iconClass = 'debug-
|
|
64
|
+
this.title.iconClass = codicon('debug-alt');
|
|
65
65
|
this.addClass('theia-debug-container');
|
|
66
66
|
this.toDispose.pushAll([
|
|
67
67
|
this.toolbar,
|