For Programmers: Free Programming Magazines  


Home > Archive > Tcl > October 2004 > trace command remains visible after being hidden (bug?)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author trace command remains visible after being hidden (bug?)
Erik Leunissen

2004-10-21, 8:57 am

The following series of commands shows that hiding a command sometimes
doesn't work. In this case, [trace] remains accessible (though it's not
producing useful output anymore, and accepts anything as an argument).

Is it reproducible? Should I file a bug report?

Greetings,

Erik Leunissen
==============


% proc traceProc {args} {puts stderr $args}
% trace add execution pid leave traceProc
% pid
pid 0 4408 leave
4408
% interp hide {} trace
% trace info execution pid ;# <----
info execution pid
% trace ;# <----

% parray tcl_platform
tcl_platform(byteOrder) = littleEndian
tcl_platform(machine) = i686
tcl_platform(os) = Linux
tcl_platform(osVersion) = 2.4.21-202-athlon
tcl_platform(platform) = unix
tcl_platform(user) = erik
tcl_platform(wordSize) = 4
% set tcl_patchLevel
8.4.5


--
leunissen@ nl | Merge the left part of these two lines into one,
e. hccnet. | respecting a character's position in a line.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com