Re: Possible to retrieve CURRENT CHUNK for debugging?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Possible to retrieve CURRENT CHUNK for debugging?
- From: Peter Cawley <lua@...>
- Date: 2009年5月25日 16:44:21 +0100
On Mon, May 25, 2009 at 4:36 PM, Jörg Walter <joerg-walter@gmx.de> wrote:
> but why not store the chunk text in all cases? it seems incoherent.
Storing the source code in uncompiled form is a complete waste of
memory, except in certain debugging situations. Hence the default
behaviour for luaL_loadfile is to remember only the name of the file -
you can always open the file yourself to get the code.