This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - create Welcome sample - call Project Properties -> Manage Configurations... - duplicate Debug configuration and name it Test - set Test as active configuration - change Development Mode for C++ in Test configuration from Debug to Release (-g to -O2) - clean and build the project Result: The build log shows compiler option -g for Test configuration. - change Development Mode for C++ in Debug configuration from Debug to Release - clean and build the project Result: The build log shows compiler option -O2 for Test configuration.
IMO it's a candidate for patch1
Workaround: To 'split' configurations IDE should be restarted.
Is it a regression? Duplicating configurations is not a common operation so I doubt it is a patch candidate.
It's not a regression but it has become highly visible after fixing issue #167058 I think that both issues should be fixed in patch. User should be able to create new configurations using already created ones just adding or changing only some options. But without fixing this bug it's very inconvenient.
OK, I will see how complicated it is to fix.
*** This issue has been marked as a duplicate of 136535 ***