xotcl.wu-wien.ac.at
Begin main content
Search · Index
No registered users in community xotcl-mailing-list
in last 10 minutes

Re: [Xotcl] full trace support for XOTcl methods/procs

From: Eckhard Lehmann <eckhardnospam_at_gmx.de>
Date: Wed, 02 Jan 2008 20:26:32 +0100

Kristoffer Lawson schrieb:
>>
>> I see that there is no need for another interception technique, but
>> it would be really helpful to have the current filter techiques also
>> applied to ordinary Tcl code inside methods.
>
> Why not just use the Tcl [trace] command for the normal Tcl commands?
How would you do that, together with filters? enterstep/leavestep work
only in Tcl proc's, while filters work only on objects. How could this
be mixed - as methods are composed of calls to objects (e.g. [my],
[self]) as well as ordinary Tcl code?
As long as it is separated, fine. But for Tcl statements in object
methods it seems more difficult to me.

Eckhard
Received on Wed Jan 02 2008 - 20:26:09 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 06 2008 - 11:10:48 CET