Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] debug - active build configuration changes during launch

Regarding
https://bugs.eclipse.org/bugs/show_bug.cgi?id=229740

We have a "feature" that launch config remembers first active launch configuration for managed projects and when
it launches (if build when launch enabled) it is setting it to active and then builds.

This is really bad, because
a) It does not restore active build config that was set by user, meaning my active config magically changes for unknown reason (I know why now...)
b) If user changes project in launch config this magical build config does not change, so if you lucky you have same launch config in this another project and
it will build, if not you get an NPE (bug236847 which is fixed on trunk by somebody)
c) If user deletes related config same NPE
d) There is no user setting that allow to change or even view config associated with the launch
e) additionally if project is not managed project or not intent to be re-build when launching there is no way to specify it

I will remove this functionality in 5.0.2 (i.e. setting active config to "launch" related build config when building, it will build user selected active config).
any objections?

For 6.0 we should implement proper fix:
- support from UI
- support when build config is deleted
- support if different project is selected
- support for "none" as build config - that allow not to build project for this launch


Back to the top