-
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
Debug error when finished running code in integrated/external terminal #191
Debug error when finished running code in integrated/external terminal #191
Comments
What do you mean by the above statement? Does the debug window display the text |
From @General-Gouda on October 19, 2017 15:53 I am also getting the same error after every debug session. See attached GIF for demonstration. VS Code version: 1.17.2 launch.json debug config I ran: |
Hi, Same problem here with most recent version. VS Code version: 1.18.0
Thanks for your help. |
@Pierre-Royer Are you debugging the code or just running it without debugging (using CTRL+F5)? |
With CTRL-F5 I have no problem at all. This issue occurs only while debugging the code (F5) and exit the app or close the console. It doesn't occurs when I stop the debugging (SHIFT-F5). |
By "prompt not in the source appears when the program is finished:" I mean that after my program completes and I see for example "Hello, world!" in the debug window, another prompt appears saying Here is the terminal:
If I edit the configuration to remove |
#249) - Fixes #25, #32, #35, #235, #242 (unable to run without debugging using CTRL+F5) - Fixes #191, #158, #24, #136 (error message displayed when debugged code terminates) - Fixes #157 (debugger crashes when python program does not launch) - Fixes #114, #149, #250 (use vscode infrastructure to launch debugger in integrated and external terminals) - Fixes #239 Remove prompt added to pause terminal upon program completion
Considering as a dupe of #239 |
From @JasonGoemaat on September 27, 2017 23:45
Environment data
VS Code version: 1.17.0-insider
Python Extension version: 0.7.0
Python Version: 3.6.2
OS and version: Windows 10
Actual behavior
Program debugs in terminal (either integrated or external) and a prompt not in the source appears when the program is finished:
After pressing a key, either A) External terminal closes or B) Integrated terminal returns to the command prompt. At the same time an error pops up at the top of the visual studio code window that I have to close:
Expected behavior
After program has finished and I press a key, no error message is displayed
Steps to reproduce:
Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)Copied from original issue: DonJayamanne/pythonVSCode#1250
The text was updated successfully, but these errors were encountered: