Neil Jerram <[EMAIL PROTECTED]> writes:

> Working on breakpoints for 1.6.x, I just discovered that the
> following ENTER_APPLY trap code in eval.c goes into a tight busy loop
> if (debug-enable 'trace) and (trap-set! apply-frame-handler non-#f).
>
>   if (CHECK_APPLY && SCM_TRAPS_P)\
>     if (SCM_APPLY_FRAME_P || (SCM_TRACE_P && PROCTRACEP (proc)))\
>
> This is because PROCTRACEP uses scm_procedure_property, which itself
> uses apply if proc is not a closure.

Hmm, I can't find the place where scm_procedure_property calls apply.
Could you give me a hint?  Hopefully, there is some misunderstanding
on your part so that we can avoid making subrs untraceable.  (Which is
what your proposed change does, right?)


_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to