Hello,

Thank you both! As it turned out, this was the issue that was caused
by the update to Gnulib, so the error is currently gone.

However, I realize that in general it would be great to have better
error messages in situations like this. I might be able to re-break my
Guile some time and try to make it give better messages.

Noah

On Mon, Dec 20, 2010 at 5:52 PM, Andy Wingo <[email protected]> wrote:
> Hi Noah,
>
> On Fri 17 Dec 2010 20:33, Noah Lavine <[email protected]> writes:
>
>> ;;; compiling 
>> /Users/noah/Desktop/guile/guile/module/language/objcode/spec.scm
>> guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting
>> ~A): ~S (exact integer (#t #<catch-closure 1037f88a0> #<catch-closure
>> 1037f8880> #<catch-closure 1037f8860>)) ((#t #<catch-closure
>> 1037f88a0> #<catch-closure 1037f8880> #<catch-closure 1037f8860>)))
>>
>> How should I debug such a thing?
>
> Wellllllllll, it should not be so bad -- I mean this is really terrible
> feedback, and no one should see that.
>
> But that said, run it as meta/gdb-uninstalled-guile, break on
> scm_ithrow, and then call scm_backtrace from with the breakpoint
> handler.
>
> Be on the lookout for a general solution, too; this error message is
> terrible.
>
> Andy
> --
> http://wingolog.org/
>

Reply via email to