[Top][All Lists]

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

Re: Stack traces

From: Andy Wingo
Subject: Re: Stack traces
Date: Fri, 19 May 2017 11:17:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

On Thu 18 May 2017 15:38, Christopher Allan Webber <address@hidden> writes:

> I frequently find that ,locals does not display much information... it
> seems to be a toss-up whether the variables I need will be contained
> in it, so I've reduced the amount I use the actual debugger system in
> Guile a lot.  A shame, because it seems really nice.

This is related to the "basic register allocation" task from

> But then I ran ,optimize, and that made it obvious what's happening:

Ah, yes you might also have to disable partial evaluation.  Note that
,optimize basically runs only partial evaluation and not the other
phases of the compiler.

> scheme@(guile-user)> ,optimize-less
> scheme@(guile-user)> ,optimize-more

Not a bad idea :)  Probably should use the same mechanism as "guild
compile"'s -O0, -O1, -O2 etc logic.


reply via email to

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