[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Debuggery
From: |
felix |
Subject: |
Re: [Chicken-users] Debuggery |
Date: |
Wed, 17 Mar 2004 21:44:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
address@hidden wrote:
Hello!
I've been meaning to say a bit about this for a while but didn't
remember until you posted debug.scm.
<snip a lot of good stuff>
FWIW, I second "Category5" on every point. Debugging and better error messages
are really the most important things to focus on; profiling would be nice too,
but debugging is much more essential. debug.scm should go in the standard
distribution, no doubt about that.
Ok, we'll see. I'd rather test it a little more, though. The extra debugging
info
adds considerable overhead (I just made it at least execute loops in constant
space, but tail-calls are not really tail-calls), so this has to be optional.
But if it works well enough, we can add it to the base distribution.
I should add here that Peter Keller repeatedly tried to convince me of
writing a real debugger for Chicken that can handle compiled code as well.
Unfortunately, I can't currently figure out how to implement this (efficiently
and portably).
[Peter, if you are reading this: I haven't forgotten about it, but the
changes needed for such a thing are substantial, and the complete change
of the ABI is something that I'm _very_ reluctant to do. ;-) ]
cheers,
felix