-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Path with non-ASCII characters won't hit breakpoints #688
Comments
@kzhui125, thanks for letting us know about this problem. We're looking into it. |
@kzhui125, could you check if you have the same problem under Python 3? |
FTR:
I expect that this is not a problem under Python 3. Under Python 2 it is problably a matter of coercing bytes to unicode (e.g. in the code that calls add_breakpoint()). |
@ericsnowcurrently worth checking whether this is an issue in the experimental debugger. |
@ericsnowcurrently no problem using Python 3 Thanks. |
I just encountered this issue while trying to debug a Python script that misbehaves with non-ASCII paths. 🤦♂️ With Python Experimental, breakpoints don't work at all. With normal Python debugger, breakpoints work but they show up as "Unknown Source". |
I can confirm that:
So that last one is what we should try to fix. |
File upstream issue microsoft/ptvsd#421 |
This has been fixed in the latest version of the experimental debugger. |
Environment data
VS Code version: 1.19.3
Python Extension version: 0.9.1
Python Version: Python 2.7 64bit
OS and version: Win10 Chinese Simplified
the folder path has chinese string
The text was updated successfully, but these errors were encountered: