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

Make DebugSession.loadSource work for non-cached sources, see #79228 #80669

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Sep 10, 2019

When source with passed uri has not been seen before, and didn't end up DebugSession.sources map, existing code throws an exception by constructing an invalid uri. Using Source.getEncodedDebugData helps.

@weinand Could you please take a look? Attempting to fix the issue with debug URIs. Thank you!

…ft#79228

When source with passed uri has not been seen before, and didn't end up DebugSession.sources map,
existing code throws an exception by constructing an invalid uri. Using Source.getEncodedDebugData helps.
Copy link
Contributor

@weinand weinand left a comment

Choose a reason for hiding this comment

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

looks good (and much simpler) to me.

@weinand weinand merged commit db4102a into microsoft:master Sep 12, 2019
@weinand
Copy link
Contributor

weinand commented Sep 12, 2019

@dgozman thanks for the PR

@weinand weinand added this to the September 2019 milestone Sep 12, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants