[slime-devel] Design question

Brian Downing bdowning at lavos.net
Wed Jun 23 06:29:01 UTC 2004


On Wed, Jun 23, 2004 at 08:24:34AM +0200, Helmut Eller wrote:
> Peter Seibel <peter at javamonkey.com> writes:
> > Any thoughts on why that would be a bad way to go?
> 
> I think it is important that the debugger pops up as quickly as
> possible.  Finding the source location makes things a bit slower; but
> I don't know how much.  For some backends we need to read the source
> file to determine source location.  If things go badly, we'd have to
> parse 10 files before we can send the backtrace to Emacs.
> 
> Perhaps your command can send a message like "give me the source
> locations for frames 1 to 20".  This way you avoid the delay for the
> initial backtrace and your command is still reasonably efficient.

(random idea) Or perhaps pop up the debugger, and then start reading
source information from the top frame down on an Emacs timer event.
Some delay time can be added in between frames, and if the user closes
the debugger, it will stop.

-bcd
-- 
*** Brian Downing <bdowning at lavos dot net> 




More information about the slime-devel mailing list