Skip to content

External DWARF debug info #8

@rayglover-ibm

Description

@rayglover-ibm

Using this extension I'm trying to debug a wasm binary compiled with external debug info (enabled by the -gseparate-dwarf=<path> and SEPARATE_DWARF_URL options in Emscripten). The only way I've been able to get this to work is by embedding a file: scheme URI to the full path of the dwp file. However this doesn't work with Chrome DevTools and I suspect this is deliberate for security reasons.

Alternative methods I've tried are:

  • A relative path to the dwp (works with chrome DevTools)
  • A http:// URL to a localhost server serving the dwp (works with chrome DevTools)
  • An absolute path

I'd like single approach which works for both the VSCode and Chrome DevTools extensions so the same binary can be debugged in different environments. Is there a way to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions