Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CDT as a Standalone API

It’s interesting. This sort of thing has crossed my mind recently but I haven’t really come up with a good solution. I’ve been doing some pure Java programming lately using Maven projects with m2e and there are so many libraries available in Maven central, it’s so easy to get up and running with pretty advanced systems quickly.

As part of this work, I have some interest in leveraging a part of the CDT as well. But we aren’t structured properly to be able to take chunks out and re-use them like that. And I’m not even sure it’s possible to do in non-OSGi environments.

We’ve had many people ask over the years about reusing the AST externally. I think there would also be value in exposing the MI interface to automate debug tasks. It would be great if we could restructure our code and make these available as jars at Maven Central. But we aren’t there today.


From: Krishna Narasimhan <krishna.nm86@xxxxxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Wednesday, October 29, 2014 at 9:47 AM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] CDT as a Standalone API

Thanks Marc for your response.

Basically I would like to perform write test codes that work on ASTs not obtained from any project from the IDE. Basically Parsed from Strings or other text files. Perform modifications to that AST and be able to use the rewritten AST , all this possibly without a code from the IDE

On Wed, Oct 29, 2014 at 2:42 PM, Marc Khouzam <marc.khouzam@xxxxxxxxxxxx> wrote:

The Standalone Debugger is pretty much a packaging of the CDT Debug functionality.

That CDT debug functionality has a wide API that you can use.

I’m not exactly sure where to point you to first, without knowing what you would like to do…





From:cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Krishna Narasimhan
Sent: Wednesday, October 29, 2014 2:24 AM
To: CDT General developers list.
Subject: [cdt-dev] CDT as a Standalone API



   I was reading that CDT has a Standalone Debugger. Is it possible that this Debugger is available as an API, so I can work with files and source code independent of the IDE?


If so, any starters?



cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

I dare do all that may become a man; Who dares do more, is none - Macbeth, twelfh night!

Back to the top