Re: [cdt-dev] Help with updating plug-in for Eclipse from the Eclipse Mars to the Eclipse Neon.2
Thank you very much!
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Jonah Graham
Sent: Wednesday, February 22, 2017 12:17 AM
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Help with updating plug-in for Eclipse from the Eclipse Mars to the Eclipse Neon.2
(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  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.
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 —
> TulvP_pTQUwA7rLxKcFDN0&e= and this is the link to the inheritor of
> the CDebuggerTab —
> Thank you,
> cdt-dev mailing list
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_cdt-2Ddev&d=DwIGaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=Evd3RDP3ozGDc0l3Ni8qnA1zQe2BgvvQDPKNNUZqR2g&m=8iiigDh4_2r6P-mIlu36pFT2WKFbjWNTQ8ZPxSSmBdg&s=Oj-ahC2iRXuowKEaQ8NkYnqqXUxb8AHpybw_PZmFV-s&e=