Hi!

I am browsing through the documentation and I spotted that the default
value of qx.debug should be "on". However, when I build my application
with 'generate.py build', it is clearly off.

Even though the documentation talks about variants and how to put them
in config.json, I am not quite sure how I actually set one. I tried
hardcoding 'qx.core.Variant.define("qx.debug", ["on", "off"], "on");'
in my code, but that does not change anything. I only see debugging
output when I comment out the first line of my example code, i.e.
      // Enable logging in debug variant
      //if (qx.core.Variant.isSet("qx.debug", "on"))
      {
        // support native logging capabilities, e.g. Firebug for Firefox
        qx.log.appender.Native;
        // support additional cross-browser console. Press F7 to
toggle visibility
        qx.log.appender.Console;
      }

Is there a better way to solve this?

Thanks,
Joachim

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to