-
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
Not working Ctrl+F5 for a second time #25
Comments
When I open a Python file without opening a folder I get the error
when I try to run a file through ctrl+F5. If I instead open the folder where the file is and press ctrl+F5 VS Code opens a launch.json-file. After I've saved that and press ctrl+F5 again, there's a progress bar in the debug activity bar, but the code doesn't seem to run. I can't find a way to stop the progress bar other than restart VSCode. If I instead press F5 to run with debugging the debug bar appears, and the program is stopped. If I press F5 for continue the code runs and exits as expected. This works again and again, at least until I press ctrl+F5 again. After pressing ctrl+F5 and the progress bar is active pressing F5 does nothing, but selecting and running a debug configuration from the status bar does start the debugger again. After finishing the progress bar is still active though. All this is using a one line program, As a workaround you can bind python.execInTerminal to something, or run Python Run in terminal from the command palette. Hopefully now that Microsoft have hired @DonJayamanne (congrats!) and made this an official extension they will make it a priority to make it easy to run Python scripts without having a working folder or installing more extensions like Code runner. |
Please could you provide a screenshot of the above error. |
@DonJayamanne sure: Windows version: Microsoft Windows [Version 10.0.16299.19] From the developer console: |
#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
I still have this issue on Mac OS. Run without debugging does not work for second time. |
We haven't released a new version yet, Please wait for the next release, we plan on releasing something next week. |
Nothing happened when you run simple hello world script for a second time without debugging.
The text was updated successfully, but these errors were encountered: