Skip to content

Unify file access in debugger - #584

Merged
Ian Davis (idavis) merged 4 commits into
mainfrom
iadavis/file-resolution
Aug 16, 2023
Merged

Ian Davis (idavis) merged 4 commits into
mainfrom
iadavis/file-resolution

Conversation

@idavis

@idavis Ian Davis (idavis) commented Aug 15, 2023 •

Copy link
Copy Markdown
Collaborator

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.

Comment thread vscode/src/debugger/activate.ts Resolved
Comment thread vscode/src/debugger/session.ts Resolved
@idavis
Ian Davis (idavis) merged commit 4f7e49e into main Aug 16, 2023
@idavis
Ian Davis (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