blob: cde009c2283a6fa06425c0c4855a44824d044baa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?><!--
Copyright (c) 2010 Wind River Systems, Inc. and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Wind River Systems - initial API and implementation
-->
<plugin>
<extension point="org.eclipse.tcf.debug.ui.launch_context">
<class name="org.eclipse.tcf.internal.cdt.ui.TCFLaunchContext" />
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.tcf.internal.debug.ui.model.TCFNode"
class="org.eclipse.tcf.internal.cdt.ui.TCFNodeAdapterFactory">
<adapter type="org.eclipse.cdt.debug.internal.ui.disassembly.dsf.IDisassemblyBackend"/>
<adapter type="org.eclipse.cdt.debug.core.model.ISteppingModeTarget"/>
<adapter type="org.eclipse.debug.core.model.ISuspendResume"/>
<adapter type="org.eclipse.cdt.ui.text.c.hover.ICEditorTextHover"/>
<adapter type="org.eclipse.cdt.debug.core.model.IReverseToggleHandler"/>
<adapter type="org.eclipse.cdt.debug.core.model.IReverseStepIntoHandler"/>
<adapter type="org.eclipse.cdt.debug.core.model.IReverseStepOverHandler"/>
<adapter type="org.eclipse.cdt.debug.core.model.IReverseResumeHandler"/>
<adapter type="org.eclipse.cdt.debug.core.model.IUncallHandler"/>
<adapter type="org.eclipse.cdt.debug.ui.IPinProvider"/>
<adapter type="org.eclipse.cdt.debug.internal.core.ICWatchpointTarget"/>
<adapter type="org.eclipse.tcf.internal.debug.ui.model.ISourceNotFoundPresentation"/>
</factory>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.tcf.internal.cdt.ui.commands.TCFReverseDebuggingPropertyTester"
id="org.eclipse.tcf.cdt.ui.ReverseDebuggingTester"
namespace="org.eclipse.cdt.debug.ui"
properties="isReverseDebuggingEnabled"
type="org.eclipse.tcf.internal.debug.ui.model.TCFNode">
</propertyTester>
</extension>
<extension
point="org.eclipse.debug.ui.debugModelContextBindings">
<modelContextBinding
contextId="org.eclipse.cdt.debug.ui.debugging"
debugModelId="org.eclipse.tcf.debug">
</modelContextBinding>
<modelContextBinding
contextId="org.eclipse.cdt.debug.ui.reverseDebuggingActionSet"
debugModelId="org.eclipse.tcf.debug">
</modelContextBinding>
</extension>
<extension
point="org.eclipse.cdt.debug.core.BreakpointExtension">
<breakpointExtension
class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFBreakpointScopeExtension"
debugModelId="org.eclipse.tcf.debug"
id="org.eclipse.tcf.cdt.ui.breakpointExtension"
markerType="org.eclipse.cdt.debug.core.cBreakpointMarker">
</breakpointExtension>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page class="org.eclipse.tcf.internal.cdt.ui.breakpoints.TCFBreakpointThreadFilterPage"
id="org.eclipse.tcf.breakpoint.filtering"
name="%breakpoints.filterPage.name">
<filter name="debugModelId" value="org.eclipse.tcf.debug"/>
<enabledWhen>
<and>
<adapt type="org.eclipse.cdt.debug.core.model.ICBreakpoint"/>
<not>
<adapt type="org.eclipse.cdt.debug.core.model.ICTracepoint"/>
</not>
</and>
</enabledWhen>
</page>
</extension>
<!-- Remote Application Launch config type -->
<!-- TODO: Move to common CDT plugin? -->
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
public="true"
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
name="%launchConfigType.remoteApplication.name"
id="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType"
modes="debug,run">
</launchConfigurationType>
</extension>
<extension point="org.eclipse.debug.core.launchDelegates">
<launchDelegate
id="org.eclipse.tcf.cdt.launch.localCLaunch"
type="org.eclipse.cdt.launch.applicationLaunchType"
modes="debug"
delegate="org.eclipse.tcf.internal.cdt.launch.TCFCDTLaunchDelegate"
name="%launchDelegate.localApplication.name"
delegateDescription="%launchDelegate.localApplication.description"
sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
</launchDelegate>
<launchDelegate
id="org.eclipse.tcf.cdt.launch.attachCLaunch"
type="org.eclipse.cdt.launch.attachLaunchType"
modes="debug"
delegate="org.eclipse.tcf.internal.cdt.launch.TCFCDTLaunchDelegate"
name="%launchDelegate.attach.name"
delegateDescription="%launchDelegate.attach.description"
sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
</launchDelegate>
<launchDelegate
id="org.eclipse.tcf.cdt.launch.remoteCLaunch"
type="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType"
modes="debug"
delegate="org.eclipse.tcf.internal.cdt.launch.TCFCDTLaunchDelegate"
name="%launchDelegate.remoteApplication.name"
delegateDescription="%launchDelegate.remoteApplication.description"
sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
</launchDelegate>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabs">
<!-- Local application launch tabs-->
<tab id="org.eclipse.tcf.cdt.launch.mainTab"
group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
name="%launchTab.main.name"
class="org.eclipse.cdt.launch.ui.CMainTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.argumentsTab"
group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
name="%launchTab.arguments.name"
class="org.eclipse.cdt.launch.ui.CArgumentsTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
<placement after="org.eclipse.cdt.cdi.launch.mainTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.environmentTab"
group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
name="%launchTab.environment.name"
class="org.eclipse.debug.ui.EnvironmentTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
<placement after="org.eclipse.cdt.cdi.launch.argumentsTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.pathMapTab"
group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
name="%launchTab.pathMap.name"
class="org.eclipse.tcf.internal.debug.ui.launch.TCFPathMapTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
<placement after="org.eclipse.debug.ui.environmentTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.sourceLookupTab"
group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
name="%launchTab.sourceLookup.name"
class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
<placement after="org.eclipse.tcf.launch.pathMapTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.commonTab"
group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
name="%launchTab.common.name"
class="org.eclipse.debug.ui.CommonTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.localCLaunch"/>
<placement after="org.eclipse.debug.ui.sourceLookupTab"/>
</tab>
<!-- Attach launch tabs-->
<tab id="org.eclipse.tcf.cdt.launch.attach.pathMapTab"
group="org.eclipse.cdt.launch.attachLaunchTabGroup"
name="%launchTab.pathMap.name"
class="org.eclipse.tcf.internal.debug.ui.launch.TCFPathMapTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.attachCLaunch"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.attach.sourceLookupTab"
group="org.eclipse.cdt.launch.attachLaunchTabGroup"
name="%launchTab.sourceLookup.name"
class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.attachCLaunch"/>
<placement after="org.eclipse.tcf.launch.pathMapTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.attach.commonTab"
group="org.eclipse.cdt.launch.attachLaunchTabGroup"
name="%launchTab.common.name"
class="org.eclipse.debug.ui.CommonTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.attachCLaunch"/>
<placement after="org.eclipse.debug.ui.sourceLookupTab"/>
</tab>
<!-- Remote application launch tabs -->
<tab id="org.eclipse.tcf.cdt.launch.remote.mainTab"
group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
name="%launchTab.main.name"
class="org.eclipse.tcf.internal.cdt.ui.launch.RemoteCMainTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.remote.argumentsTab"
group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
name="%launchTab.arguments.name"
class="org.eclipse.cdt.launch.ui.CArgumentsTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
<placement after="org.eclipse.cdt.cdi.launch.mainTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.remote.environmentTab"
group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
name="%launchTab.environment.name"
class="org.eclipse.debug.ui.EnvironmentTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
<placement after="org.eclipse.cdt.cdi.launch.argumentsTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.remote.pathMapTab"
group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
name="%launchTab.pathMap.name"
class="org.eclipse.tcf.internal.debug.ui.launch.TCFPathMapTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
<placement after="org.eclipse.cdt.cdi.launch.argumentsTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.remote.sourceLookupTab"
group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
name="%launchTab.sourceLookup.name"
class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
<placement after="org.eclipse.tcf.launch.pathMapTab"/>
</tab>
<tab id="org.eclipse.tcf.cdt.launch.remote.commonTab"
group="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
name="%launchTab.common.name"
class="org.eclipse.debug.ui.CommonTab">
<associatedDelegate delegate="org.eclipse.tcf.cdt.launch.remoteCLaunch"/>
<placement after="org.eclipse.debug.ui.sourceLookupTab"/>
</tab>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
class="org.eclipse.cdt.debug.internal.ui.launch.PlaceHolderLaunchConfigurationTabGroup"
id="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchTabGroup"
type="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType">
</launchConfigurationTabGroup>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
icon="icons/obj16/c_app.gif"
configTypeID="org.eclipse.tcf.cdt.launch.remoteApplicationLaunchType"
id="org.eclipse.tcf.cdt.ui.remoteApplicationLaunchType.image">
</launchConfigurationTypeImage>
</extension>
<extension
point="org.eclipse.debug.core.statusHandlers">
<statusHandler
class="org.eclipse.tcf.internal.cdt.ui.launch.ProcessPrompter"
code="100"
id="org.eclipse.tcf.cdt.ui.processPrompter"
plugin="org.eclipse.tcf.cdt.core">
</statusHandler>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.debug.ui.category.run"
defaultHandler="org.eclipse.tcf.internal.cdt.ui.commands.AddFunctionBreakointHandler"
description="%command.addFunctionBreakpoint.desc"
id="org.eclipse.tcf.cdt.ui.add_function_breakpoint"
name="%command.addFunctionBreakpoint.name">
</command>
<command
categoryId="org.eclipse.debug.ui.category.run"
defaultHandler="org.eclipse.tcf.internal.cdt.ui.commands.AddWatchpointHandler"
description="%command.addWatchpoint.desc"
id="org.eclipse.tcf.cdt.ui.add_watchpoint"
name="%command.addWatchpoint.name">
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:org.eclipse.debug.ui.BreakpointView?after=additions">
<command
commandId="org.eclipse.tcf.cdt.ui.add_function_breakpoint"
icon="platform:/plugin/org.eclipse.cdt.debug.ui/icons/obj16/funbrkp_obj.gif"
id="org.eclipse.tcf.cdt.ui.add_function_breakpoint"
label="%item.addFunctionBreakpoint.name"
style="push">
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:#CEditorContext?after=group.debug">
<command
commandId="org.eclipse.tcf.cdt.ui.add_watchpoint"
icon="platform:/plugin/org.eclipse.cdt.debug.ui/icons/elcl16/watchpoint_co.gif"
id="org.eclipse.tcf.cdt.ui.add_watchpoint.editor"
label="%item.addWatchpoint.name"
style="push">
<visibleWhen checkEnabled="false">
<with variable="activeContexts">
<iterate ifEmpty="false" operator="or">
<equals value="org.eclipse.tcf.debug.ui.debugging"/>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.tcf.internal.debug.ui.model.TCFNodeExpression"
id="org.eclipse.tcf.cdt.ui.WatchpointActions">
<action
class="org.eclipse.cdt.debug.internal.ui.actions.AddWatchpointOnVariableActionDelegate"
enablesFor="1"
icon="platform:/plugin/org.eclipse.cdt.debug.ui/icons/elcl16/watchpoint_co.gif"
id="org.eclipse.tcf.cdt.ui.actions.AddWatchpointOnVariable"
label="%action.addWatchpoint.label"
menubarPath="additions"/>
</objectContribution>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
class="org.eclipse.tcf.internal.cdt.ui.sourcelookup.TCFCSourceNotFoundEditor"
default="false"
icon="icons/obj16/c_app.gif"
id="org.eclipse.tcf.cdt.ui.source_not_found_editor"
name="%editor.sourceNotFound.name">
</editor>
</extension>
</plugin>
|