8000 lutrace/README.md at v0.2 · hishamhm/lutrace · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 738 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 738 Bytes

lutrace

luTrace (Lua Micro Trace) is a tiny stand-alone module that prints a trace of functions executed by a script (like strace, ltrace, etc.)

by Hisham Muhammad - http://hisham.hm/

License: MIT/X11

Usage: LUTRACE_FILTER=my_module lua -llutrace your_script.lua

The environment variable LUTRACE_FILTER can be used to provide a string to act as a filter to source code filenames, so you can "grep" only for modules or packages you're interested in.

Loading this module automatically sets a debug hook that activates tracing. This module exports no functions.

For more advanced tracing and coverage analysis, see also:

0