Skip to content

Pass flag to PTVSD to ensure file path case sensitivity is preserved - #936

Merged
Don Jayamanne (DonJayamanne) merged 3 commits into
microsoft:masterfrom
DonJayamanne:issue935
Mar 5, 2018
Merged

Pass flag to PTVSD to ensure file path case sensitivity is preserved#936
Don Jayamanne (DonJayamanne) merged 3 commits into
microsoft:masterfrom
DonJayamanne:issue935

Conversation

@DonJayamanne

Copy link
Copy Markdown

Fixes #935

@codecov

codecov Bot commented Mar 3, 2018

Copy link
Copy Markdown

Codecov Report

Merging #936 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #936      +/-   ##
==========================================
- Coverage   64.03%   64.01%   -0.02%     
==========================================
  Files         260      260              
  Lines       12025    12028       +3     
  Branches     2131     2131              
==========================================
  Hits         7700     7700              
- Misses       4316     4319       +3     
  Partials        9        9
Impacted Files Coverage Δ
src/client/debugger/mainV2.ts 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29a0cae...668ee8d. Read the comment docs.

Comment thread src/client/debugger/mainV2.ts Outdated

// Send PTVSD a bogus launch request, and wait for it to respond.
// This needs to be done, so PTVSD can keep track of how it was launched (whether it as for attach or launch).
const launcRequest = await this.launchRequest;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"launchRequest"

Comment thread src/client/debugger/mainV2.ts Outdated
// This needs to be done, so PTVSD can keep track of how it was launched (whether it as for attach or launch).
const launcRequest = await this.launchRequest;
(launcRequest.arguments as any).fixFilePathCase = this.serviceContainer.get<IPlatformService>(IPlatformService).isWindows;
this.sendMessage(await this.launchRequest, this.ptvsdSocket);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pass "launchRequest" instead of await this.launchRequest

@DonJayamanne
Don Jayamanne (DonJayamanne) merged commit 1c652d8 into microsoft:master Mar 5, 2018
@lock lock Bot locked as resolved and limited conversation to collaborators Jul 31, 2019
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.

Breaking into Python code opens a duplicate editor window on Windows

3 participants