Porting the old CDT debug module to Eclipse NEON

Hy I would like to port the old Eclipse plugin to work with the current version of Eclipse NEON 2. You can find it here: https://github.com/pmlopes/minpsp-eclipse-plugin

My problem is using an extension point: org.eclipse.cdt.mi.core.factories.CommandFactoryDescriptor and more from org.eclipse.cdt.mi. *

As I understand it, this is used to create a gdb mi command interpreter.

Is there a new alternative to this?

+3


source to share


1 answer


CDI - the CDT Debugger Interface - was removed in CDT 9.0 because it was no longer supported for many years (i.e. no code, it had many problems and presented usability issues.)

Of course, CDT has a debugger interface, it is called DSF - Debugger Framework. It has been actively developing for over ten years. This has been the standard debugger interface in CDT for many years.

I took a quick look at your code. Luckily AFAICT you are only configuring the GDB settings which are relatively easy to port to DSF, many of the settings are the same.

The first question you ask is, are you actually using Legacy CDI or are you always using DSF? If you are actually using DSF, read API Modifications for CDT 9.0. I recently updated them to help other people port similar code to yours.



Please ask any further questions as new SO questions and I'll do my best to answer.


CommandFactoryDescriptor is a CDI concept, it does not apply to DSF where wiring is done differently.

+2


source







All Articles