Skip to content

Inconsistent casing#244

Closed
johnrom wants to merge 43 commits intoxdebug:inconsistent-casingfrom
johnrom:inconsistent-casing
Closed

Inconsistent casing#244
johnrom wants to merge 43 commits intoxdebug:inconsistent-casingfrom
johnrom:inconsistent-casing

Conversation

@johnrom
Copy link
Copy Markdown
Contributor

@johnrom johnrom commented Feb 23, 2018

Note: Merge master into this branch in order to see the real changes! I accidentally did them both at once

This should be a complete fix for the case-sensitivity issue, though it's not the prettiest. It seems to me that either VS Code or some other dependency in my team's environment also started using lowercase drive names when reporting the file path, even though the pathMapping specifies an uppercase one. Breakpoints aren't working on any of my sites anymore with the current release of this extension/VSCode, which makes it borderline unusable.

  • converting URIs to lowercase was not compensated for when finding the relative path between two URIs
  • after converting to lowercase, a lowercase serverFileUri was returned, resulting in failed tests I chose to fix that though if returning the lowercased serverFileUri is better, that can be undone and the test can instead be changed.

I hope this is helpful.

josecanhelp and others added 30 commits October 25, 2017 22:20
Adds support for mapping multiple server source roots to local roots.

Closes xdebug#54
@felixfbecker
Copy link
Copy Markdown
Contributor

Could you rebase this to include only your change?

@johnrom
Copy link
Copy Markdown
Contributor Author

johnrom commented Feb 23, 2018

I'm just going to build a new PR from master

@johnrom johnrom closed this Feb 23, 2018
@johnrom
Copy link
Copy Markdown
Contributor Author

johnrom commented Feb 23, 2018

closed in favor of #245

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.

5 participants