[plt-scheme] Recent changes to DrScheme (and related) in SVN

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Sep 7 08:29:32 EDT 2006

At Thu, 7 Sep 2006 01:55:11 -0700 (PDT), Noel Welsh wrote:
> --- Robby Findler <robby at cs.uchicago.edu> wrote:
> >
> >   . in the non-debug languages, drscheme now trims its
> > own
> >     stack frames from the top of the stack before showing
> >     them in the REPL.
> I've just changed SchemeUnit to print stack frames form
> exceptions, so I see lots of frames from SchemeUnit.   I'd
> like to implement the same trick.  Did you use some
> continuation mark magic to determine which stack frames are
> DrScheme's, or is it a regexp job?

I use with-continuation-mark to put marks on the stack that I can
always identify (by greating a procedure with a gensym'd name and using
some tricks to make sure that mzscheme's optimizer doesn't optimize the
call away). Then, I just look for that name of the stack and trim above

But watch out -- this is fragile so I'm not sure it is a good idea in


Posted on the users mailing list.