system_snapshot - Create a debugging snapshot
nil
system_snapshot( outres )
- 1
- refuses to overwrite outres if it exists (only appl- destination
accepted).
- 2
- the format used is the same as used for crash reports and serialization in
monitoring mode.
function system_snapshot0()
a = fill_surface(32, 32, 255, 255, 0);
move_image(a, 100, 100);
zap_resource("testdump.lua");
system_snapshot("testdump.lua");
tbl = system_load("testdump.lua")();
end