Tcl Library Source Code

Check-in [654d235ff1]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:debug - manpage - Fix small typo.
Timelines: family | ancestors | descendants | both | tcllib-1-16-rc
Files: files | file ages | folders
SHA1: 654d235ff15610cdcc24158fd0a3800eabd80860
User & Date: andreask 2014-02-03 19:09:43
Context
2014-02-04
22:17
Merged latest trunk fixes to RC, updated the associated docs and README. check-in: 9cb9bdee5a user: aku tags: tcllib-1-16-rc
2014-02-03
19:09
debug - manpage - Fix small typo. check-in: 654d235ff1 user: andreask tags: tcllib-1-16-rc
2014-01-31
08:04
Updated embedded release documentation. check-in: 4f04f7e130 user: aku tags: tcllib-1-16-rc
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to modules/debug/debug.man.

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[section API]

[list_begin definitions]

[comment {= = == === ===== ======== ============= =====================}]
[call [cmd debug.[var tag]] [arg message] [opt [arg level]]]

For each known tag the package creates a command with this signatur
the user can then use to provide the debug narrative of the tag.

The narrative [arg message] is provided as a Tcl script whose value is
[cmd subst]ed in the caller's scope if and only if the current level of
interest for the [arg tag] matches or exceeds the call's [arg level]
of detail.  This is useful, as one can place arbitrarily complex
narrative in code without unnecessarily evaluating it.






|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[section API]

[list_begin definitions]

[comment {= = == === ===== ======== ============= =====================}]
[call [cmd debug.[var tag]] [arg message] [opt [arg level]]]

For each known tag the package creates a command with this signature
the user can then use to provide the debug narrative of the tag.

The narrative [arg message] is provided as a Tcl script whose value is
[cmd subst]ed in the caller's scope if and only if the current level of
interest for the [arg tag] matches or exceeds the call's [arg level]
of detail.  This is useful, as one can place arbitrarily complex
narrative in code without unnecessarily evaluating it.