diff options
author | kennykb <kennykb@noemail.net> | 2003-02-03 20:16:51 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2003-02-03 20:16:51 (GMT) |
commit | a1594521befe3518f3fec788ad3d52ae7de2ac7b (patch) | |
tree | 7f4146e4f6fd25e776781cf6c10b506a924eb593 /doc/trace.n | |
parent | 30e74ce43f60ac15fee648ae8ecbabe8c35c41f6 (diff) | |
download | tcl-a1594521befe3518f3fec788ad3d52ae7de2ac7b.zip tcl-a1594521befe3518f3fec788ad3d52ae7de2ac7b.tar.gz tcl-a1594521befe3518f3fec788ad3d52ae7de2ac7b.tar.bz2 |
* generic/tclBasic.c: Changed [trace add command] so that 'rename'
callbacks get fully qualified names of the command. [Bug
651271]. ***POTENTIAL INCOMPATIBILITY***
* tests/trace.test: Modified the test cases for [trace add
command] to expect fully qualified names on the 'rename'
callbacks. Added a case for renaming a proc within a namespace.
* doc/trace.n: Added language about use of fully qualified names
in trace callbacks.
FossilOrigin-Name: 382a9b8449c4d1fdb7a5bf0d41266c4b7904cda4
Diffstat (limited to 'doc/trace.n')
-rw-r--r-- | doc/trace.n | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/trace.n b/doc/trace.n index 0e2654b..892237e 100644 --- a/doc/trace.n +++ b/doc/trace.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: trace.n,v 1.11 2002/07/16 22:27:35 dgp Exp $ +'\" RCS: @(#) $Id: trace.n,v 1.12 2003/02/03 20:16:52 kennykb Exp $ '\" .so man.macros .TH trace n "8.4" Tcl "Tcl Built-In Commands" @@ -66,6 +66,8 @@ is complete. Recursive renaming or deleting will not cause further traces of the same type to be evaluated, so a delete trace which itself deletes the command, or a rename trace which itself renames the command will not cause further trace evaluations to occur. +Both \fIoldName\fR and \fInewName\fR are fully qualified with any namespace(s) +in which they appear. .RE .TP \fBtrace add execution\fR \fIname ops command\fR |