Hi,
While debugging why the workbench forgets
the discovered path and symbols after re-starting the workbench, I noticed that
with each start of the workbench, a new set of instances is added to the
scanner configuration file in the workspace
(workspace/.metadata/.plugins/org.eclipse.cdt.make.core/<project.sc>.
Is this a feature (if yes what for) or a
bug? What are those instance IDs used for?
I’m using a makefile project with
the GNU linux tool chains. The differences are only in the IDs of the input
type.
Example:
Immediately after project creation:
<instance
id="cdt.managedbuild.toolchain.gnu.base.662839027;cdt.managedbuild.toolchain.gnu.base.662839027.838855377;cdt.managedbuild.tool.gnu.cpp.compiler.base.903943439;cdt.managedbuild.tool.gnu.cpp.compiler.input.1031939580">
…</instance>
<instance
id="cdt.managedbuild.toolchain.gnu.base.662839027;cdt.managedbuild.toolchain.gnu.base.662839027.838855377;cdt.managedbuild.tool.gnu.c.compiler.base.1075209202;cdt.managedbuild.tool.gnu.c.compiler.input.1183498546">
…</instance>
Then closing the workbench and starting it
again:
<instance
id="cdt.managedbuild.toolchain.gnu.base.662839027;cdt.managedbuild.toolchain.gnu.base.662839027.838855377;cdt.managedbuild.tool.gnu.cpp.compiler.base.903943439;cdt.managedbuild.tool.gnu.cpp.compiler.input.1031939580">
…</instance>
<instance id="cdt.managedbuild.toolchain.gnu.base.662839027;cdt.managedbuild.toolchain.gnu.base.662839027.838855377;cdt.managedbuild.tool.gnu.c.compiler.base.1075209202;cdt.managedbuild.tool.gnu.c.compiler.input.1183498546">
…</instance>
<instance
id="cdt.managedbuild.toolchain.gnu.base.662839027;cdt.managedbuild.toolchain.gnu.base.662839027.838855377;cdt.managedbuild.tool.gnu.cpp.compiler.base.903943439;cdt.managedbuild.tool.gnu.cpp.compiler.input.208791404">
…</instance>
<instance
id="cdt.managedbuild.toolchain.gnu.base.662839027;cdt.managedbuild.toolchain.gnu.base.662839027.838855377;cdt.managedbuild.tool.gnu.c.compiler.base.1075209202;cdt.managedbuild.tool.gnu.c.compiler.input.844595247">
…</instance>
Greetings, Jens.