Provide more info in case of infinite error nesting.
commitfb51ab6710ea219afb970c86c590b4d81662ed4c
authorAttila Lendvai <attila.lendvai@gmail.com>
Mon, 10 Feb 2014 09:38:45 +0000 (10 15:38 +0600)
committerStas Boukarev <stassats@gmail.com>
Sat, 28 Nov 2015 16:57:00 +0000 (28 19:57 +0300)
treefefe5cb46c16426ce358b91260cc61fc832c8b80
parentb5add12bac8dcb492925fb965b36c6ce27380b5e
Provide more info in case of infinite error nesting.

 * Added an EMERGENCY-BEST-EFFORT keyword argument to PRINT-BACKTRACE.
   The debugger calls PRINT-BACKTRACE with this flag enabled iff
   it gets nested. This way e.g. printer errors from printing
   the backtrace also land in a (nested) debugger, but only when
   coming from the first level of the debugger, otherwise they are
   muffled.

 * Make ERROR-ERROR try to print more info on the way down into
   the abyss and use this new keyword to muffle errors from
   backtrace printing.
src/code/debug.lisp
src/code/error-error.lisp