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.

Bug 81076 - When debugging a project, automatically compile with debug
Summary: When debugging a project, automatically compile with debug
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 14:18 UTC by ieising
Modified: 2009-10-01 13:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2006-07-25 14:18:16 UTC
(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
Comment 1 ieising 2006-07-25 14:18:37 UTC
This is actually an enhancement.
Comment 2 Adam Sotona 2007-05-21 15:33:32 UTC
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. 
Comment 3 ieising 2007-07-01 19:36:53 UTC
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