Skip to content

Support debug traces #137

Open
Open
@guybedford

Description

Currently when the Wasm engine panics, it's impossible to figure out where in StarlingMonkey / ComponentizeJS the panic happened.

For debugging these kinds of errors it would be much easier if we could have a debug build with at least the names section.

We do have a build:debug in this repo, and it does work using RelWithDebugInfo.

But when using the splicer, this information is dropped from the binary - if we maintain these debug sections in splicing that would be beneficial, ideally also fixing their offsets to match the operations performed by the splicer.

//cc @thesuhas

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