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

Fix debugger not starting on windows #154

Merged
merged 2 commits into from
Nov 30, 2020

Conversation

lukaszsamson
Copy link
Collaborator

@lukaszsamson lukaszsamson commented Nov 15, 2020

This PR resolves an issue with invalid cwd passed to debugger.bat. It also fixes an unnecessary error during extension start. Refer to specific commits for details.

There are a few more places where URI is transformed by toString. Probably more of them need proper handling. I'll check them and update this PR.

Edit:
Other cases of URI.toString don't seem to be breaking anything.

elixir -e ""
crashes on windows with
** (TokenMissingError) nofile:1:3 missing terminator: "...
fixes debugger not starting on windows due to cwd being of invalid form
/c%3A/some/folder
@lukaszsamson
Copy link
Collaborator Author

@axelson can we get it merged?

Copy link
Member

@axelson axelson 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! ❤️

@axelson axelson merged commit 8ec1c6e into elixir-lsp:master Nov 30, 2020
@lukaszsamson lukaszsamson deleted the ls-fix-debugger-on-windows branch March 15, 2024 07:10
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.

2 participants