guile-devel
[Top][All Lists]
Advanced

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

Re: How Do I Debug a Boot Error?


From: Andy Wingo
Subject: Re: How Do I Debug a Boot Error?
Date: Mon, 20 Dec 2010 23:52:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi Noah,

On Fri 17 Dec 2010 20:33, Noah Lavine <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]