File: debug_caller.man

package info (click to toggle)
tcllib 1.16-dfsg-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 50,040 kB
  • ctags: 18,603
  • sloc: tcl: 156,708; ansic: 14,098; sh: 10,783; xml: 1,766; yacc: 1,114; pascal: 551; makefile: 89; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (35 lines) | stat: -rw-r--r-- 1,017 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin debug::caller n 1]
[keywords debug]
[keywords log]
[keywords narrative]
[keywords trace]
[copyright {2012, Andreas Kupries <andreas_kupries@users.sourceforge.net>}]
[moddesc {debug narrative}]
[titledesc {debug narrative - caller}]
[category  {debugging, tracing, and logging}]
[require Tcl 8.5]
[require debug::caller [opt 1]]
[description]
[para]

[section API]

[list_begin definitions]
[call [cmd debug] [method caller]]

This method is at its core a simple [example {[info level -1]}],
making it useful in a tag-specific prefix to automatically
provide caller information for all uses of the tag. Or in a
message, when only specific places need such detail.

[para] Beyond that it contains code recognizing the various
internal forms of method calls generated by the [package snit]
OO system and rewrites these to their original form, for
better readability.

[list_end]

[vset CATEGORY debug]
[include ../doctools2base/include/feedback.inc]
[manpage_end]