Overview
| Artifact ID: | bb8ec40ddd2d343dc3c92c431be69739f5d56168 |
|---|---|
| Ticket: | 3610393fffffffffffffffffffffffffffffffff
forwards clash with execution traces |
| User & Date: | dgp on 2013-04-09 17:12:08 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "current: 8.6.0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "35. TclOO Package"
- title changed to: "forwards clash with execution traces"
- type changed to: "Bug"