in last 10 minutes
Re: [Xotcl] full trace support for XOTcl methods/procs
- This message: [ Message body ] [ More options (top, bottom) ]
- Related messages: [ Next message ] [ Previous message ] [ In reply to ] [ Next in thread ] [ Replies ]
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
Date: Thu, 3 Jan 2008 00:20:34 +0200
On 2 Jan 2008, at 23:46, Eckhard Lehmann wrote:
> Kristoffer Lawson schrieb:
>> You could just wrap it in a package that sets a Tcl [trace] for
>> normal commands combined with filters for the XOTcl stuff, just
>> checking to see if the command names match, if necessary. Or maybe
>> I've missed something here and I'm thinking to simple :-)
> The problem is that I need something that is like enterstep/
> leavestep for [trace], but for XOTcl. Filters do only intercept
> calls to XOTcl objects but not to Tcl proc's.
I understand that requirement. That is why I am suggesting you use a
combination of XOTcl filters and [trace]. It might be that even
[trace] is enough, if it catches all Tcl command calls (I haven't
looked at it). If not, have XOTcl filters for the XOTcl stuff and
[trace] for the rest?
/ http://www.scred.com/
/ http://www.fishpool.com/~setok/
Received on Wed Jan 02 2008 - 23:20:09 CET
This archive was generated by hypermail 2.2.0 : Thu Nov 06 2008 - 11:10:48 CET