View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] Asserts off/on

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Tue, 11 Jul 2006 18:49:04 +0300

Have I missed something, or is there no easy way of turning asserts
off or on for all objects? It's common that during the development
phase you want all the asserts turned on and, perhaps for performance
reasons, turn them off when finished. I know it could be possible by
overwriting the create method, or whatever, but I was looking for
something... well ... less hacky.

            / http://www.fishpool.com/~setok/