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

Do we need 'fault detection' and 'watch point' support #4

Open
gskachkov opened this issue May 10, 2018 · 1 comment
Open

Do we need 'fault detection' and 'watch point' support #4

gskachkov opened this issue May 10, 2018 · 1 comment

Comments

@gskachkov
Copy link

Thanks Nick, Great work!!!

I've looks to the requirement and have small question, do we need cover two important for me debugging capabilities:

  • fault detection
  • watchpoints
    or this capabilities out of scope for this document?
@fitzgen
Copy link
Owner

fitzgen commented May 11, 2018

Thanks @gskachkov!

Regarding fault detection: you mean like pausing on exceptions? I had assumed that would translate into a trap in the wasm, which I assumed engines would already be able to observe, but I suppose for interpreters like mono they will definitely need some kind of hook. Is this along the lines of what you were thinking?

Regarding watchpoints: again, I had assumed that given 2.4.4, a method to find the location of or reconstruct a binding's value, that engines would be able to use their own internal APIs to watch the relevant ranges of memory. The mono/interpreter use case again would probably require some kind of extra dynamic hook. Thoughts?

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

No branches or pull requests

2 participants