Hacker News new | ask | show | jobs
by rnmmrnm 778 days ago
Well the only thing that's really itching me is the fact that the whole lua debug.* section is documented as

>You should exert care when using this library. Several of its functions violate basic assumptions about Lua code (e.g., that variables local to a function cannot be accessed from outside; that userdata metatables cannot be changed by Lua code; that Lua programs do not crash) and therefore can compromise otherwise secure code (from the manual)

kinda creeps me out.

1 comments

If you find a debugger that can't ruin a function's local variables then that debugger sucks.
obviously, but i'm not so keen to turn it into a pre-emptive scheduler either lol.