Menu

#216 TraceLog: Debugging helper

open
None
5
2006-02-08
2006-02-08
WildCard
No

Looking for a home for this mini app.
Can be broken up into a log extension and Tk
interface if need be.

The package provides a simple Tcl source code
execution flow tracer. It is a detailed tracer that
will allow tracing down to the line-level of
execution. It operates by adding traces to
procedures and logging the entry arguments and
results to the log package. If Tk is available it
will log to its own window and redirect ::log
messages there as well.

Example of usage is to add these lines at the start
of a script.

package require TraceLog
::TraceLog::Init
::TraceLog::SetCreateLog

Any feedback or comments welcome.

Discussion

  • WildCard

    WildCard - 2006-02-08

    TraceLog package v0.1

     
  • Michael Schlenker

    Logged In: YES
    user_id=302287
    Originator: NO

    This is quite similar to the trace log feature in logger.