[plt-scheme] Debugger: How much work to implement?

From: Eric Kidd (eric.kidd at gmail.com)
Date: Tue Oct 12 07:24:24 EDT 2004

On Thu, 7 Oct 2004 18:10:31 +0200, ifconfig nslookup
<configurator at gmail.com> wrote:
> On Wed, 6 Oct 2004 13:23:57 -0400, John Clements
> <clements at brinckerhoff.org> wrote:
> > Let me clarify: the problem is not that performance would suffer while
> > single-stepping: as you point out, performance doesn't matter at that
> > point.  The problem is that the performance of the target program would
> > suffer (probably seriously) even when not in single-stepping mode.
> A simple (maybe not programmatically simple, but logically simple)
> solution exists for that problem: Create two Execute buttons, one with
> single-stepping enabled and one that can't single-step but runs much
> faster.

Yeah, we're perfectly happy to have single-stepping only work in a
low-performance mode.  Most of our running time is in optimized C++
code, so a factor-of-10 hit to PLT performance could be bearable.  Our
users are having significant problems debugging their scripts, though,
and even an imperfect stepper could be an enormous win.

(The problem comes up most often when people with minimal Scheme
skills have to debug code written by people with medium-level Scheme
skills who aren't available.)

Thanks to everybody for your input on this!


Posted on the users mailing list.