I am trying to isolate the cause of an error. The interpreter give "bad argument type" and a call history of 16 identical lines: <eval> [procedure name] (sexpr)
. However, this procedure is call from many different places in the program. Is there a way to find out which one of these locations is the source of the problem without going thru the time consuming process of putting print
calls in front of each and every possible candidate?
Asked
Active
Viewed 469 times
0

xuinkrbin.
- 975
- 2
- 7
- 17
-
Not sure there are many Chicken users here. Did you try on their mailing list? it's quite active. – uselpa Jul 06 '13 at 07:12
-
I might try that route, thanks. – xuinkrbin. Jul 06 '13 at 18:36
1 Answers
1
you can use the debug egg and change your procedure to first call trace. Otherwise you could try and compile it with
csc --debug 2 <foo.scm>

ramrunner
- 1,362
- 10
- 20
-
-
none that i know of, but calling debug/trace is essentially the same. – ramrunner Jul 06 '13 at 18:39
-