guile-devel
[Top][All Lists]
Advanced

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

Re: wrong-type-arg in scm_display_backtrace


From: Neil Jerram
Subject: Re: wrong-type-arg in scm_display_backtrace
Date: 09 Jan 2003 23:42:06 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "William" == William Morgan <address@hidden> writes:

    William> and now I have backtraces. Yes!!! Now, I just have to
    William> figure out how to use vports to steal the backtrace dump
    William> and put it somewhere intelligent...

Great!

    William> Having finally succeeded, I have a couple comments:

    William> 1) The commands above are wicked voodoo that should be
    William> encapsulated in some kind of scm_enable_debugging()
    William> library call. There's no way I, as the application
    William> developer, should be playing with these variables
    William> directly.

Agreed.  There is a Scheme `turn-on-debugging' proc in boot-9.scm, but
this is relatively hard to use from C.

    William> 2) This whole process has been unnecessarily difficult,
    William> considering that I am doing *only* and *exactly* what
    William> anyone who wants to embed Guile in their program must do
    William> (run Guile callbacks, catch errors, display errors
    William> nicely).

Yes, I'm afraid so.  But things are improving, and largely thanks to
positive experimentation and feedback like this.

    William> Issue #2, at least, is mostly a matter of lack of
    William> documentation. I promise to write up a "how to embed
    William> Guile in your C program" document and post it here.

Wonderful - I look forward to it!

        Neil





reply via email to

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