chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] More on aliasing.


From: felix
Subject: Re: [Chicken-users] More on aliasing.
Date: Tue, 9 Jul 2002 09:21:14 +0200

Peter Keller wrote:
> > This would be useful for reading the Chicken compiler's code for the
same
> > reasons.
>
> Yeah, that would be really useful..... as it stands, if I do:
>
> (define scheme_func
> (foreign-lambda int "c_func" int))
>
> I can't set a breakpoint on scheme-func in a nice way. I have to deduce
> what f<number> function name it got mapped to and then hope I get
> it right.
>
> Debugging at the ffi layer in chicken is a bit off-beat.

Absolutely. It's a pain, even if you know the code-generation scheme
by heart. One could add special calls to `C_trace()' for FFI-procedure
invocations. Would that help? Any ideas are welcome.


cheers,
felix





reply via email to

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