Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 814c34f816447314cacd5c08489aace9b7f2f4dd
Ticket: 583445ffffffffffffffffffffffffffffffffff
memory cmd not found in slave interps
User & Date: hemanglavana on 2002-07-18 17:29:02
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When I compile tcl with TCL_MEM_DEBUG flag, the memory command
    is only available in the main interpreter:
    
    godel:109> tclsh
    % info patch
    8.3.4
    % info command memory
    memory
    % interp create i
    i
    % i eval {info command memory}
    % i alias memory memory
    memory
    % i eval {info command memory}
    memory
    % exit
    godel:110> 
    
    The Tcl_InitMemory function, which creates these commands in the
    interpreter, is called in the Tcl_Main function right after calling
    Tcl_CreateInterp. I suggest that the Tcl_InitMemory function be called
    from within Tcl_CreateInterp itself. This will not only solve the above
    problem for slave interps, but will also be useful in debugging C
    extensions that call Tcl_CreateInterp function.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "hemanglavana"
  9. subsystem changed to: "None"
  10. title changed to: "memory cmd not found in slave interps"
  11. type changed to: "Bug"