#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_stack_dump(sp: Stack) -> StackExpand description
Dump all values on the stack (for REPL debugging)
Prints all stack values in a readable format, then clears the stack. Returns the stack base (empty stack).
ยงSafety
- Stack base must have been set via set_stack_base
- sp must be a valid stack pointer
- All stack values between base and sp must be valid