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


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to