As I was testing the debugger with the unreleased version of moc I've encountered the following error when starting the debugger via dfx debug my.wasm
[2025-07-14T13:09:05Z WARN wasmi_debugger::debugger] memory64 must be enabled for 64-bit memories (at offset 0x78a)
memory64 must be enabled for 64-bit memories (at offset 0x78a)
exit code: Some(0)
This is probably due to the fact that the --enhanced-orthogonal-persistence moc flag is on by default (not released yet, but soon), which uses WASM 64bit. More on EOP in the docs.
moc versions higher than 0.14.14 can use the --legacy-persistence flag to restore the original behavior, but this is a temporary measure as the support for the classical persistence will be phased out.
Is the debugger limited to 32bit only?
As I was testing the debugger with the unreleased version of
mocI've encountered the following error when starting the debugger viadfx debug my.wasmThis is probably due to the fact that the
--enhanced-orthogonal-persistencemocflag is on by default (not released yet, but soon), which uses WASM 64bit. More on EOP in the docs.mocversions higher than 0.14.14 can use the--legacy-persistenceflag to restore the original behavior, but this is a temporary measure as the support for the classical persistence will be phased out.Is the debugger limited to 32bit only?