Skip to content

Support for EOP 'enhanced orthogonal persistence' #5

@Kamirus

Description

@Kamirus

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions