diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-25 14:07:32 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-25 14:07:32 (GMT) |
commit | 7b06bea8377025d0d73731d4332f1140468cf591 (patch) | |
tree | 0e660cbc492cc517cdb96ccda600880206d36ea7 /doc/trace.n | |
parent | ed0c8a767f3b6a927a1e1d12964173a66341caee (diff) | |
download | tcl-7b06bea8377025d0d73731d4332f1140468cf591.zip tcl-7b06bea8377025d0d73731d4332f1140468cf591.tar.gz tcl-7b06bea8377025d0d73731d4332f1140468cf591.tar.bz2 |
More GOOBE quoting
Diffstat (limited to 'doc/trace.n')
-rw-r--r-- | doc/trace.n | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/trace.n b/doc/trace.n index 9fb53c9..7ab4f07 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.19 2007/10/25 10:02:17 dkf Exp $ +'\" RCS: @(#) $Id: trace.n,v 1.20 2007/10/25 14:07:32 dkf Exp $ '\" .so man.macros .TH trace n "8.4" Tcl "Tcl Built-In Commands" @@ -21,7 +21,7 @@ trace \- Monitor variable accesses, command usages and command executions .SH DESCRIPTION .PP This command causes Tcl commands to be executed whenever certain operations are -invoked. The legal \fIoption\fR's (which may be abbreviated) are: +invoked. The legal \fIoption\fRs (which may be abbreviated) are: .TP \fBtrace add \fItype name ops ?args?\fR Where \fItype\fR is \fBcommand\fR, \fBexecution\fR, or \fBvariable\fR. @@ -40,7 +40,8 @@ one or more of the following items: \fBrename\fR Invoke \fIcommand\fR whenever the command is renamed. Note that renaming to the empty string is considered deletion, and will not -be traced with '\fBrename\fR'. +be traced with +.QW rename . .TP \fBdelete\fR Invoke \fIcommand\fR when the command is deleted. Commands can be @@ -57,7 +58,9 @@ command is as follows: .CE \fIOldName\fR and \fInewName\fR give the traced command's current (old) name, and the name to which it is being renamed (the empty -string if this is a 'delete' operation). +string if this is a +.QW delete +operation). \fIOp\fR indicates what operation is being performed on the command, and is one of \fBrename\fR or \fBdelete\fR as defined above. The trace operation cannot be used to stop a command @@ -123,7 +126,8 @@ all arguments in their fully expanded form. command execution, and is one of \fBenter\fR or \fBenterstep\fR as defined above. The trace operation can be used to stop the command from executing, by deleting the command in question. Of -course when the command is subsequently executed, an 'invalid command' +course when the command is subsequently executed, an +.QW "invalid command" error will occur. .PP For \fBleave\fR and \fBleavestep\fR operations: |