question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VSCode freezes after clicking at some warning

See original GitHub issue

Environment 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]

  1. just to click to some warning

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
brettcannoncommented, Jan 19, 2021

@arduinka55055 please try a different language server; we recommend Pylance. Please let us know if that fixes things for you.

0reactions
brettcannoncommented, Jan 21, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found