@theia/debug 1.67.0-next.59 → 1.67.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/lib/browser/breakpoint/breakpoint-manager.js +1 -1
- package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -1
- package/lib/browser/console/debug-console-items.d.ts +13 -3
- package/lib/browser/console/debug-console-items.d.ts.map +1 -1
- package/lib/browser/console/debug-console-items.js +81 -20
- package/lib/browser/console/debug-console-items.js.map +1 -1
- package/lib/browser/console/debug-console-session.d.ts.map +1 -1
- package/lib/browser/console/debug-console-session.js +1 -0
- package/lib/browser/console/debug-console-session.js.map +1 -1
- package/lib/browser/debug-commands.d.ts +153 -0
- package/lib/browser/debug-commands.d.ts.map +1 -0
- package/lib/browser/debug-commands.js +399 -0
- package/lib/browser/debug-commands.js.map +1 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts +1 -150
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.js +155 -532
- package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
- package/lib/browser/debug-prefix-configuration.js +3 -3
- package/lib/browser/debug-prefix-configuration.js.map +1 -1
- package/lib/browser/debug-session-contribution.d.ts +2 -1
- package/lib/browser/debug-session-contribution.d.ts.map +1 -1
- package/lib/browser/debug-session-contribution.js +5 -1
- package/lib/browser/debug-session-contribution.js.map +1 -1
- package/lib/browser/debug-session-manager.d.ts +11 -3
- package/lib/browser/debug-session-manager.d.ts.map +1 -1
- package/lib/browser/debug-session-manager.js +49 -8
- package/lib/browser/debug-session-manager.js.map +1 -1
- package/lib/browser/debug-session.d.ts +9 -3
- package/lib/browser/debug-session.d.ts.map +1 -1
- package/lib/browser/debug-session.js +13 -3
- package/lib/browser/debug-session.js.map +1 -1
- package/lib/browser/editor/debug-hover-source.d.ts +1 -0
- package/lib/browser/editor/debug-hover-source.d.ts.map +1 -1
- package/lib/browser/editor/debug-hover-source.js +9 -0
- package/lib/browser/editor/debug-hover-source.js.map +1 -1
- package/lib/browser/editor/debug-inline-value-decorator.js +1 -1
- package/lib/browser/editor/debug-inline-value-decorator.js.map +1 -1
- package/lib/browser/model/debug-breakpoint.d.ts +4 -2
- package/lib/browser/model/debug-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-breakpoint.js +10 -2
- package/lib/browser/model/debug-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-data-breakpoint.d.ts +2 -0
- package/lib/browser/model/debug-data-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-data-breakpoint.js +16 -5
- package/lib/browser/model/debug-data-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-function-breakpoint.d.ts +3 -0
- package/lib/browser/model/debug-function-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-function-breakpoint.js +17 -1
- package/lib/browser/model/debug-function-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-instruction-breakpoint.d.ts +2 -0
- package/lib/browser/model/debug-instruction-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-instruction-breakpoint.js +13 -1
- package/lib/browser/model/debug-instruction-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-source-breakpoint.d.ts +6 -1
- package/lib/browser/model/debug-source-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-source-breakpoint.js +17 -1
- package/lib/browser/model/debug-source-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-stack-frame.d.ts +2 -2
- package/lib/browser/model/debug-stack-frame.d.ts.map +1 -1
- package/lib/browser/model/debug-stack-frame.js +13 -5
- package/lib/browser/model/debug-stack-frame.js.map +1 -1
- package/lib/browser/model/debug-thread.d.ts +2 -2
- package/lib/browser/model/debug-thread.d.ts.map +1 -1
- package/lib/browser/model/debug-thread.js +13 -9
- package/lib/browser/model/debug-thread.js.map +1 -1
- package/lib/browser/view/debug-action.d.ts +1 -0
- package/lib/browser/view/debug-action.d.ts.map +1 -1
- package/lib/browser/view/debug-action.js +2 -2
- package/lib/browser/view/debug-action.js.map +1 -1
- package/lib/browser/view/debug-breakpoints-source.d.ts +2 -0
- package/lib/browser/view/debug-breakpoints-source.d.ts.map +1 -1
- package/lib/browser/view/debug-breakpoints-source.js +6 -1
- package/lib/browser/view/debug-breakpoints-source.js.map +1 -1
- package/lib/browser/view/debug-configuration-widget.js +2 -2
- package/lib/browser/view/debug-configuration-widget.js.map +1 -1
- package/lib/browser/view/debug-exception-breakpoint.d.ts +9 -2
- package/lib/browser/view/debug-exception-breakpoint.d.ts.map +1 -1
- package/lib/browser/view/debug-exception-breakpoint.js +26 -5
- package/lib/browser/view/debug-exception-breakpoint.js.map +1 -1
- package/lib/browser/view/debug-session-widget.d.ts +0 -1
- package/lib/browser/view/debug-session-widget.d.ts.map +1 -1
- package/lib/browser/view/debug-session-widget.js +0 -4
- package/lib/browser/view/debug-session-widget.js.map +1 -1
- package/lib/browser/view/debug-threads-widget.d.ts +6 -1
- package/lib/browser/view/debug-threads-widget.d.ts.map +1 -1
- package/lib/browser/view/debug-threads-widget.js +69 -5
- package/lib/browser/view/debug-threads-widget.js.map +1 -1
- package/lib/browser/view/debug-toolbar-widget.d.ts +5 -18
- package/lib/browser/view/debug-toolbar-widget.d.ts.map +1 -1
- package/lib/browser/view/debug-toolbar-widget.js +14 -58
- package/lib/browser/view/debug-toolbar-widget.js.map +1 -1
- package/lib/browser/view/debug-variables-source.d.ts.map +1 -1
- package/lib/browser/view/debug-variables-source.js +1 -0
- package/lib/browser/view/debug-variables-source.js.map +1 -1
- package/lib/browser/view/debug-variables-widget.d.ts +15 -0
- package/lib/browser/view/debug-variables-widget.d.ts.map +1 -1
- package/lib/browser/view/debug-variables-widget.js +56 -1
- package/lib/browser/view/debug-variables-widget.js.map +1 -1
- package/lib/browser/view/debug-view-model.d.ts +4 -0
- package/lib/browser/view/debug-view-model.d.ts.map +1 -1
- package/lib/browser/view/debug-view-model.js +18 -9
- package/lib/browser/view/debug-view-model.js.map +1 -1
- package/lib/browser/view/debug-watch-expression.d.ts.map +1 -1
- package/lib/browser/view/debug-watch-expression.js +4 -5
- package/lib/browser/view/debug-watch-expression.js.map +1 -1
- package/lib/browser/view/debug-watch-source.d.ts.map +1 -1
- package/lib/browser/view/debug-watch-source.js +1 -0
- package/lib/browser/view/debug-watch-source.js.map +1 -1
- package/lib/common/debug-preferences.d.ts +1 -0
- package/lib/common/debug-preferences.d.ts.map +1 -1
- package/lib/common/debug-preferences.js +11 -1
- package/lib/common/debug-preferences.js.map +1 -1
- package/package.json +16 -16
- package/src/browser/breakpoint/breakpoint-manager.ts +1 -1
- package/src/browser/console/debug-console-items.tsx +90 -21
- package/src/browser/console/debug-console-session.ts +1 -0
- package/src/browser/debug-commands.ts +402 -0
- package/src/browser/debug-frontend-application-contribution.ts +35 -410
- package/src/browser/debug-prefix-configuration.ts +1 -1
- package/src/browser/debug-session-contribution.ts +7 -2
- package/src/browser/debug-session-manager.ts +62 -9
- package/src/browser/debug-session.tsx +17 -4
- package/src/browser/editor/debug-hover-source.tsx +6 -2
- package/src/browser/editor/debug-inline-value-decorator.ts +1 -1
- package/src/browser/model/debug-breakpoint.tsx +12 -3
- package/src/browser/model/debug-data-breakpoint.tsx +21 -6
- package/src/browser/model/debug-function-breakpoint.tsx +22 -1
- package/src/browser/model/debug-instruction-breakpoint.tsx +16 -1
- package/src/browser/model/debug-source-breakpoint.tsx +24 -3
- package/src/browser/model/debug-stack-frame.tsx +13 -6
- package/src/browser/model/debug-thread.tsx +14 -10
- package/src/browser/style/index.css +30 -5
- package/src/browser/view/debug-action.tsx +3 -2
- package/src/browser/view/debug-breakpoints-source.tsx +5 -1
- package/src/browser/view/debug-configuration-widget.tsx +1 -1
- package/src/browser/view/debug-exception-breakpoint.tsx +30 -5
- package/src/browser/view/debug-session-widget.ts +0 -5
- package/src/browser/view/debug-threads-widget.ts +84 -6
- package/src/browser/view/debug-toolbar-widget.tsx +13 -60
- package/src/browser/view/debug-variables-source.ts +1 -0
- package/src/browser/view/debug-variables-widget.ts +59 -0
- package/src/browser/view/debug-view-model.ts +20 -8
- package/src/browser/view/debug-watch-expression.tsx +5 -6
- package/src/browser/view/debug-watch-source.ts +1 -0
- package/src/common/debug-preferences.ts +12 -1
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
|
|
17
|
+
import { Command, MAIN_MENU_BAR } from '@theia/core/lib/common';
|
|
18
|
+
import { codicon } from '@theia/core/lib/browser';
|
|
19
|
+
import { nls } from '@theia/core/lib/common/nls';
|
|
20
|
+
|
|
21
|
+
export namespace DebugMenus {
|
|
22
|
+
export const DEBUG = [...MAIN_MENU_BAR, '6_debug'];
|
|
23
|
+
export const DEBUG_CONTROLS = [...DEBUG, 'a_controls'];
|
|
24
|
+
export const DEBUG_CONFIGURATION = [...DEBUG, 'b_configuration'];
|
|
25
|
+
export const DEBUG_THREADS = [...DEBUG, 'c_threads'];
|
|
26
|
+
export const DEBUG_SESSIONS = [...DEBUG, 'd_sessions'];
|
|
27
|
+
export const DEBUG_BREAKPOINT = [...DEBUG, 'e_breakpoint'];
|
|
28
|
+
export const DEBUG_NEW_BREAKPOINT = [...DEBUG_BREAKPOINT, 'a_new_breakpoint'];
|
|
29
|
+
export const DEBUG_BREAKPOINTS = [...DEBUG, 'f_breakpoints'];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function nlsEditBreakpoint(breakpoint: string): string {
|
|
33
|
+
return nls.localizeByDefault('Edit {0}...', nls.localizeByDefault(breakpoint));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function nlsRemoveBreakpoint(breakpoint: string): string {
|
|
37
|
+
return nls.localizeByDefault('Remove {0}', nls.localizeByDefault(breakpoint));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function nlsEnableBreakpoint(breakpoint: string): string {
|
|
41
|
+
return nls.localizeByDefault('Enable {0}', nls.localizeByDefault(breakpoint));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function nlsDisableBreakpoint(breakpoint: string): string {
|
|
45
|
+
return nls.localizeByDefault('Disable {0}', nls.localizeByDefault(breakpoint));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export namespace DebugCommands {
|
|
49
|
+
|
|
50
|
+
export const DEBUG_CATEGORY = 'Debug';
|
|
51
|
+
export const DEBUG_CATEGORY_KEY = nls.getDefaultKey(DEBUG_CATEGORY);
|
|
52
|
+
|
|
53
|
+
export const START = Command.toDefaultLocalizedCommand({
|
|
54
|
+
id: 'workbench.action.debug.start',
|
|
55
|
+
category: DEBUG_CATEGORY,
|
|
56
|
+
label: 'Start Debugging',
|
|
57
|
+
iconClass: codicon('debug-alt')
|
|
58
|
+
});
|
|
59
|
+
export const START_NO_DEBUG = Command.toDefaultLocalizedCommand({
|
|
60
|
+
id: 'workbench.action.debug.run',
|
|
61
|
+
category: DEBUG_CATEGORY,
|
|
62
|
+
label: 'Start Without Debugging'
|
|
63
|
+
});
|
|
64
|
+
export const STOP = Command.toDefaultLocalizedCommand({
|
|
65
|
+
id: 'workbench.action.debug.stop',
|
|
66
|
+
category: DEBUG_CATEGORY,
|
|
67
|
+
label: 'Stop',
|
|
68
|
+
iconClass: codicon('debug-stop')
|
|
69
|
+
});
|
|
70
|
+
export const RESTART = Command.toDefaultLocalizedCommand({
|
|
71
|
+
id: 'workbench.action.debug.restart',
|
|
72
|
+
category: DEBUG_CATEGORY,
|
|
73
|
+
label: 'Restart',
|
|
74
|
+
iconClass: codicon('debug-restart')
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export const OPEN_CONFIGURATIONS = Command.toDefaultLocalizedCommand({
|
|
78
|
+
id: 'debug.configurations.open',
|
|
79
|
+
category: DEBUG_CATEGORY,
|
|
80
|
+
label: 'Open Configurations'
|
|
81
|
+
});
|
|
82
|
+
export const ADD_CONFIGURATION = Command.toDefaultLocalizedCommand({
|
|
83
|
+
id: 'debug.configurations.add',
|
|
84
|
+
category: DEBUG_CATEGORY,
|
|
85
|
+
label: 'Add Configuration...'
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
export const STEP_OVER = Command.toDefaultLocalizedCommand({
|
|
89
|
+
id: 'workbench.action.debug.stepOver',
|
|
90
|
+
category: DEBUG_CATEGORY,
|
|
91
|
+
label: 'Step Over',
|
|
92
|
+
iconClass: codicon('debug-step-over')
|
|
93
|
+
});
|
|
94
|
+
export const STEP_INTO = Command.toDefaultLocalizedCommand({
|
|
95
|
+
id: 'workbench.action.debug.stepInto',
|
|
96
|
+
category: DEBUG_CATEGORY,
|
|
97
|
+
label: 'Step Into',
|
|
98
|
+
iconClass: codicon('debug-step-into')
|
|
99
|
+
});
|
|
100
|
+
export const STEP_OUT = Command.toDefaultLocalizedCommand({
|
|
101
|
+
id: 'workbench.action.debug.stepOut',
|
|
102
|
+
category: DEBUG_CATEGORY,
|
|
103
|
+
label: 'Step Out',
|
|
104
|
+
iconClass: codicon('debug-step-out')
|
|
105
|
+
});
|
|
106
|
+
export const CONTINUE = Command.toDefaultLocalizedCommand({
|
|
107
|
+
id: 'workbench.action.debug.continue',
|
|
108
|
+
category: DEBUG_CATEGORY,
|
|
109
|
+
label: 'Continue',
|
|
110
|
+
iconClass: codicon('debug-continue')
|
|
111
|
+
});
|
|
112
|
+
export const PAUSE = Command.toDefaultLocalizedCommand({
|
|
113
|
+
id: 'workbench.action.debug.pause',
|
|
114
|
+
category: DEBUG_CATEGORY,
|
|
115
|
+
label: 'Pause',
|
|
116
|
+
iconClass: codicon('debug-pause')
|
|
117
|
+
});
|
|
118
|
+
export const CONTINUE_ALL = Command.toLocalizedCommand({
|
|
119
|
+
id: 'debug.thread.continue.all',
|
|
120
|
+
category: DEBUG_CATEGORY,
|
|
121
|
+
label: 'Continue All',
|
|
122
|
+
iconClass: codicon('debug-continue')
|
|
123
|
+
}, 'theia/debug/continueAll', DEBUG_CATEGORY_KEY);
|
|
124
|
+
export const PAUSE_ALL = Command.toLocalizedCommand({
|
|
125
|
+
id: 'debug.thread.pause.all',
|
|
126
|
+
category: DEBUG_CATEGORY,
|
|
127
|
+
label: 'Pause All',
|
|
128
|
+
iconClass: codicon('debug-pause')
|
|
129
|
+
}, 'theia/debug/pauseAll', DEBUG_CATEGORY_KEY);
|
|
130
|
+
|
|
131
|
+
export const TOGGLE_BREAKPOINT = Command.toDefaultLocalizedCommand({
|
|
132
|
+
id: 'editor.debug.action.toggleBreakpoint',
|
|
133
|
+
category: DEBUG_CATEGORY,
|
|
134
|
+
label: 'Toggle Breakpoint',
|
|
135
|
+
});
|
|
136
|
+
export const INLINE_BREAKPOINT = Command.toDefaultLocalizedCommand({
|
|
137
|
+
id: 'editor.debug.action.inlineBreakpoint',
|
|
138
|
+
category: DEBUG_CATEGORY,
|
|
139
|
+
label: 'Inline Breakpoint',
|
|
140
|
+
});
|
|
141
|
+
export const ADD_CONDITIONAL_BREAKPOINT = Command.toDefaultLocalizedCommand({
|
|
142
|
+
id: 'debug.breakpoint.add.conditional',
|
|
143
|
+
category: DEBUG_CATEGORY,
|
|
144
|
+
label: 'Add Conditional Breakpoint...',
|
|
145
|
+
});
|
|
146
|
+
export const ADD_LOGPOINT = Command.toDefaultLocalizedCommand({
|
|
147
|
+
id: 'debug.breakpoint.add.logpoint',
|
|
148
|
+
category: DEBUG_CATEGORY,
|
|
149
|
+
label: 'Add Logpoint...',
|
|
150
|
+
});
|
|
151
|
+
export const ADD_FUNCTION_BREAKPOINT = Command.toDefaultLocalizedCommand({
|
|
152
|
+
id: 'debug.breakpoint.add.function',
|
|
153
|
+
category: DEBUG_CATEGORY,
|
|
154
|
+
label: 'Add Function Breakpoint',
|
|
155
|
+
});
|
|
156
|
+
export const ADD_DATA_BREAKPOINT = Command.toDefaultLocalizedCommand({
|
|
157
|
+
id: 'debug.breakpoint.add.data',
|
|
158
|
+
category: DEBUG_CATEGORY,
|
|
159
|
+
label: 'Add Data Breakpoint at Address'
|
|
160
|
+
});
|
|
161
|
+
export const ENABLE_SELECTED_BREAKPOINTS = Command.toLocalizedCommand({
|
|
162
|
+
id: 'debug.breakpoint.enableSelected',
|
|
163
|
+
category: DEBUG_CATEGORY,
|
|
164
|
+
label: 'Enable Selected Breakpoints',
|
|
165
|
+
}, 'theia/debug/enableSelectedBreakpoints', DEBUG_CATEGORY_KEY);
|
|
166
|
+
export const ENABLE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
|
|
167
|
+
id: 'debug.breakpoint.enableAll',
|
|
168
|
+
category: DEBUG_CATEGORY,
|
|
169
|
+
label: 'Enable All Breakpoints',
|
|
170
|
+
});
|
|
171
|
+
export const DISABLE_SELECTED_BREAKPOINTS = Command.toLocalizedCommand({
|
|
172
|
+
id: 'debug.breakpoint.disableSelected',
|
|
173
|
+
category: DEBUG_CATEGORY,
|
|
174
|
+
label: 'Disable Selected Breakpoints',
|
|
175
|
+
}, 'theia/debug/disableSelectedBreakpoints', DEBUG_CATEGORY_KEY);
|
|
176
|
+
export const DISABLE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
|
|
177
|
+
id: 'debug.breakpoint.disableAll',
|
|
178
|
+
category: DEBUG_CATEGORY,
|
|
179
|
+
label: 'Disable All Breakpoints',
|
|
180
|
+
});
|
|
181
|
+
export const EDIT_BREAKPOINT = Command.toLocalizedCommand({
|
|
182
|
+
id: 'debug.breakpoint.edit',
|
|
183
|
+
category: DEBUG_CATEGORY,
|
|
184
|
+
originalLabel: 'Edit Breakpoint...',
|
|
185
|
+
label: nlsEditBreakpoint('Breakpoint')
|
|
186
|
+
}, '', DEBUG_CATEGORY_KEY);
|
|
187
|
+
export const EDIT_LOGPOINT = Command.toLocalizedCommand({
|
|
188
|
+
id: 'debug.logpoint.edit',
|
|
189
|
+
category: DEBUG_CATEGORY,
|
|
190
|
+
originalLabel: 'Edit Logpoint...',
|
|
191
|
+
label: nlsEditBreakpoint('Logpoint')
|
|
192
|
+
}, '', DEBUG_CATEGORY_KEY);
|
|
193
|
+
export const EDIT_BREAKPOINT_CONDITION = Command.toLocalizedCommand({
|
|
194
|
+
id: 'debug.breakpoint.editCondition',
|
|
195
|
+
category: DEBUG_CATEGORY,
|
|
196
|
+
label: 'Edit Condition...'
|
|
197
|
+
}, '', DEBUG_CATEGORY_KEY);
|
|
198
|
+
export const REMOVE_BREAKPOINT = Command.toLocalizedCommand({
|
|
199
|
+
id: 'debug.breakpoint.remove',
|
|
200
|
+
category: DEBUG_CATEGORY,
|
|
201
|
+
originalLabel: 'Remove Breakpoint',
|
|
202
|
+
label: nlsRemoveBreakpoint('Breakpoint')
|
|
203
|
+
}, '', DEBUG_CATEGORY_KEY);
|
|
204
|
+
export const REMOVE_LOGPOINT = Command.toLocalizedCommand({
|
|
205
|
+
id: 'debug.logpoint.remove',
|
|
206
|
+
category: DEBUG_CATEGORY,
|
|
207
|
+
originalLabel: 'Remove Logpoint',
|
|
208
|
+
label: nlsRemoveBreakpoint('Logpoint')
|
|
209
|
+
}, '', DEBUG_CATEGORY_KEY);
|
|
210
|
+
export const REMOVE_SELECTED_BREAKPOINTS = Command.toLocalizedCommand({
|
|
211
|
+
id: 'debug.breakpoint.removeSelected',
|
|
212
|
+
category: DEBUG_CATEGORY,
|
|
213
|
+
label: 'Remove Selected Breakpoints',
|
|
214
|
+
}, '', DEBUG_CATEGORY_KEY);
|
|
215
|
+
export const REMOVE_ALL_BREAKPOINTS = Command.toDefaultLocalizedCommand({
|
|
216
|
+
id: 'debug.breakpoint.removeAll',
|
|
217
|
+
category: DEBUG_CATEGORY,
|
|
218
|
+
label: 'Remove All Breakpoints',
|
|
219
|
+
});
|
|
220
|
+
export const TOGGLE_BREAKPOINTS_ENABLED = Command.toLocalizedCommand({
|
|
221
|
+
id: 'debug.breakpoint.toggleEnabled',
|
|
222
|
+
label: 'Toggle Enable Breakpoints',
|
|
223
|
+
});
|
|
224
|
+
export const SHOW_HOVER = Command.toDefaultLocalizedCommand({
|
|
225
|
+
id: 'editor.debug.action.showDebugHover',
|
|
226
|
+
label: 'Debug: Show Hover'
|
|
227
|
+
});
|
|
228
|
+
export const EVALUATE_IN_DEBUG_CONSOLE = Command.toDefaultLocalizedCommand({
|
|
229
|
+
id: 'editor.debug.action.selectionToRepl',
|
|
230
|
+
category: DEBUG_CATEGORY,
|
|
231
|
+
label: 'Evaluate in Debug Console'
|
|
232
|
+
});
|
|
233
|
+
export const ADD_TO_WATCH = Command.toDefaultLocalizedCommand({
|
|
234
|
+
id: 'editor.debug.action.selectionToWatch',
|
|
235
|
+
category: DEBUG_CATEGORY,
|
|
236
|
+
label: 'Add to Watch'
|
|
237
|
+
});
|
|
238
|
+
export const JUMP_TO_CURSOR = Command.toDefaultLocalizedCommand({
|
|
239
|
+
id: 'editor.debug.action.jumpToCursor',
|
|
240
|
+
category: DEBUG_CATEGORY,
|
|
241
|
+
label: 'Jump to Cursor'
|
|
242
|
+
});
|
|
243
|
+
export const RUN_TO_CURSOR = Command.toDefaultLocalizedCommand({
|
|
244
|
+
id: 'editor.debug.action.runToCursor',
|
|
245
|
+
category: DEBUG_CATEGORY,
|
|
246
|
+
label: 'Run to Cursor'
|
|
247
|
+
});
|
|
248
|
+
export const RUN_TO_LINE = Command.toDefaultLocalizedCommand({
|
|
249
|
+
id: 'editor.debug.action.runToLine',
|
|
250
|
+
category: DEBUG_CATEGORY,
|
|
251
|
+
label: 'Run to Line'
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
export const RESTART_FRAME = Command.toDefaultLocalizedCommand({
|
|
255
|
+
id: 'debug.frame.restart',
|
|
256
|
+
category: DEBUG_CATEGORY,
|
|
257
|
+
label: 'Restart Frame',
|
|
258
|
+
});
|
|
259
|
+
export const COPY_CALL_STACK = Command.toDefaultLocalizedCommand({
|
|
260
|
+
id: 'debug.callStack.copy',
|
|
261
|
+
category: DEBUG_CATEGORY,
|
|
262
|
+
label: 'Copy Call Stack',
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
export const SET_VARIABLE_VALUE = Command.toDefaultLocalizedCommand({
|
|
266
|
+
id: 'debug.variable.setValue',
|
|
267
|
+
category: DEBUG_CATEGORY,
|
|
268
|
+
label: 'Set Value',
|
|
269
|
+
});
|
|
270
|
+
export const COPY_VARIABLE_VALUE = Command.toDefaultLocalizedCommand({
|
|
271
|
+
id: 'debug.variable.copyValue',
|
|
272
|
+
category: DEBUG_CATEGORY,
|
|
273
|
+
label: 'Copy Value',
|
|
274
|
+
});
|
|
275
|
+
export const COPY_VARIABLE_AS_EXPRESSION = Command.toDefaultLocalizedCommand({
|
|
276
|
+
id: 'debug.variable.copyAsExpression',
|
|
277
|
+
category: DEBUG_CATEGORY,
|
|
278
|
+
label: 'Copy as Expression',
|
|
279
|
+
});
|
|
280
|
+
export const WATCH_VARIABLE = Command.toDefaultLocalizedCommand({
|
|
281
|
+
id: 'debug.variable.watch',
|
|
282
|
+
category: DEBUG_CATEGORY,
|
|
283
|
+
label: 'Add to Watch',
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
export const ADD_WATCH_EXPRESSION = Command.toDefaultLocalizedCommand({
|
|
287
|
+
id: 'debug.watch.addExpression',
|
|
288
|
+
category: DEBUG_CATEGORY,
|
|
289
|
+
label: 'Add Expression'
|
|
290
|
+
});
|
|
291
|
+
export const EDIT_WATCH_EXPRESSION = Command.toDefaultLocalizedCommand({
|
|
292
|
+
id: 'debug.watch.editExpression',
|
|
293
|
+
category: DEBUG_CATEGORY,
|
|
294
|
+
label: 'Edit Expression'
|
|
295
|
+
});
|
|
296
|
+
export const COPY_WATCH_EXPRESSION_VALUE = Command.toLocalizedCommand({
|
|
297
|
+
id: 'debug.watch.copyExpressionValue',
|
|
298
|
+
category: DEBUG_CATEGORY,
|
|
299
|
+
label: 'Copy Expression Value'
|
|
300
|
+
}, 'theia/debug/copyExpressionValue', DEBUG_CATEGORY_KEY);
|
|
301
|
+
export const REMOVE_WATCH_EXPRESSION = Command.toDefaultLocalizedCommand({
|
|
302
|
+
id: 'debug.watch.removeExpression',
|
|
303
|
+
category: DEBUG_CATEGORY,
|
|
304
|
+
label: 'Remove Expression'
|
|
305
|
+
});
|
|
306
|
+
export const COLLAPSE_ALL_WATCH_EXPRESSIONS = Command.toDefaultLocalizedCommand({
|
|
307
|
+
id: 'debug.watch.collapseAllExpressions',
|
|
308
|
+
category: DEBUG_CATEGORY,
|
|
309
|
+
label: 'Collapse All'
|
|
310
|
+
});
|
|
311
|
+
export const REMOVE_ALL_WATCH_EXPRESSIONS = Command.toDefaultLocalizedCommand({
|
|
312
|
+
id: 'debug.watch.removeAllExpressions',
|
|
313
|
+
category: DEBUG_CATEGORY,
|
|
314
|
+
label: 'Remove All Expressions'
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
export namespace DebugThreadContextCommands {
|
|
318
|
+
export const STEP_OVER = {
|
|
319
|
+
id: 'debug.thread.context.context.next'
|
|
320
|
+
};
|
|
321
|
+
export const STEP_INTO = {
|
|
322
|
+
id: 'debug.thread.context.stepin'
|
|
323
|
+
};
|
|
324
|
+
export const STEP_OUT = {
|
|
325
|
+
id: 'debug.thread.context.stepout'
|
|
326
|
+
};
|
|
327
|
+
export const CONTINUE = {
|
|
328
|
+
id: 'debug.thread.context.continue'
|
|
329
|
+
};
|
|
330
|
+
export const PAUSE = {
|
|
331
|
+
id: 'debug.thread.context.pause'
|
|
332
|
+
};
|
|
333
|
+
export const TERMINATE = {
|
|
334
|
+
id: 'debug.thread.context.terminate'
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
export namespace DebugSessionContextCommands {
|
|
338
|
+
export const STOP = {
|
|
339
|
+
id: 'debug.session.context.stop'
|
|
340
|
+
};
|
|
341
|
+
export const RESTART = {
|
|
342
|
+
id: 'debug.session.context.restart'
|
|
343
|
+
};
|
|
344
|
+
export const PAUSE_ALL = {
|
|
345
|
+
id: 'debug.session.context.pauseAll'
|
|
346
|
+
};
|
|
347
|
+
export const CONTINUE_ALL = {
|
|
348
|
+
id: 'debug.session.context.continueAll'
|
|
349
|
+
};
|
|
350
|
+
export const REVEAL = {
|
|
351
|
+
id: 'debug.session.context.reveal'
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
export namespace DebugEditorContextCommands {
|
|
355
|
+
export const ADD_BREAKPOINT = {
|
|
356
|
+
id: 'debug.editor.context.addBreakpoint'
|
|
357
|
+
};
|
|
358
|
+
export const ADD_CONDITIONAL_BREAKPOINT = {
|
|
359
|
+
id: 'debug.editor.context.addBreakpoint.conditional'
|
|
360
|
+
};
|
|
361
|
+
export const ADD_LOGPOINT = {
|
|
362
|
+
id: 'debug.editor.context.add.logpoint'
|
|
363
|
+
};
|
|
364
|
+
export const REMOVE_BREAKPOINT = {
|
|
365
|
+
id: 'debug.editor.context.removeBreakpoint'
|
|
366
|
+
};
|
|
367
|
+
export const EDIT_BREAKPOINT = {
|
|
368
|
+
id: 'debug.editor.context.edit.breakpoint'
|
|
369
|
+
};
|
|
370
|
+
export const ENABLE_BREAKPOINT = {
|
|
371
|
+
id: 'debug.editor.context.enableBreakpoint'
|
|
372
|
+
};
|
|
373
|
+
export const DISABLE_BREAKPOINT = {
|
|
374
|
+
id: 'debug.editor.context.disableBreakpoint'
|
|
375
|
+
};
|
|
376
|
+
export const REMOVE_LOGPOINT = {
|
|
377
|
+
id: 'debug.editor.context.logpoint.remove'
|
|
378
|
+
};
|
|
379
|
+
export const EDIT_LOGPOINT = {
|
|
380
|
+
id: 'debug.editor.context.logpoint.edit'
|
|
381
|
+
};
|
|
382
|
+
export const ENABLE_LOGPOINT = {
|
|
383
|
+
id: 'debug.editor.context.logpoint.enable'
|
|
384
|
+
};
|
|
385
|
+
export const DISABLE_LOGPOINT = {
|
|
386
|
+
id: 'debug.editor.context.logpoint.disable'
|
|
387
|
+
};
|
|
388
|
+
export const JUMP_TO_CURSOR = {
|
|
389
|
+
id: 'debug.editor.context.jumpToCursor'
|
|
390
|
+
};
|
|
391
|
+
export const RUN_TO_LINE = {
|
|
392
|
+
id: 'debug.editor.context.runToLine'
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
export namespace DebugBreakpointWidgetCommands {
|
|
396
|
+
export const ACCEPT = {
|
|
397
|
+
id: 'debug.breakpointWidget.accept'
|
|
398
|
+
};
|
|
399
|
+
export const CLOSE = {
|
|
400
|
+
id: 'debug.breakpointWidget.close'
|
|
401
|
+
};
|
|
402
|
+
}
|