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 48504 - Add assert() support to project settings
Summary: Add assert() support to project settings
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: UI
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-09-06 05:21 UTC by _ gtzabari
Modified: 2011-08-31 14:05 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 _ gtzabari 2004-09-06 05:21:23 UTC
Currently PROJECT SETTINGS | BUILD | COMPILING
SOURCES | Generate Debugging Info does not include
enabling asserts but there is no indication of
this anywhere. Either indicate this somewhere or
add another checkbox for enabling asserts.
Comment 1 _ gtzabari 2004-09-06 05:23:23 UTC
Uh, silly me. Asserts are always compiled but only enabled/disabled at
runtime. What I meant to say is that we should add assert support for
running options.
Comment 2 David Konecny 2004-09-06 08:39:13 UTC
Type "-ea" to VM Options field in Running Project panel.

*** This issue has been marked as a duplicate of 43194 ***
Comment 3 _ gtzabari 2004-09-06 19:03:21 UTC
David,

I'm reopening this issue because the point was a usability issue, not
the technical ability to add "-ea". The current UI is confusing
because users may assume that "Generate Debugging Info" somehow means
asserts are on. It isn't really clear what is going on. Unless you
have an explicit option for asserts under "Running" users might
confuse the two as I have.
Comment 4 Jesse Glick 2004-09-07 18:26:19 UTC
No plans to touch it.