Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 51cb440662bbac98df86c78d7247edfdcfd85a1f
Ticket: 1743941fffffffffffffffffffffffffffffffff
TclCheckInterpTraces cycles
User & Date: dgp on 2007-06-27 23:40:40
Changes

  1. icomment:
    
    
    File Added - 234785: 1743941.patch
    
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    found some unexpected time...
    
    Problem is in the code that
    implements reversing the order
    of traces for the "enterstep" call.
    
    When the level is too low for the
    trace to fire, a "continue" restarts
    the loop before "lastTracePtr" gets set
    to the right value for proceeding.
    
    So, an effective fix is pretty simple.
    Less clear and more troubling is why a
    lot of this code is there in the first
    place.  Still looking into that.
    
    Attached is a patch against Tcl 8.4.15.
    
    
    File Added: 1743941.patch
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"