VSCode freezes after clicking at some warning
See original GitHub issueEnvironment data
- VS Code version: 1.52.1
- Extension version (available under the Extensions sidebar): 2020.10.332292344
- OS and version: Manjaro Linux 20.2.1 Nibia
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): Nothing
- Relevant/affected Python packages and their versions: XXX
- Relevant/affected Python-related VS Code extensions and their versions: XXX
- Value of the
python.languageServer
setting: Microsoft
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
click to warnings should show me some line of code
Actual behaviour
instead it hangs up, and all VSCode app crashes
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
- just to click to some warning
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
XXX
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Breakpoint hit -> window gets focused -> VS Code freezes for ...
Steps to Reproduce: Set breakpoint in js.-file; Launch debug-session in browser (all breakpoints in dev-mode disabled); Switch to browser window ...
Read more >Visual Studio Code freezes after short while "The window is ...
Problem: I can open VS code and start typing but after ~30s (sometimes minutes) the window freezes showing this message:.
Read more >visual studio 2022 hangs randomly - Visual Studio Feedback
I have seen the pesky “Access Denied” message a couple of times when committing code, but a simple click of the “Refresh” icon...
Read more >Visual Studio Constantly Hangs and Freezes or Restarts Itself ...
The crash/restarts don't come with a hang or any warning at all. The program just completely and instantly closes itself with no warning...
Read more >Why does Visual Studio Code work slow in Ubuntu?
However, Electron/Chromium are slower rendering to canvas on some environment and so VS Code also provides a fallback DOM-renderer ...
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
@arduinka55055 please try a different language server; we recommend Pylance. Please let us know if that fixes things for you.
The freezing is due to MPLS, so you would need to file a bug over at https://github.com/microsoft/python-language-server, but to be honest, all of our dev work is behind either Pylance or Jedi, so I would not expect it to get fixed.