-
Notifications
You must be signed in to change notification settings - Fork 281
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
feat: initial DWARF debugger integration #1804
Commits on Sep 15, 2023
-
feat: initial DWARF debugger integration
Enables stepping around and setting breakpoints in native code. Variables represenation is still a todo, and this needs some polish. It refactors the `Source.sourceMap` into a more generic location provider, which may be backed by the new IWasmSymbols interface. This then talks to the DWARF debugger. The SourceContainer's `_sourceMaps` are also now just folded into the `Source.sourceMap`; that information was duplicate and the only benefit was deduplication if two sources had the same sourcemap, but this is really rare. This also made all location mapping asynchronous, so there were a few refactors around there, too. It also refactors how I implemented WAT (text format decompilation) last iteration. That previously "pretended" the source of the WASM was WAT, but this caused issues because the location transformation we did on the scripts is done before location mapping. So instead, the WAT is an extra fake 'file' in the symbols and we resolve any unknown locations into the WAT file. One that that _doesn't_ work yet is entrypoint breakpoints for wasm, which means that breakpoints set before the debug session starts may be missed. I have a thread out to the Chromium folks to see if there's a solution to this. For #1789
1Configuration menu - View commit details
-
Copy full SHA for 676e7e7 - Browse repository at this point
Copy the full SHA 676e7e7View commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3447541 - Browse repository at this point
Copy the full SHA 3447541View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9d52b4 - Browse repository at this point
Copy the full SHA d9d52b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6095137 - Browse repository at this point
Copy the full SHA 6095137View commit details
Commits on Sep 20, 2023
-
feat: implement wasm inline functions (#1808)
* implement inlined method handling and improve stepping * update tests
Configuration menu - View commit details
-
Copy full SHA for ed66fe3 - Browse repository at this point
Copy the full SHA ed66fe3View commit details -
Merge pull request #1807 from microsoft/connor4312/wasm-14
feat: prompt to install extension on wasm step
Configuration menu - View commit details
-
Copy full SHA for ccabc8c - Browse repository at this point
Copy the full SHA ccabc8cView commit details -
Merge pull request #1806 from microsoft/connor4312/wasm-13
feat: make wasm inline breakpoints work
Configuration menu - View commit details
-
Copy full SHA for 903b783 - Browse repository at this point
Copy the full SHA 903b783View commit details -
Merge pull request #1805 from microsoft/connor4312/wasm-12
feat: make wasm variable store work
Configuration menu - View commit details
-
Copy full SHA for 61a8b9f - Browse repository at this point
Copy the full SHA 61a8b9fView commit details