debugging
debugging copied to clipboard
Design documents and discussions about debug support in WebAssembly
Is it possible to append source span information to generate a backtrace that jumps to the source language? Assume the following syntax: ```wat (func $source-function (result i32) (i32.const 0) (@name...
Beyond debugging a live process, there are times when "post-mortem" debugging is required, and extracting data like stack-frames with source locations, or local values (where possible) is desired. An example...
Disclaimer: This is very much a work-in-progress and nothing I've written up is set stone! My hope is that we can merge this PR and continue design in the form...
I opened [an issue in yurydelendik's repo][1] about six weeks ago, but it hasn't been addressed, and I thought I'd mention it here. Thanks. [1]: https://github.com/yurydelendik/webassembly-dwarf/issues/20
I started documenting the findings that were done during my work on saving LLVM debug information as custom sections (see [D44184](https://reviews.llvm.org/D44184) and [D45118](https://reviews.llvm.org/D45118)). The LLVM prefers [DWARF format](https://llvm.org/docs/SourceLevelDebugging.html), and it...
Working on [binaryen support for DWARF](https://github.com/WebAssembly/binaryen/issues/2400), I realized I don't know how to read the line info data. The main issues are: * The [code addresses](https://yurydelendik.github.io/webassembly-dwarf/#pc) doc says offsets are...
Hi, as some around here are probably aware, there is https://reviews.llvm.org/D78801 which would really bring lldb wasm32 debugging. So far, code did not land (obv. due to discrepancies seen in...
`DW_OP_Wasm_location` currently has a type and index field that are both LEBs. For use with type `TI_GLOBAL_START` the index needs to be relocatable. Doing LEB relocations in DWARF seems messy,...
As discussed at the [February in-person meeting](https://github.com/WebAssembly/meetings/blob/master/2020/CG-02.md), I have been trying to implement translating WebAssembly DWARF to native DWARF debugging that can be used by a debugger like GDB to...
Being that there is time on the schedule currently at the Feb 11th & 12th Wasm CG for debugging topics (see https://github.com/WebAssembly/meetings/blob/master/2020/CG-02.md ), should we decide on potential topics? Firstly,...