QtWasm icon indicating copy to clipboard operation
QtWasm copied to clipboard

WIP: Source maps to ease debugging

Open forderud opened this issue 1 year ago • 0 comments

On the final binary, I also have those:

target_link_options(AFIRunner PRIVATE "SHELL:-gsource-map")

target_link_options(AFIRunner PRIVATE "SHELL:-gseparate-dwarf=${CMAKE_CURRENT_BINARY_DIR}/AFIRunner.debug.wasm")

That enables source maps support, usable even on release. That actual gives c++ style stack traces on errors / exception. So I found it pretty usefull

forderud avatar Nov 29 '23 12:11 forderud