[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

catching errors

I the system I am developing, I have my own top level function
which looks something like this

(defun my-toplevel ()
  (multiple-value-bind (result errorp)
    (when errorp
      (my-report-error result))))

This works all fine except when an error is generated outside
the ...body... (as an example from a fred command that gets
executed while you are in the ...body...).

When that appens, the error doesnt get catched and no error
gets reported which makes debbuging code very hard.

Has anybody experienced the same problem?

Thanks in advance for your answers.

Guillaume Cartier
LACIM, Universite du Quebec a Montreal.