Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Help with updating plug-in for Eclipse from the Eclipse Mars to the Eclipse Neon.2

Hi Evgeniya,

(thanks for bringing this on to the cdt-dev list)

Once you pointed me at all the source code it became much more clear
what was needed. When you transitioned from CDI to DSF you were able
to continue to use the CDI debugger tab for the DSF launch. The simple
solution is to extend the non-API*
org.eclipse.cdt.dsf.gdb.internal.ui.launching.CDebuggerTab instead.
Despite the name being the same, you can't simply change the extends
line. I have created a PR for you [1] that shows the changes. I also
made a couple of other updates which you may or may not want.

* I don't know for sure why this isn't API, but it is regularly
accessed outside of API. My guess is the original design intended
everyone to create their own type of launch delegate and re-use the
UI, but in practice what you have done of having your own launch type
is quite common and more accessible to users. If anyone else on the
list knows more there may be a better answer.


Jonah Graham
Kichwa Coders Ltd.

On 21 February 2017 at 17:07, Катунина Евгения
<evgeniya-katunina@xxxxxxxxx> wrote:
> Hi all,
> I faced the issue connected with the CDI to DSF transition when I was trying
> to upgrade my plug-in to the Eclipse Neon.2. Previous developer of this
> plug-in replaced the usage of the CDI debugger with the DSF one but one of
> the classes which is currently used extends the CDebuggerTab class removed
> in the CDT 9.0. Now I have difficulties with changing this code accordingly
> to the new API. Could you please explain what can I do with this issue? This
> is the link to the repository with the plug-in —
> and
> this is the link to the inheritor of the CDebuggerTab —
> .
> Thank you,
> Evgeniya
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit

Back to the top