You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm debuging my python code and put a breakpoint where execution halts without issues. When I however step over, step out, continue with, also an enter is inserted at the cursor position. This sometimes also occurs just before hitting the breakpoint.
Expected behavior
Debug controls should not modify my code
Steps to reproduce:
Edit any python scipt in vscode
Put a breakpoint
Debug the script, let it hit the breakpoint
Put the cursor mid-line
Choose step over or continue and the code is changed afterward, an enter has been put at the cursor position
A reboot of my computer did not give other results
I put my cursor at this position where the line was still complete with the next line appended.
I put a breakpoint there and ran the code in debugger
Choose Continue button
Code hit the next breakpoint
I scrolled back to find the previous break location changed like in the picture, text after the previous cursor position was put at next line
The text was updated successfully, but these errors were encountered:
Thanks for the issue but this wouldn't be debugpy doing this. Debugpy has no code running in VS code. There must be some other extension that's doing something when a debug event occurs.
I would try it again with all other extensions disabled.
Thanks, I was working from home yesterday (using bluetooth mouse, different keyboard, different monitor) and now working from office (wired mouse, docking station) and the issue is not seen anymore, I can't reproduce anymore. I will check next time I work from home but I agree to close it.
Environment data
Actual behavior
I'm debuging my python code and put a breakpoint where execution halts without issues. When I however step over, step out, continue with, also an enter is inserted at the cursor position. This sometimes also occurs just before hitting the breakpoint.
Expected behavior
Debug controls should not modify my code
Steps to reproduce:
Edit any python scipt in vscode
Put a breakpoint
Debug the script, let it hit the breakpoint
Put the cursor mid-line
Choose step over or continue and the code is changed afterward, an enter has been put at the cursor position
A reboot of my computer did not give other results
The text was updated successfully, but these errors were encountered: