|
you can quite easily use your own allocator for Lua, see e. g. Programming in Lua, or some YouTube video about using "Arena allocators"... . Then you can easily follow alignment details up with breakpoints / asserts / alignment counters / Trace commands. > > .