[Ecls-list] More verbose condition reporting

Matthew Mondor mm_lists at pulsar-zone.net
Wed Jan 19 21:05:44 UTC 2011


Hello,

What do you think of the following diff?

It also displays the CL type of the condition (using TYPE-OF), rather
than only its user ":report method" representation.

Without this, while developing new code it's quite hard to know what
condition type to handle when only the user-printable representation is
shown.  Some time is then wasted to reproduce the condition while using
a custom catch-all error reporter to determine what is really signaled,
or to check third party sources.  SBCL also shows the condition type
for convenience.

Because the user report method representation may be complex and
multiline, the condition type is printed separately, followed by a new
line, then the user-printable one (the one that used to be shown).

Thanks,
-- 
Matt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ecl-condrep-diff.txt
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110119/bff8cadf/attachment.txt>


More information about the ecl-devel mailing list