This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Error Messages



This is a valid complaint.  Please forward your original message to
bug-guile@prep.ai.mit.edu.  I seem to remember some effort going into
improving guile's error messages, but maybe it was in the context of
loading files...

I don't think that the fix should be very difficult.

-russ


> Is there an easy way to get informative error messages using the
> gh_eval_str functions?
> 
> Using the interpreter one can get messages such as
> 
> guile> (defin x 1)
> ERROR: In expression (defin x 1):
> ERROR: Unbound variable: defin
> ABORT: (misc-error)
> 
> Type "(backtrace)" to get more information.
> guile>
> 
> but with
> 
>   gh_eval_str_with_standard_handler("(defin x 1)");
> 
> one only gets the message
> 
> Just got an error; tag is
>         misc-error
> 
> which is fairly terse from the standpoint of debugging guile code.
> 
> Thanks,
> Westley
> 
> 

--
A lot of what makes Lisp so cool is that it inspires people to do
things for sport.
             --Kent M Pitman on comp.lang.lisp

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]