On 08/30/2011 12:07 AM, Marcel Ruff wrote:
Am 29.08.2011 22:21, schrieb Marcel Ruff:

Next problem, loading stops with
Fehler: uncaught exception: The property 'left' is not supported by the VBox layout!: Called assert with 'false' as I have thousands of lines of code it is very hard to find all these places (there is no hint which .js file caused it).

This is hard to believe. With all the majore browser consoles (e.g Firebug, Chrome DT) you get a proper stack trace with this exception. If you look into that trace from the top (the console usually displays the top-most stack frame also at the top of the stack trace), the entry just beneath the Assert.js entries is calling the assert() method. Further down you should find your custom class making the offending call (as trying to set VBox#left). And all entries have hyperlinks to their right, giving the file and line number, and you just have to click on it to be transfered to the corresponding source line view.

How can I switch off the asserts?
Probably with qx.debug:false

True, the assert() calls in the framework are guarded by qx.debug. But I wouldn't recommend turning it off for the source version, or you will be missing out on a lot of helpful warnings. These things should be fixed, not silenced.


But I have now fixed all places.
(It would be helpful to add the item name (class name) to the assert output)

See my comment above concerning the stack trace.

T.

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to