Code finishes fully executing after 'Disconnect' / Shift-F5 / terminate debugging #24205
Replies: 1 comment
-
@PeterMuhlberger I created this issue to track microsoft/debugpy#1686 . This is handled in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently ran into this: While doing a little step-through debugging with the vscode Python Debugger (extension), I tried to terminate the debugger by pressing the icon to disconnect the debugger. Instead of ending with a KeyBoardInterrupt as usual, the code after the breakpoint ran completely, creating quite a mess. The same problem occurs if I use Shift-F5, but not when I use the small square that terminates cell execution. I've tried a wide range of possible fixes to the problem, but it persists.
Before going any further, I should ask if this is the right place to report this problem and whether I should report it directly to Issues here? Beyond this: has anyone else run into this? Any suggested solutions?
(I've tried, among other things: Reinstalling my Python and Jupyter extensions; installing 2 month old versions of these extensions (before this problem started happening); disabling other extensions; inserting the default launch.json file in my workspace; trying to see if the problem occurs in a new notebook file outside the workspace I encountered the problem initially (it does); checking if setting the breakpoint above the initial line still causes continued code execution (it does); looking for potentially problematic lines in settings.json (saw none)).
Beta Was this translation helpful? Give feedback.
All reactions