Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 35b8947a8a4303689ffb465a790216dc0b2a3a00
Ticket: 2868499fffffffffffffffffffffffffffffffff
TIP #348: Substituted errorStack
User & Date: ferrieux on 2009-09-27 23:57:21
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Here is a crude but functional implementation of TIP #348.
    The variable ::errorStack, comes to life when defined (which is not the case by default, to avoid any performance hit).
    While unwinding, it is populated by substituted argslists as described in the TIP.
    It is automatically reset (to the empty list)  whenever ::errorInfo is. (But this leaves it enabled. To disable it, unset it.)
    
    (Among crudities: uses ::errorStack instead of ::tcl::errorStack, doesn't pay attention to code style, no test cases.
    Also, it inserts two fields in the private interp structure, right in the middle, not at the end. ABI hazard, don't forget to 'make clean' after applying  ;-)
    
    
    
  4. foundin changed to: "TIP Implementation"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "ferrieux"
  10. subsystem changed to: "None"
  11. title changed to: "TIP #348: Substituted errorStack"
  12. type changed to: "Patch"