summaryrefslogtreecommitdiffstats
path: root/doc/trace.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-25 10:02:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-25 10:02:17 (GMT)
commit74c8f50482825fee98d0fd0fa9632aff703c118a (patch)
tree8f872e846d10c6ca80b043cb447bb1a1cc632d4e /doc/trace.n
parentc77693e5b3d06dd3c1f314ce735ab35c37718a1a (diff)
downloadtcl-74c8f50482825fee98d0fd0fa9632aff703c118a.zip
tcl-74c8f50482825fee98d0fd0fa9632aff703c118a.tar.gz
tcl-74c8f50482825fee98d0fd0fa9632aff703c118a.tar.bz2
GOOBE
Diffstat (limited to 'doc/trace.n')
-rw-r--r--doc/trace.n10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/trace.n b/doc/trace.n
index c8d7914..9fb53c9 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.18 2004/10/27 14:43:54 dkf Exp $
+'\" RCS: @(#) $Id: trace.n,v 1.19 2007/10/25 10:02:17 dkf Exp $
'\"
.so man.macros
.TH trace n "8.4" Tcl "Tcl Built-In Commands"
@@ -92,9 +92,11 @@ just after the actual execution takes place.
\fBenterstep\fR
Invoke \fIcommand\fR for every Tcl command which is executed
inside the procedure \fIname\fR, just before the actual execution
-takes place. For example if we have 'proc foo {} { puts "hello" }',
-then an \fIenterstep\fR trace would be
-invoked just before \fIputs "hello"\fR is executed.
+takes place. For example if we have
+.QW "proc foo {} { puts {hello world} }" ,
+then an \fIenterstep\fR trace would be invoked just before
+.QW "puts {hello world}"
+is executed.
Setting an \fIenterstep\fR trace on a \fIcommand\fR
will not result in an error and is simply ignored.
.TP