Re: tracing method calls

2010-11-11 Thread Jon Kleiser
Hi Mansur, Yes, the explanation seems to lie at the end of this line ... print(car(x)), space(), print(cdr(x)), space(), print(val(This)); .. in traceIndent(int i, any x, char *s) in src/flow.c. Thanks! /Jon On 11-11-10 04:38 , Mansur Mamkin wrote: Hi Jon! Maybe this will help: look at

Re: tracing method calls

2010-11-11 Thread Alexander Burger
Hi Jon, Yes, the explanation seems to lie at the end of this line ... print(car(x)), space(), print(cdr(x)), space(), print(val(This)); Right, this ('This') is where the object comes from. I wanted to investigate this by replacing the '$' function involved by one of my own, like this:

tracing method calls

2010-11-10 Thread Jon Kleiser
Hi, I'm taking a closer look at the '$' low level trace function. In the ref. I read that if a method is traced, it [the first argument] is a cons pair of message and class. However, when I try this, I also get to see a representation of the object, but I have trouble understanding