chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] How to increase the trace output?


From: Christian Kellermann
Subject: [Chicken-users] How to increase the trace output?
Date: Fri, 18 Dec 2009 17:20:21 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Dear Chicken fans,

I am debugging some code that fails during macro expansion in csc like this:
Syntax error: illegal atomic form

        #<procedure (write-char c3201 . tmp32003202)>

        Expansion history:

        <syntax>                (let426 ((out424 (#%open-output-string))) 
(let426 ((out425 out424)) (#%display "new Ajax." out425) (#<procedure 
(write-char c3201 . tmp32003202)> #\~ out425) (#%display "a('" out425) 
(#%display update out425) (#%display "', '" out425) (#<procedure (write-char 
c3201 . tmp32003202)> #\~ out425) (#%display "a', { " out425) (#<procedure 
(write-char c3201 . tmp32003202)> #\~ out425) (#%display "a });" out425)) 
(#%get-output-string out424))
        <syntax>                (#%open-output-string)
        <syntax>                (##core#begin (let426 ((out425 out424)) 
(#%display "new Ajax." out425) (#<procedure (write-char c3201 . tmp32003202)> 
#\~ out425) (#%display "a('" out425) (#%display update out42[....]

I'd like to see the trace reaching farther back than this to see
where the entry point has been (a line number would be a nice thing).
Yes, I have tried setting -:a to something bigger than 8 (the
default, as runtime.c tells me). But no effect. Am I using this
right? Can this be done with csc?

Kind regards,

Christian




reply via email to

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