|
Em 24/04/2012 13:32, Michal Kottman escreveu:
Thank you Michal.On 24 April 2012 17:16, Rodrigo Dias Arruda Senra <rodrigo.senra@hitecnologia.com.br> 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: http://snippets.luacode.org/snippets/title_88 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 http://rodrigo.senra.nom.br |