Overview
| Artifact ID: | 814c34f816447314cacd5c08489aace9b7f2f4dd |
|---|---|
| Ticket: | 583445ffffffffffffffffffffffffffffffffff
memory cmd not found in slave interps |
| User & Date: | hemanglavana on 2002-07-18 17:29:02 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hemanglavana"
- subsystem changed to: "None"
- title changed to: "memory cmd not found in slave interps"
- type changed to: "Bug"