dump - Dump information about Tcl interpreter in TkCon
Contents
Copyright
Copyright (c) Jeffrey Hobbs <jeff at hobbs.org>
TkCon 2.5 dump(3tk)
Description
The dump command provides a way for the user to spit out state information about the interpreter in a Tcl
readable (and human readable) form. It takes the general form:
dumpmethod ?-nocomplain? ?-filterpattern? ?--? pattern ?pattern...?
The patterns represent glob-style patterns (as in stringmatchpattern$str). -nocomplain will prevent
dump from throwing an error if no items matched the pattern. -filter is interpreted as appropriate for
the method. The various methods are:
dumpcommandargs
Outputs one or more commands.
dumpprocedureargs
Outputs one or more procs in sourceable form.
dumpvariableargs
Outputs the values of variables in sourceable form. Recognizes nested arrays. The -filter
pattern is used as to filter array element names and is interepreted as a glob pattern (defaults
to {*}). It is passed down for nested arrays.
dumpwidgetargs
Outputs one or more widgets by giving their configuration options. The -filter pattern is used as
to filter the config options and is interpreted as a case insensitive regexp pattern (defaults to
{.*}).
Keywords
Tk, console, dump
Name
dump - Dump information about Tcl interpreter in TkCon
See Also
idebug(3tk), observe(3tk), tkcon(1), tkcon(3tk), tkconrc(5)
Synopsis
dumpmethod ?-nocomplain? ?-filterpattern? ?--? pattern ?pattern...? ________________________________________________________________________________________________________________
