lua-users home
lua-l archive

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

Em 24/04/2012 13:32, Michal Kottman escreveu:
On 24 April 2012 17:16, Rodrigo Dias Arruda Senra
<> wrote:
My question is: How to change local variables (from C code) ?
I read several threads about merging upvalues, and did some experiments
but  my current understanding is that it will not work because
local variables are registers and are not stored in _ENV.

Is this possible ? How ?
Take a look at my attempt here:
Thank you Michal.
I adapted your code and now my debugger is capable of changing local variables.

I also would like to thank  Tony Finch and Peng Zhicheng for their suggestions.
best regards,
Rod Senra