Skip to content

Get all lines that can trigger a line debug hook in a Lua function, including inside nested functions

License

Notifications You must be signed in to change notification settings

mpeterv/deepactivelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deepactivelines

Build Status Build status

deepactivelines is a C module for Lua and LuaJIT that allows listing all active lines within a Lua function, that is, all lines that can trigger a line debug hook. Standard Lua function debug.get_info can list active lines directly inside a function, but not inside nested functions.

Warning: deepactivelines uses internal Lua functions and definitions. It is (will be) tested with Lua 5.1.5, Lua 5.2.4, Lua 5.3.2, LuaJIT 2.0.4, and LuaJIT 2.1.0-beta2, but it may not work for other versions, and definitely not for any alternative Lua implementations. Supporting as many Lua and LuaJIT versions as possible is a goal, however.

License

MIT. deepactivelines bundles some header files from Lua and LuaJIT, which use MIT as well.

About

Get all lines that can trigger a line debug hook in a Lua function, including inside nested functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages