-
Notifications
You must be signed in to change notification settings - Fork 301
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
Breakpoint in Notebook Cell doesn't stop when VSCode is running on Windows and Kernel running on Linux #15934
Comments
Thank you for filing this issue, are you able to update ipykernel & debugpyto the latest version and see if this repros |
@DonJayamanne I upgraded to debugpy1.8.5 and ipykernel 6.29.5. Breakpoint still doesn't stop and I'm also seeing the same "Breakpoint in file that does not exist." response back to the extension. 2024-08-12 16:27:52.939 info: < {"header": {"msg_id": "92864651-d7ccc49aafaa8fea48fc6f90_890_199", "msg_type": "debug_reply", "username": "glue_user", "session": "92864651-d7ccc49aafaa8fea48fc6f90", "date": "2024-08-12T20:27:52.918384Z", "version": "5.3"}, "msg_id": "92864651-d7ccc49aafaa8fea48fc6f90_890_199", "msg_type": "debug_reply", "parent_header": {"date": "2024-08-12T20:27:52.879000Z", "msg_id": "2980f59e-2749-4adb-8057-8c203786dd59", "msg_type": "debug_request", "session": "a9817bd4-ad93-4961-9ff0-67ccdd12bbd8", "username": "", "version": "5.2"}, "metadata": {}, "content": {"seq": 26, "type": "response", "request_seq": 10, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": false, "id": 0, "message": "Breakpoint in file that does not exist.", "source": {"name": "Untitled-1.ipynb", "path": "\tmp\ipykernel_890\3773950048.py"}, "line": 1}]}}, "buffers": [], "channel": "control"} |
Looking at the latest version of the code, I see that path.normalize is still getting called for sourcePath. From I understand in the code, path.normalize is the one flipping / to \ in the sourcePath. @adam-zlatniczki tried to fix this before as you can see in #11396
|
Duplicate of #9636 |
Applies To
What happened?
I'm facing is the same issue reported in #11396
with slightly different setup. My kernel is running in a linux container specifically https://hub.docker.com/layers/amazon/aws-glue-libs/glue_libs_4.0.0_image_01/images/sha256-bd642d06ee69c7eac710080091c5c76dfbf28005bb81541d475ab5846851368c?context=explore
ipykernel: 6.20.2
debugpy: 1.80
python: 3.10.2
VS Code Version
1.88.1
Jupyter Extension Version
v2023.11.1003402403
Jupyter logs
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
None
The text was updated successfully, but these errors were encountered: