[Ecls-list] New command line option

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Fri Oct 31 19:02:32 UTC 2008


 - A new command line option, -debug, enables the debugger whenever an error
   happens. The converse is -nodebug.

$ ecl -eval '(cos #\a)'
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.10.0/CMP.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.10.0/sysfun.lsp"
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.10.0/ASDF.fas"
An error occurred during initialization:
In function COS, the value of argument is
        #\a
which is not of expected type NUMBER.
$ ecl -debug -eval '(cos #\a)'
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.10.0/CMP.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.10.0/sysfun.lsp"
;;; Loading #P"/Users/jjgarcia/lib/ecl-8.10.0/ASDF.fas"
In function COS, the value of argument is
        #\a
which is not of expected type NUMBER
Broken at SI:TOP-LEVEL.Available restarts:
1. (USE-VALUE) Supply a new value of type NUMBER.
Top level.
> :b
Backtrace: SI:BYTECODES > si:bytecodes > si:bytecodes > si:bytecodes >
si:bytecodes > si:bytecodes

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28009 (Spain)
http://juanjose.garciaripoll.googlepages.com


More information about the ecl-devel mailing list