Overview
| Artifact ID: | ed329d62c022e98c4941df3e56240d8691f14295 |
|---|---|
| Ticket: | 77f0dbc0f8234ace6f613a37831d33fa5407ad63
Wrong errorstack when using slave interp |
| User & Date: | danckaert on 2017-07-26 12:00:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
When running the following code: <pre> interp create slave interp alias slave foo {} master_foo proc master_foo {arg} {} proc run_in_slave {s} { try { interp eval slave $s } on error {msg options} { puts $options } } catch {error "catched error"} run_in_slave {foo} </pre> The output is: <pre> -errorstack {INNER {returnImm {catched error} {}} CALL {run_in_slave foo}} -errorcode {TCL WRONGARGS} -errorinfo {wrong # args: should be "foo arg" invoked from within "foo" invoked from within "interp eval slave $s"} -errorline 3 -code 1 -level 0 </pre> The INNER part int the errorstack refers to a previous error which had already been catched and should not be present anymore. Note that -errorinfo and -errorcode are correct however. - foundin changed to: "8.6.6"
- is_private changed to: "0"
- login: "danckaert"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "danckaert"
- subsystem changed to: "20. [interp]"
- title changed to: "Wrong errorstack when using slave interp"
- type changed to: "Bug"