No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] full trace support for XOTcl methods/procs
From: Eckhard Lehmann <eckhardnospam_at_gmx.de>
Date: Mon, 31 Dec 2007 17:14:28 +0100
Hello,
is it planned - or already possible - to have full trace support for XOTcl methods and procs? E.g.:
xotcl::Class A
A instproc doit {args} {
...
}
# later
A trace add execution doit enterstep some_proc
A trace add execution doit leavestep some_other_proc
A trace add command doit rename some_proc
I know there are filters, but I am looking for an easier way to react on execution of particular methods/procs... for a mechanism that works for xotcl objects the same way as [trace] works for pure Tcl.
TIA
Eckhard
Date: Mon, 31 Dec 2007 17:14:28 +0100
Hello,
is it planned - or already possible - to have full trace support for XOTcl methods and procs? E.g.:
xotcl::Class A
A instproc doit {args} {
...
}
# later
A trace add execution doit enterstep some_proc
A trace add execution doit leavestep some_other_proc
A trace add command doit rename some_proc
I know there are filters, but I am looking for an easier way to react on execution of particular methods/procs... for a mechanism that works for xotcl objects the same way as [trace] works for pure Tcl.
TIA
Eckhard
-- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10