lua-users home
lua-l archive

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

My debugger has a feature that jump to line. It allows the user to update the current PC (Program Counter) to a specific line. With this feature, the user can modify some states and re-execute without restarting the program.


In Lua 5.3, the debugger only needs to modify savedpc in CallInfo to do this. However, in Lua 5.4, the current PC is stored in a local variable and it cannot be modified. Can Lua5.4 support modify the current PC?


-- actboy168