Overview
| Artifact ID: | 9a58e1554e91efad7b2d5392760cba2234b62ff3 |
|---|---|
| Ticket: | 4b61afd660d7a1d29ecf794426f46a7384b4a41f
[info frame] lost with indirect command call |
| User & Date: | beric on 2016-06-10 07:42:10 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
# The following command prints stack with [info frame] proc stack {} { set level [info frame] set result {} for {set i 1} {$i < $level} {incr i} { lappend result [info frame $i] } return "[join $result "\n"]" } # Test command proc info_frame_test {} { puts "*** call stack ***" puts [stack] puts "*** call stack from variable ***" set cmd stack puts [$cmd] } Now run info_frame_test, the result is: *** call stack *** type eval line 1 cmd info_frame_test level 2 type proc line 3 cmd stack proc ::info_frame_test level 1 *** call stack from variable *** type eval line 1 cmd info_frame_test level 2 type proc line -1 cmd {$cmd} proc ::info_frame_test level 1 The line is -1 when stack is called through a variable. - foundin changed to: "8.6.5"
- is_private changed to: "0"
- login: "beric"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "beric"
- subsystem changed to: "17. Commands I-L"
- title changed to: "[info frame] lost with indirect command call"
- type changed to: "Bug"