VS Code on Windows is case sensitive to file paths when opening files while Debugging #44074
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
*duplicate
Issue identified as a duplicate of another issue(s)
Issue Type
Bug
Description
Currently we're working on a new debugger for the Python Extension
What we've idenfied is that when a breakpoint or exception is hit, VS Code opens another editor/copy for the same file on Windows.
Here's the scenario:
T
s)one.py
with the following contents:print(x)
x
is undefined hence we expect the debugger to break at that line (unhandled exception).one.py
(pin it, so it stays opened)Note: The debugger isn't public, hence you won't be able to replicate this. However we can provide the files through some other means.
one.py
Now we have two editors opened, for the same file.
one.py
(opened by debugger) we can see the path isc:\temp\python\debuggertesting\one.py
.Note: Everything is in lower case (yes this is what's being returned by our debugger over the protocol).
Issue: VS Code on Windows, should realize the files are the same instead of opening a new editor.
VS Code Info
VS Code version: Code 1.20.1 (f88bbf9, 2018-02-13T15:23:28.607Z)
VS Code version: Code - Insiders 1.20.0-insider (eed7e19, 2018-01-30T09:40:57.870Z)
OS version: Darwin x64 17.4.0
System Info
Extensions (26)
The text was updated successfully, but these errors were encountered: