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

BrowserDebugProxy: unify debug metadata reading for PE and Webcil #81099

Merged
merged 7 commits into from
Jan 26, 2023

Conversation

lambdageek
Copy link
Member

@lambdageek lambdageek commented Jan 24, 2023

Factor common code out into a MetadataDebugSummary using an adapter to read from either PEReader or WebcilReader.

  • Implement WebcilReader.ReadPdbChecksumDebugDirectoryData

Contributes to #80807

@ghost
Copy link

ghost commented Jan 24, 2023

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

Factor common code out into a MetadataDebugSummary using an adapter to read from either PEReader or WebcilReader.

Note: WebcilReader doesn't implement ReadPdbChecksumDebugDirectoryData yet, so that part isn't functional.

Contributes to #80807

Author: lambdageek
Assignees: lambdageek
Labels:

area-Debugger-mono

Milestone: -

@lambdageek lambdageek added the arch-wasm WebAssembly architecture label Jan 24, 2023
@ghost
Copy link

ghost commented Jan 24, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Factor common code out into a MetadataDebugSummary using an adapter to read from either PEReader or WebcilReader.

TODO

  • WebcilReader doesn't implement ReadPdbChecksumDebugDirectoryData yet, so that part isn't functional.

Contributes to #80807

Author: lambdageek
Assignees: lambdageek
Labels:

arch-wasm, area-Debugger-mono

Milestone: -

@lambdageek
Copy link
Member Author

Keeping it a draft until I add the pdb checksum reader for webcil

@lambdageek lambdageek force-pushed the feature-webcil-debug-refactor branch from 81f43ac to 5b5e844 Compare January 24, 2023 17:51
@lambdageek lambdageek marked this pull request as ready for review January 24, 2023 18:06
lambdageek and others added 2 commits January 24, 2023 14:24
Co-authored-by: Ankit Jain <[email protected]>
Also switch from cascade of 'if's to a 'switch' when looking at debug entries
@lambdageek lambdageek force-pushed the feature-webcil-debug-refactor branch from 0e4cdf6 to 45b7c47 Compare January 24, 2023 21:04
@lambdageek
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek lambdageek merged commit d92e70f into dotnet:main Jan 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Debugger-mono
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants