Artifacts Associated With Ticket 219145ffffffffff
Ticket change [5ae49e1ba8] (rid 118227) by nobody on 2000-10-26 05:02:17:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 875 RFE Version: 8.0.3 SubmitDate: '1998-11-25' LastModified: '2000-02-22' Severity: LOW Status: Assigned Submitter: pat ChangedBy: hobbs RelatedBugIDs: 752 4213 OS: All FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '2000-10-25' This is another problem pointed out by Kevin Kenny in his Tcl/Tk Conference paper. Tcl and Tk are missing several pieces of introspection that are meeting to find memory leaks. Right now there are no Tcl commands that can be invoked to find out about traces on nonexistent variables Something like 'trace vunknown'. -- 02/22/2000 hobbs
- foundin initialized to: "obsolete: 8.0.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "07. Variables"
- title initialized to: "traces on nonexistent variables"
- type initialized to: "RFE"
Ticket change [d96f5fdccd] (rid 107610) by msofer on 2001-08-30 21:03:49:
- assignee changed to: "msofer"
Ticket change [f7b6635d98] (rid 91418) by dgp on 2002-07-06 03:55:30:
- assignee changed to: "kennykb"
- icomment:
Logged In: YES user_id=80530 1) Is this still correct? 2) Should there be a FR to fill in the missing introspection?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [fa9c611c9d] (rid 91907) by jenglish on 2003-01-18 10:00:22:
- icomment:
Logged In: YES user_id=68433 [trace vinfo] works on nonexistant variables: % trace variable a w someProc % trace vinfo a {w someProc} % info exists a 0 This works as far back as Tcl 7.4. - login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"
- icomment:
Ticket change [4c171deadd] (rid 126817) by hobbs on 2003-01-18 10:07:34:
- icomment:
Logged In: YES user_id=72656 I believe Kevin's point in this is that there is no ability to do a trace for the creation of unknown named vars, to see when they come into existence. This would be for either the perl behavior of default any non-preexistent var to "" or 0, or in a debugging context to trap errors.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [eafb049d6f] (rid 103460) by dgp on 2003-01-18 10:48:04:
- icomment:
Logged In: YES user_id=80530 ...and is there a way to retrieve the list of the names of the non-existent variables that have traces on them?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [8ba59fe0cf] (rid 127601) by kennykb on 2003-01-21 22:17:11:
- icomment:
Logged In: YES user_id=99768 [dgp] hit the nail on the head. I have actually had an app leak because it was establishing traces on non-existent global variables and forgetting to clean them up. There was no ready way to find out what nonexistent-variable traces were there, because the nonexistent variables don't show up in [info vars], and without the name, [trace vinfo] doesn't help. I'd like the feature that Jeff mentions, also, (although I'd not necessarily call it a 'trace', since it's more like a callback from [unknown], but that wasn't the point. How did this metamorphose from a feature request to a bug?
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [9860cf27c5] (rid 110595) by kennykb on 2003-02-02 10:06:12:
- assignee changed to: "nobody"
- foundin changed to: "None"
- subsystem changed to: "None"
Ticket change [590c258957] (rid 117908) by dkf on 2003-06-26 17:42:16:
- subsystem changed to: "46. Traces"
Ticket change [b1afa8d12e] (rid 98190) by dgp on 2003-06-26 23:07:56:
- assignee changed to: "dgp"