Stream: git-wasmtime

Topic: wasmtime / issue #8760 Support mapping source paths in ba...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 08 2024 at 16:00):

tschneidereit added the enhancement label to Issue #8760.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 08 2024 at 16:00):

tschneidereit added the wasmtime:debugging label to Issue #8760.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 08 2024 at 16:00):

tschneidereit opened issue #8760:

Feature

GDB and LLDB have facilities for mapping source paths to address situations in which code was compiled in a different location from where the source is located on the machine it's run/debugged on. It'd be great to support this for Wasmtime backtraces, too.

Benefit

Making debugging of code compiled elsewhere easier.

Implementation

I'm not sure where exactly the search/replace would happen that'd lead to changed output. What I imagine for the user experience is something like a new (repeatable) CLI argument along the lines of -D source-map [path-prefix]::[path]

Alternatives

Doing nothing


Last updated: Dec 23 2024 at 13:07 UTC