[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: evaluating expression in the local scope (during debug)
- From: "Roman Vanicek" <vanicek@...>
- Date: Mon, 8 Jan 2001 00:27:48 +0100
I have made a simple debugging tool to help me develop Lua scripts and I
came upon this problem.
I have set up the debug hooks, this works fine. But when I call lua_dostring
inside them, the string is evaluated in the global scope (ie. local
variables are hidden to it). I would need to evaluate it in the local scope
instead (at the spot I am located in the debugging process). Is there any
reasonably easy way to do so?