-
Notifications
You must be signed in to change notification settings - Fork 1.2k
-
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
Debugger doesn't stop at breakpoint with remote debug #4456
Comments
Thanks for the report @ruselcmplx. I think I will need a bit more information to reproduce your issue. Here's what I've done so far, maybe you can use this to reproduce the issue on your machine to see what we might be able to sort out. Reproduction, Setup
Expected resultsThe VS Code editor will break at line 5 of Observed ResultsThe VS Code editor opens a different read-only window with the content of Please use this reproduction as an example that we can use to figure out what your specific problem is. Alter my repro and see if you can supply us with a minimum reproduction case. Thanks! |
Everything is done well with this case But still doesn't work with the symlinked src files to server |
Comparing logs shows that in my case process stops at "setBreakpoints" command From Client not followed by anything (To Client commands, setExceptionBreakpoints, process/attach etc.). Code.exe loads some CPU for a second and nothing happens. |
I cannot reproduce your issue, as I cannot get the remote/local debugging to even start when using soft linked files on Windows, which I believe is what you are describing with this setup. Question:If you do not use a linked file, but instead copy the file (or deploy it) to the server folder, does it correct the problem? |
@ruselcmplx, please reply with an answer to @d3r3kk's question. Thanks! |
Nope, nothing changed with copy. Perhaps the problem in Cyrillic symbols in remote path? But it was working just in January. |
@ruselcmplx, thanks for giving that a try. So thus far possible causes have been symlinks (on Windows) and Cyrillic symbols, right? Let's simplify things and try to avoid those two issues at the same time. Do you see the problem with a minimal project, not using symlinks, but using the same launch.json (with "localRoot" adjusted appropriately)? Here's an example:
# spam.py
print('before')
print('during')
print('after') |
I tried to reproduce the scenario with HTTPServer and everything went OK:
So I suppose the problem is in the complexity of my working server and perhaps some implicit consequences. |
@ruselcmplx, we'd still like to find the cause of the problem. :) Would you mind trying that simple project but add a Cyrillic character to the module's filename? |
Its been a month since the information was requested. Closing due to inactivity. |
Environment data
Expected behaviour
VSCode debugger stops at the breakpoint with access to the code
Actual behaviour
VSCode pauses, but nothing happens, no visual "stopping", not even tries to create cmd-tab with connection cmd-line
Steps to reproduce:
Logs
debug18628.log
The text was updated successfully, but these errors were encountered: