pylance-release icon indicating copy to clipboard operation
pylance-release copied to clipboard

a problem appears in remting to a linux (vs code advice me submit a issue)

Open zrq1706 opened this issue 1 year ago • 3 comments

Environment data

  • Language Server version: 2024.9.2
  • OS and version: linux x64
  • Python version (and distribution if applicable, e.g. Anaconda):
  • python.analysis.indexing: true
  • python.analysis.typeCheckingMode: off

Code Snippet

XXX

Repro Steps

  1. XXX

Expected behavior

XXX

Actual behavior

XXX

Logs

XXX

zrq1706 avatar Sep 22 '24 11:09 zrq1706

how can I provide detailed information such as log .etc?

zrq1706 avatar Sep 22 '24 11:09 zrq1706

the main problem is that the speed at which Pylance parses code is very slow (about 3000 to 4000ms each time).

zrq1706 avatar Sep 22 '24 11:09 zrq1706

Our log appears as "Python Language Server" in the Output pane.

There's more detail about collecting data to investigate issues, including cpuprofiles which might be useful in this case, here.

debonte avatar Sep 22 '24 15:09 debonte

This issue has been closed automatically because it needs more information and has not had recent activity. If the issue still persists, please reopen with the information requested. Thanks.

github-actions[bot] avatar Oct 23 '24 11:10 github-actions[bot]