Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 68f4a19df2e1c24eb0a98080ec588e5e3f04fcab
Ticket: 451858ffffffffffffffffffffffffffffffffff
broken compilation trace
User & Date: msofer on 2001-08-16 23:37:05
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Trace compilation is broken since at least tcl8.3.3 -
    it doesn't print the bytecodes details.
    
    Witness the following
    
    [mig@mini tcl_NOP]$ tclsh
    % info patch
    8.3.3
    % set tcl_traceCompile 2
    2
    % 
      Compiling: "history add {\n}"
    %
    
    versus
    
    [mig@mini tcl_NOP]$ tclsh8.0
    % info patch
    8.0.5
    %  set tcl_traceCompile 2
    2
    % 
    Compiling: history add { ...
    
    ByteCode 0x8059dc8, ref ct 1, epoch 0, interp
    0x8049a10(epoch 0)
      Source "history add {\n}"
      Cmds 1, chars 15, inst 9, objs 3, aux 0, stk depth 3,
    code/src 14.87
      Code 223 =
    104(header)+9(inst)+83(objs)+0(exc)+0(aux)+4(cmd map)
      Commands 1:
          1: pc 0-7, source 0-14
      Command 1: "history add {\n}"
        (0) push1 0         # "history"
        (2) push1 1         # "add"
        (4) push1 2         # "\n"
        (6) invokeStk1 3 
        (8) done 
    
    ByteCode 0x805d2d0, ref ct 1, epoch 0, interp
    0x8049a10(epoch 0)
      Source "\n"
      Cmds 0, chars 1, inst 3, objs 1, aux 0, stk depth 1,
    code/src 144.00
      Code 144 =
    104(header)+3(inst)+24(objs)+0(exc)+0(aux)+0(cmd map)
        (0) push1 0         # ""
        (2) done 
    %
    
  4. foundin changed to: "None"
  5. priority changed to: "7 High"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "47. Bytecode Compiler"
  10. title changed to: "broken compilation trace"
  11. type changed to: "Bug"