Skip to content
pannous edited this page May 11, 2023 · 1 revision

in theory wasp could be debuggable inside chrome https://developer.chrome.com/blog/wasm-debugging-2020/

wasm tool conventions

https://github.com/WebAssembly/tool-conventions

dwarf

custom sections contain dwarf in binary format which can be translated to text using llvm-dwarfdump

.debug_info .debug_loc .debug_ranges .debug_abbrev .debug_line
.debug_str 0-terminted strings

source map

{"version":3,"sources":["source.wasp""],"names":[],"mappings":"qeAOA,…"}

the parser is available here:

https://github.com/bmeurer/wasm-source-map

WASM_LINKFORSHARED_DEBUG="-gseparate-dwarf --emit-symbol-map"

Home

Philosophy

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally