lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 15/05/2011, at 2:25 AM, marbux wrote:

> Hi, all,
> Before risking possible reinvention of the wheel, I ask whether anyone
> knows of an existing snippet to return a list of file paths for all
> files executed by a script and its chunk files using dofile? This is
> for an app that embeds standard Lua, no add-on libraries.

How about a debug hook that intercepts calls and works out which node it is with debug.getinfo?