Subject: Re: Debugging Questions
From: Erik Naggum <erik@naggum.net>
Date: Wed, 12 Dec 2001 10:41:12 GMT
Newsgroups: comp.lang.lisp
Message-ID: <3217142471287612@naggum.net>

* "Chris Perkins" <cperkins@medialab.com>
| I'll probably solve this problem in the short term by littering my code
| with pprint and format statements, but I really hate to do this.

  Have you considered using a macro around such debug output forms to
  control the "debugging level" at which they emit output and to turn it
  off entirely when you think you no longer need it, without removing the
  debugging forms from the code?  My prediction is that you really want to
  keep those debugging forms in there when you deploy, because you may find
  another bug and the ability to dump loads of debugging information by
  tweaking a variable in a running image may be very valuable.

///
-- 
  The past is not more important than the future, despite what your culture
  has taught you.  Your future observations, conclusions, and beliefs are
  more important to you than those in your past ever will be.  The world is
  changing so fast the balance between the past and the future has shifted.