Python extension locks up VSCode during startup
See original GitHub issueEnvironment data
- VS Code version:
Version: 1.45.1
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:22.494Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-59-generic
- Extension version (available under the Extensions sidebar): 2020.5.86806
- OS and version: Ubuntu 18.04.4
- Python version (& distribution if applicable, e.g. Anaconda): OS has Python 2.7.17 and 3.6.9. I’ve also got 3.5.9, 3.7.7 and 3.8.3 installed via the deadsnakes PPA
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): OS Python, virtualenv (via
mkvirtualenv
) - Jedi or Language Server?
"python.jediEnabled"
:true
- Value of the
python.languageServer
setting: Microsoft
Expected behaviour
Initial startup of the Python extension is essentially a background activity.
Actual behaviour
Initial startup of the Python extension locks up VSCode and creates sufficient load that other programs slow down.
This is only noticeable on the first startup of the extension after a reboot or a long period of inactivity. Just restarting VSCode doesn’t reproduce this.
Steps to reproduce:
- start VSCode
- open any Python file
- try to click around within that file while the Python extension is starting up
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
VSCode freezing upon startup - Stack Overflow
VSCode is freezing upon starting in CentOS 7 (Linux smcr-centos7-x64-vm0 3.10.0-1160.25.1.el7.x86_64) when I install/use any version newer ...
Read more >Troubleshoot Terminal launch failures - Visual Studio Code
To troubleshoot Integrated Terminal launch failures in Visual Studio Code, follow these steps to diagnose issues: Check your user settings.
Read more >Running Visual Studio Code on Raspberry Pi OS
Open the VS Code argv.json file using the Preferences: Configure Runtime Arguments command. · Set "disable-hardware-acceleration": true . · Restart VS Code.
Read more >September 2021 (version 1.61) - Visual Studio Code
Locked editor groups - Select editor types to automatically lock in an editor ... workspaces without a launch.json configuration file, the Python extension...
Read more >November 2020 (version 1.52) - Visual Studio Code
New extension bisect feature - Troubleshoot which extensions are causing issues ... In order to not block startup for too long, VS Code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We are refactoring the entire python discovery process. We plan on addressing several issues with respect to performance and discovering python interpreters. One of the things we plan on doing is avoid blocking extension load on discovering interpreters.
With the latest release this should now behave better. We have a new discovery system that was in experiment for a while and is now live.