[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Recursively getting a list of all files executed using dofile
- From: Geoff Leyland <geoff_leyland@...>
- Date: Sun, 15 May 2011 12:23:41 +1200
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?