Skip to content

engine: try_load_source_map silently swallows all errors including I/O failures #746

@Timi16

Description

@Timi16

File: src/debugger/engine.rsDebuggerEngine::try_load_source_map

Any error from source_map.load() is discarded with Err(_) => { self.source_map = None; }. A user who passes a truncated or wrong WASM file gets no feedback about why source locations are unavailable.

Proposal: Emit a tracing::warn! with the error message so that RUST_LOG=debug users can diagnose the issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions