Tcl Source Code

View Ticket
Login
Ticket UUID: 708b0056956272d55b1da531b8bbf123b3d9131b
Title: info frame via invokehidden does not return full frame information.
Type: Bug Created on: 2024-07-02 11:34:42
Submitter: apnadkarni Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Minor
Priority: 5 Medium Last modified: 2024-07-02 11:39:52
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 9.0b2
Description:

The following does not return full frame information.

interp create child
child hide info
child invokehidden info frame 0

This is actually a follow on to 0de6c1d79c where the same code caused a crash. The crash is fixed but incomplete in that it returns type as "precompiled" as a workaround for frame information not being available. The real fix would be to modify the invokehidden code path to construct appropriate frames. This is currently beyond my ken as it traverses multiple interpreter, NRE trampoline, namespace ensemble contexts, all a mystery to me.

User Comments:
apnadkarni added on 2024-07-02 11:39:52:
Addendum - info frame (without args) always returns 1 as frame information is not actually available.