10.1 Debugging errors in the delivery image
In general, it is worth avoiding debugging an image that has been delivered at a high delivery level if possible. If you discover a bug:
First check if the same error occurs in the original (undelivered) development image. If it does, debug the problem in this image.
If the error is not reproducible in the development image, check if it is reproducible in an image delivered at a lower delivery level (try 0, then 1 etc). If it is, read the error message and backtrace carefully. In most cases, this is enough to debug the problem.
Consider the possibility that you are trying to use functionality that was removed by delivery. You may need to keep the functionality explicitly, by using one of the
keywords described in Retaining or removing functionality.
If the problem occurs only in the delivered image and not in the original image, and it is still not clear what the problem is, please contact Lisp Support immediately. Send us your deliver script, all the output of the delivery process and the runtime output of the application itself. This situation is regarded by Lisp Support as a bug that should be fixed.
LispWorks Delivery User Guide - 14 Mar 2008