guile-devel
[Top][All Lists]
Advanced

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

Re: Let's Talk About Backtraces and Stacks


From: Andy Wingo
Subject: Re: Let's Talk About Backtraces and Stacks
Date: Thu, 17 Jan 2013 16:34:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi :)

On Wed 25 Apr 2012 16:49, Noah Lavine <address@hidden> writes:

> It seems to me that it's best for the ribcage to be part of the Scheme
> stack.

I'm pretty hesitant to do this; it penalizes procedure calls.

What first writing a prototype that uses the VM trap interface?  You can
use `trap-calls-in-dynamic-extent'.  The apply-handler will be called
for both tail and non-tail applications.  See `(system vm trace)' for a
use example.  Then you can figure out how to wire its information into
the backtrace at the REPL.

Cheers,

Andy
-- 
http://wingolog.org/



reply via email to

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