Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Debugging.md #149

Merged
merged 1 commit into from
Oct 29, 2020
Merged

Add Debugging.md #149

merged 1 commit into from
Oct 29, 2020

Conversation

kripken
Copy link
Member

@kripken kripken commented Oct 22, 2020

See #148

Copy link
Member

@RReverser RReverser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a great starting point, thanks!

@kripken kripken merged commit f2644b6 into master Oct 29, 2020
@kripken kripken deleted the debug branch October 29, 2020 15:26
Copy link
Member

@dschuff dschuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry I'm late to the party

| path_name_str | `bytes` | Path to debug info file |

`path_name` is the location of a file containing DWARF debug info. Note that it
may also contain the full wasm file as well, which can be simpler to handle
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be a little clearer to say that the file with the debug info is a wasm container, and that it might also contain the wasm code.

| Field | Type | Description |
| ------------- | ----------- | ---------------------------------- |
| path_name_len | `varuint32` | Length of `path_name_str` in bytes |
| path_name_str | `bytes` | Path to debug info file |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we specify that this is a relative path (and relative to what?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't have to be relative (I think). Although, instead of path maybe it would be better to say url here to make that clearer.

@RReverser
Copy link
Member

sorry I'm late to the party

Looks like those should be easy enough to fixup in a follow-up PR?

kripken added a commit that referenced this pull request Oct 30, 2020
dschuff pushed a commit that referenced this pull request Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants