Overview
| Artifact ID: | b860c9acbf9e8959c7e2ad9730b897c51e259874 |
|---|---|
| Ticket: | 3610393fffffffffffffffffffffffffffffffff
forwards clash with execution traces |
| User & Date: | dkf on 2013-08-21 09:41:04 |
Changes
- closer changed to: "nobody"
- comment changed to:
oo::object create foo oo::objdefine foo { method target {} {puts Hit!} forward bar my target } proc harness {} { foo target foo bar } proc handle {cmd args} { puts "Command [lindex $cmd 0] resolves to:" puts "\t'[uplevel 1 [list ::namespace which -command [lindex $cmd 0]]]'" puts "\t\tResolved at level [uplevel 1 {info level}]" } trace add execution harness enterstep handle harness Output: Command foo resolves to: '::foo' Resolved at level 1 Command puts resolves to: '::puts' Resolved at level 2 Hit! Command foo resolves to: '::foo' Resolved at level 1 Command my resolves to: '' Resolved at level 1 Command puts resolves to: '::puts' Resolved at level 2 Hit! The problem is that [my] is an execution-trace-able command, but the context in which it is executed does not match the expectations of execution trace handlers. The CallFrame establishing the namespace context for command resolution is missing. - icomment:
I would like this fixed, but don't know what to do about it.
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- priority changed to: "6"
- severity changed to: "Minor"
- username: "dkf"