-
Notifications
You must be signed in to change notification settings - Fork 287
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
Fix for issue #11396 #11436
Fix for issue #11396 #11436
Conversation
c3596e5
to
998fbac
Compare
* During notebook cell debugging, apply path normalization on the path of the dumped tmp file only if the kernel runs on a Windows machine.
998fbac
to
f665497
Compare
Hi Rob, sorry for the late response, I was quite occupied the last week or so. I've introduced some changes based on your comments. I was wondering a bit about where such a utility function would fit well. As I see it, this kind of functionality is only expected to be used in kernel debug adapters, so I decided to make it available as a static method of the KernelDebugAdapterBase class instead of putting it into the general path utilities. If you think it would be better the other way, then I can move the function and the unit tests to the path library. |
I see that the fix was reverted. I'm seeing the same issue reported in #11396 Jupyter Extension version: v2023.11.1003402403 Here are some relevant logs. sourcePath in dumpCell has forward slash path in setBreakpoints has back slash. I think this is caused by the path normalization logic in the extension. And because the path is the back slash, the debugger returned "Breakpoint in file that does not exist" Please let me know if there's any additional information I can provide. Thanks. |
If I recall correctly, Rob mentioned something about the change breaking the CI for the browser-based VSCode frontend, that's why it had to be reverted. Since I moved to WSL I didn't face the Windows-Unix cross-OS issue anymore and forgot about this. Unfortunately I don't have time to pick up the work right now, but you can open a new Issue and refer this one. |
@adam-zlatniczki i just opened a new issue: #15934 Thanks. |
Fixes #11396
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).