Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Fine-grained debug configs

#116

Add ability to enable/disable various debugging aspects.

To begin with, we'll allow that for tracing calls on WebgL.

For example:

/* Set all debug settings in one shot:
*/
SceneJS.setDebugConfigs({
    webgl: {
        trace: true
    }
});


/* Set a particular debug setting:
*/
SceneJS.setDebugConfigs("webgl.trace", true);


/* Get all config settings:
*/
var cfg = SceneJS.getDebugConfigs();
alert("WebGL trace enabled: " + cfg.webgl && cfg.webgl.trace);


/* Get the WebGL settings:
*/
cfg = SceneJS.getDebugConfigs("webgl");
alert("WebGL trace enabled: " + cfg && cfg.trace);


/* Get the WebGL trace setting:
*/
var trace = SceneJS.getDebugConfigs("webgl.trace");
alert("WebGL trace enabled: " + (trace == true)); // Might be undefined

Also support: traversal logging using info text on Nodes.

Reported by lindsay.kay (at xeolabs) · June 22nd, 2010 @ 07:45 AM

State: resolved
Milestone: V0.7.6

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.