[armedbear-devel] debug assert considered bad for health
Ville Voutilainen
ville.voutilainen at gmail.com
Thu May 6 17:47:30 UTC 2010
> On 6 May 2010 20:18, Alan Ruttenberg <alanruttenberg at gmail.com> wrote:
>> With the above example, you could show _how_ the boolean is computed.
>> That assert would print stuff like
>> "Assertion failed at foobar.java:123: ((5 + 6 + 8) == 18)"
> Yes, but I think what's needed is more like:
> Debug.fail("Expected pathname host of '"+ p + "' to be a
> string, symbol, or cons");
Yes, that would be helpful. We could start with that at least, and pipe-dream
about macros later. :)
More information about the armedbear-devel
mailing list