Overview
| Artifact ID: | 1320d340066b592294ce26d91f9766e42c8c049e |
|---|---|
| Ticket: | 7f02ff1efa308825b21e58ec04cee898fe9c44ad
unset traces on local vars write in caller context |
| User & Date: | dkf on 2016-10-09 16:35:59 |
Changes
- icomment:
I'd like to totally remove traces on local variables from novem. The semantics are really expensive to implement and deeply confusing. However, I'd need to replace with an ability to get callbacks when a frame terminates (that <b>is</b> useful) and having the ability to designate variables as being unable to change after the initial setup is entirely reasonable too. FWIW, <i>tclquadcode</i> is never going to be exactly reproducing of the trace-level view. The most we're likely to promise is that if a global variable would have been read from or written to at least once on some path between two suspension points (e.g., entries and calls to <tt>return</tt> or <tt>yield</tt>), a trace will be fired. That's really quite different to getting the semantics right, and gives us a lot more freedom to optimise.
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- username: "dkf"