aboutsummaryrefslogtreecommitdiff
path: root/jim-array.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2014-01-05 08:42:21 +1000
committerSteve Bennett <steveb@workware.net.au>2014-01-15 07:46:32 +1000
commitafe074ccf68410addadb5e30d928b05fc02fdff6 (patch)
treedb6b2853cf252b6f0ae73470cc6d7023f97f97e0 /jim-array.c
parent4454f2a3aaa7ee629b70274687d3cb4dbf1107dd (diff)
downloadjimtcl-afe074ccf68410addadb5e30d928b05fc02fdff6.zip
jimtcl-afe074ccf68410addadb5e30d928b05fc02fdff6.tar.gz
jimtcl-afe074ccf68410addadb5e30d928b05fc02fdff6.tar.bz2
stdlib: errorInfo includes the live stacktrace
Rather than just the error backtrace ([info stacktrace]), include the live stacktrace. This means it is possible to do: if {[catch $script msg]} puts [errorInfo $msg] } to output the stack trace from the top level, not just from the point of capture. It is still possible to pass a stacktrace to errorInfo to override this behaviour. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-array.c')
0 files changed, 0 insertions, 0 deletions