SNAPSHOTALL functions acts similarly as
SNAPSHOT and produces a STRING which contains WarpScript code to regenerate the stack in the exact same state as when
SNAPSHOTALL was called. It differs by the fact that it also adds code to repopulate the symbol table.
Note that some types of objects created by third party functions may not be serializable,
SNAPSHOTALL will emit a STRING of the form
UNSUPPORTED: class xxx when such a type is encountered.
The elements of the stack are consumed.