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

Unify file access in debugger #584

Merged
merged 4 commits into from
Aug 16, 2023
Merged

Unify file access in debugger #584

merged 4 commits into from
Aug 16, 2023

Conversation

idavis
Copy link
Collaborator

@idavis idavis commented Aug 15, 2023

This is a workaround for windows which doesn't play well with URIs. The DAP setDebuggerPathFormat/convertClientPathToDebugger/convertDebuggerPathToClient can't be used as there is a bug requiring nodejs which prevents usage in web extensions. Once the bug is fixed we can update the debugger to use URIs without this PR's retry conversion.

This PR also fixes an issue where if the user closed the file being debugged or it was open as 'temporarily open' then we couldn't step back into the code.

@idavis idavis force-pushed the iadavis/file-resolution branch from 6e72294 to 7050fc1 Compare August 15, 2023 17:05
@idavis idavis force-pushed the iadavis/file-resolution branch from 7050fc1 to 28d0f37 Compare August 16, 2023 12:59
@idavis idavis requested review from billti and swernli August 16, 2023 14:48
@idavis idavis merged commit 4f7e49e into main Aug 16, 2023
@idavis idavis deleted the iadavis/file-resolution branch August 16, 2023 20:32
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

Successfully merging this pull request may close these issues.

3 participants