Hi Julian,
We have implemented this behaviour intentionally. By default, CDT always uses the Debug configuration for indexing, regardless of the currently active configuration, which results in unexpected behaviour. Allowing the user to manually select which configuration should be used for indexing also did not seem like a desirable feature to us. So, CCS automatically adjusts this setting to always ensure that the currently active build-configuration is also the one that is used for indexing.
Could you provide more details on your use-case?
Thanks,
- Baltasar