Bug 61 - Make debug variables load from system properties
Summary: Make debug variables load from system properties
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2004-02-02 04:11 CET by Sven Gothel
Modified: 2015-09-27 03:14 CEST (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:46:13 CET

---- Reported by mithrandir 2004-02-02 16:11:26 ----

Currently the DEBUG variables are statically assigned in the top of each class.
When trying to debug odd scenarios and why they are not working, it would be
very handy to enable the debugging without needing to recompile the codebase.
These can be fetched and assigned in static initialiser blocks allowing for more
flexible code usage.

---- Additional Comments From kbr 2005-02-03 15:26:29 ----

References to static final DEBUG flags have been made settable via system
properties. "jogl.verbose" enables certain printing statements. "jogl.debug"
enables all debugging printing. "jogl.debug.GLContext" enables the debug
printing inside the GLContext class. The system property names are chosen by
convention and are not enforced.

--- Bug imported by sgothel@jausoft.com 2010-03-24 07:46 EDT  ---

This bug was previously known as _bug_ 61 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=61