guile-devel
[Top][All Lists]
Advanced

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

Re: Debugging plans


From: Rob Browning
Subject: Re: Debugging plans
Date: 06 Jul 2001 16:20:10 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Neil Jerram <address@hidden> writes:

> To link such procedures with the evaluator traps mechanism, I
> propose to change the current apply-, enter- and exit-frame-handlers
> to hooks (defined in C and visible from Scheme) to which users can
> add such procedures using add-hook!.  (Hmm... not sure exactly what
> the parameter list should be for these hooks; currently the handlers
> are given more than just a debug object - do they need the other
> parameters?)

Just make sure we preserve the ability to fire a "hook" on every
function call.  I'm using that right now, along with setitimer and
times to write a first pass at a statistical profiler.  For now
there'll be no call graph or other fancy bits, but so far it's going
pretty well.

Thanks

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

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