Re: Trying to do a simple time command for procs...can't get output into console...



Alexandre Ferrieux wrote:
....
Your best bet would be to follow Cameron's advice rather than reinvent
a somewhat complicated wheel.

I agree. In particular, I'd recommend Salvatore Sanfilippo's etprof: http://wiki.tcl.tk/11096, which uses traces rather than wrapping procs.

(/me has just discovered that "trace add execution .. leave" is not at all what I'd have expected).

-- Neil
.



Relevant Pages

  • Re: RTLFreeHeap bug
    ... It doesn't make sense to continue execution after a pageheap ... The state of the process is already corrupt at this point so ... > What I did was use gflags with full traces and simple traces (gflags /p ... > First chance exceptions are reported before any exception handling. ...
    (microsoft.public.vc.debugger)
  • Re: tcloo: is [namespace code [list my foo]] within a constructor kosher?
    ... I need these traces to call a method within the object so ... trace add execution $widget leave [namespace code [list my ...
    (comp.lang.tcl)
  • Re: Help using Basic Debugger from wiki.tcl.tk
    ... On Jun 11, 10:06 pm, Alexandre Ferrieux ... The new syntax is ... new kinds of traces (like execution traces). ...
    (comp.lang.tcl)