Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e748092d6b5056ec5522f828cce678213bd27f86
Ticket: 3059758fffffffffffffffffffffffffffffffff
tclTraceExec==3 : wrong pc+INST on uncaught error return
User & Date: ferrieux on 2010-09-06 06:10:48
Changes

  1. icomment:
    The 'pc--' after the nonRecursiveCallReturn: label is the reason. I know it is necessary, so that the pc goes back into the range of the offending instruction, so that TIP 280 info can be recomputed from it, but subsequently a stronger contract is expected: namely that *pc be the inst itself:
    
        processExceptionReturn:
    #if TCL_COMPILE_DEBUG
    switch (*pc) {
                ...
    
    So, the conflict must be resolved, either by giving up the pretty printing of the offending inst, or by using the pc-indexing data in TIP 280 to crawl back to the beginning of the inst (conditionally on TCL_COMPILE_DEBUG).
     
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"