Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] cdt.debug.core.sourcelookup: How do I use it, from other components, like the OutputScanner

Hi Morty,

One example of a way to do it is how the Binary file readers work. The entry point is to get the ISourceFinder adapter. Have a look at the ISourceFinder javadoc for a starting point.

Keep in mind that CProjectSourceContainer is in the debug plug-ins, and is used by source finder. ISourceFinder is in CDT core, but its implementation is in Debug.

Is this answering your question?


Jonah Graham
Kichwa Coders

On Mon, 8 Feb 2021 at 05:59, Moritz Strübe <moritz.struebe@xxxxxxxxxx> wrote:

I got the WSL2-Stuff working. \o/ However I need to do some path mapping
between the Docker container and the local system to get the
OutputScanner working. I'd like to use the sourcelookup-Stuff, as this
seems like the cleanest way to go*. I tried to dig into the code, but
I'm having trouble getting the best entry point:
Should I create a new CProjectSourceContainer? What do I have to
consider doing so? Is there a better Interface?



Schillerstraße 14 | 90409 Nürnberg

Telefon: +49 (0)911 180778-50
E-Mail: moritz.struebe@xxxxxxxxxx | Web:

Geschäftsführer: Andreas Hanke, Thomas Haug
Handelsregister: HR B 35517, Nürnberg/Bayern

cdt-dev mailing list
To unsubscribe from this list, visit

Back to the top