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.
(similar to 81074) Hi, When I want to debug a project, NB should automatically compile with debug, something that is causing a lot of frustrations currently, because I have to turn on and off the debugging flag. (see 81074 as well). Iwan
This is actually an enhancement.
The debug information is removed by obfuscator so if you are interested in minimal jar size you can freely turn both on. When debugging the obfuscator is forced off so the debug infomration presists. I do not want to allow any other "smart" settings then turning off obfuscator for debugging. All these features lead to user confused by unpredictable behavior.
What I was asking for, is that NB compiles with debug code when debugging the application. At the moment I have to create a specific configuration with debug information on, which is in 99% of the cases exactly the same as my production configuration that is to be deployed to a phone with the one difference that debug code is generated. So it would be great if I would just have configurations that get debug code generation turned on as soon as I start debugging. This is a very valid use case I think, as it would reduce configuration clutter. I mean device fragmentation is a big issue already, why add to the clutter with compiler flags that are so basic as debug code generation. Iwan