I have a "C++ Managed Build" project using MinGW GCC in my CCS Version: 11.2.0.00007. Every time I perform save (Ctrl+Save) after an edit, CCS triggers C/C++ indexer to seemingly rebuild the entire index as it takes several minutes to complete and slows down or even freezes the IDE momentarily. I believe the problem is that the indexer tries to process the huge C++ Boost library included in my project. I have tried adjusting the indexer settings and increasing the IDE's memory but short of disabling it entirely, the problem persists.
Opening the same project using the Eclipse (Version: 2021-03 (4.19) Build id: I20210303-1800) from the CCS installation exhibits the same behavior, but interestingly a standalone Eclipse installation (Version: 2021-03 (4.19.0) Build id: 20210312-0638) does not have this issue. Standalone Eclipse still triggers C/C++ indexer on save but the process only takes a split second. I assume it it only updating the index for the modified file, not rebuilding for the whole project.
Following an old thread of the same issue I tried saving the CCS debug log but I don't get anything on Ctrl+Pause/Break. Also attached is an indexer parse log for reference. Any help will be greatly appreciated.
Start VM: -Dosgi.instance.area.default=@user.home/workspace_v11
-Djxbrowser.ipc.external=true
-Dorg.eclipse.equinox.http.jetty.customizer.class=com.ti.ccstudio.gui.composer.http.jetty.MaqettaJettyCustomizer
-Dccs.minXDCVersion=3.25.5.1
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=10000
-Dsun.net.client.defaultReadTimeout=30000
-Dsun.net.client.defaultConnectTimeout=10000
-Xms256m
-Xmx2048m
-XX:ErrorFile=C:\Users\u322384\AppData\Local\TEXASI~1\CCS\ccs1120\0\dmp\\hs_err_%p.log
-Djava.class.path=C:\ti\ccs1120\ccs\eclipse\\plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\ti\ccs1120\ccs\eclipse\\plugins\com.ti.ccstudio.branding_10.0.0.202203012100\splash.bmp
-launcher C:\ti\ccs1120\ccs\eclipse\ccstudio.exe
-name Ccstudio
--launcher.library C:\ti\ccs1120\ccs\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.100.v20210209-1541\eclipse_11301.dll
-startup C:\ti\ccs1120\ccs\eclipse\\plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar
--launcher.appendVmargs
-product com.ti.ccstudio.branding.product
-debug
-vm C:\ti\ccs1120\ccs\eclipse\jre\bin\client\jvm.dll
-vmargs
-Dosgi.instance.area.default=@user.home/workspace_v11
-Djxbrowser.ipc.external=true
-Dorg.eclipse.equinox.http.jetty.customizer.class=com.ti.ccstudio.gui.composer.http.jetty.MaqettaJettyCustomizer
-Dccs.minXDCVersion=3.25.5.1
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=10000
-Dsun.net.client.defaultReadTimeout=30000
-Dsun.net.client.defaultConnectTimeout=10000
-Xms256m
-Xmx2048m
-XX:ErrorFile=C:\Users\u322384\AppData\Local\TEXASI~1\CCS\ccs1120\0\dmp\\hs_err_%p.log
-Djava.class.path=C:\ti\ccs1120\ccs\eclipse\\plugins/org.eclipse.equinox.launcher_1.6.100.v20201223-0822.jar
Install location:
file:/c:/ti/ccs1120/ccs/eclipse/
Configuration file:
file:/c:/ti/ccs1120/ccs/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/ti/ccs1120/ccs/eclipse/configuration/
Framework located:
file:/c:/ti/ccs1120/ccs/eclipse/plugins/org.eclipse.osgi_3.16.200.v20210226-1447.jar
Loading extension: reference:file:org.eclipse.osgi.compatibility.state_1.2.300.v20210212-1137.jar
eclipse.properties not found
Framework classpath:
file:/c:/ti/ccs1120/ccs/eclipse/plugins/org.eclipse.osgi_3.16.200.v20210226-1447.jar
file:/c:/ti/ccs1120/ccs/eclipse/plugins/
file:/c:/ti/ccs1120/ccs/eclipse/plugins/org.eclipse.osgi.compatibility.state_1.2.300.v20210212-1137.jar
Splash location:
C:\ti\ccs1120\ccs\eclipse\\plugins\com.ti.ccstudio.branding_10.0.0.202203012100\splash.bmp
Debug options:
file:/C:/ti/ccs1120/ccs/eclipse/.options not found
Time to load bundles: 162
Starting application: 37068
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
com.ti.rov: baseDir = C:/ti/ccs1120/ccs/eclipse/plugins/com.ti.rov_1.0.0.202108240702/webcontents/, url = file:/C:/ti/ccs1120/ccs/eclipse/plugins/com.ti.rov_1.0.0.202108240702/webcontents/
com.ti.rov: globalRoots = []
Chromium userdata location: C:/Users/u322384/workspace_v11/112_workspace/.jxbrowser.userdata
Application started in : 78760ms
CCS HTTP adapter started! [ccs.port:49326] - Open 'http://localhost:49326/ide' in web browser to see listing of available APIs...

