-
Notifications
You must be signed in to change notification settings - Fork 58
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
Need proper debugging information #26
Comments
Related issue: rust-lang/rust#46765 Sooo we'd probably need to come up with an alternative to source maps then that then Firefox and Chrome and other browsers have to implement in their debuggers? |
I think we could mostly adapt DWARF and use bytecode offset rather than pc. DWARF is very flexible. |
We'd still have to get browsers to support DWARF somehow right? |
Two replies:
|
That's kind of what I was guessing would be the case but just wanted to confirm! |
Now that we've upgraded LLVM that's actually dwarf info! |
Source maps only encode source location <--> object code location mappings, and optionally source text content. This doesn't provide for
recovering scopes, variables, and their current values (for a stepping debugger)
information about inlined functions (for size profilers and reconstructing the logical stack at any given code location)
how to format/display values of different types (pointers vs
Box
vsVec
etc)a way to include a link to an expression evaluator, so the console can be used or conditions can be set on breakpoints
The text was updated successfully, but these errors were encountered: