Skip to content

Debug info support / method for debugging lightbeam needed #460

Closed
@jlb6740

Description

@jlb6740

Hi,

I was looking to debug a trap error while running a benchmark:

error: failed to process main module /home/jlb6740/wasm_files/wasmtime/shootout/strcat2.c.debug.wasm
caused by: Instantiation error: Trap occurred while invoking start function: wasm trap: call stack exhausted, source location: @rep-nop

In doing so I realized I would not be able to step through the code due to supported needed for generating_debug_info.

error: failed to process main module /home/jlb6740/wasm_files/wasmtime/shootout/strcat2.c.debug.wasm
caused by: WebAssembly compilation error: Debug info is not supported with this configuration

This issue is to track that issue, but also to solicit comments on alternative ways of tracking down the trap error I am seeing.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lightbeamIssues related to the Lightbeam compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions