Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 453def0871477d54bf373da9daac610e89544703
Ticket: 931e4956b91b4545bb294a76faf82d13e11e74db
Interpreter command count not always incremented
User & Date: apnadkarni on 2017-01-12 17:41:38
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    What exactly does [info cmdcount] count? Based on below, it does not seem to count either [incr] or [set] though it does count itself. (ip is a slave interp)
    
    % ip eval {info cmdcount}  
    377                        
    % ip eval {incr i}         
    1                          
    % ip eval {incr i}         
    2                          
    % ip eval {incr i}         
    3                          
    % ip eval {incr i}         
    4                          
    % ip eval {incr i}         
    5                          
    % ip eval {info cmdcount}  
    378                        
    % ip eval {set x 1}        
    1                          
    % ip eval {set x 1}        
    1                          
    % ip eval {set x 1}        
    1                          
    % ip eval {set x 1}        
    1                          
    % ip eval {info cmdcount}  
    379
    
  5. foundin changed to: "8.6.6"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "47. Bytecode Compiler"
  14. title changed to: "Interpreter command count not always incremented"
  15. type changed to: "Bug"