Closed atdiar closed 3 months ago
For now, it is not possible.
Managed to have pprof work but the dwarf info is not included in the wasm file.
Leaving the issue open for now.
Seems that this is lower level at the wasm level. For now, we can manage without debuggers.
Closing
Currently, the information generated by the runtime doesn't seem to fit the format used by the pprof tool.
It is not that problematic for the wasm target as some profiling can be done in the browser. Besides, with stronger browser wasm integration, that might not make any sense in the future. But that still could have been nice especially when hunting down allocations.
Might be needed in general for ther other targets (but that might be a non-issue since the GOARCH is more traditional/regular.