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.
Summary: | Ability to disable error dialog for dev builds | ||
---|---|---|---|
Product: | ide | Reporter: | _ gtzabari <gtzabari> |
Component: | Code | Assignee: | issues@ide <issues> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ gtzabari
2008-01-08 16:20:16 UTC
This can be achieved by disabling the assertions (delete -Jea from "netbeans_default_options" in etc/netbeans.conf). AFAIK, it can be also achieved by setting the log level correctly, but I do not know the exact command. Are you sure all Netbeans-related exceptions are assertions? Does the error dialog ever pop up otherwise? > Are you sure all Netbeans-related exceptions are assertions? Does the error dialog ever pop up otherwise?
gtzabari, if you tried it as I did just now, you would know that jlahoda gave you a solution to your problem. ^_^
If you go to the "<netbeans_dir>/etc/netbeans.conf" and if you delete the "-J-ea" parameter from the
"netbeans_default_options" property, development version of NB IDE throws exceptions exactly the same way as the release
version (quiet exceptions, just icon in the status bar, I just tried it with a random IllegalArgumentException).
I will close this issue as INVALID, but feel free to reopen it if you find it appropriate (for example if you think it
should be possible to edit this setting directly from the IDE somehow, which I think would be nonsense, as the setting
would be useful just for users working with a development version).
|