You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when debug python(3.12.5), the plugin is hight cpu and vscode is stuck.
Steps to reproduce:
create test.py
test.py like below
from collections import Counter
f = Counter([1,2,3])
add breakpoint in the line self.update(iterable, **kwds) which below to Counter.__init__ function . In my code the line is python3.12/collections/__init__.py:607
start debug on test.py
the debug config is like below
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false
}
]
}
when debug run the breakpoint line, seems the vscode is stuck and find code helper(plugin) get 100% cpu
Extension version: 2024.14.1
VS Code version: Code 1.93.1 (Universal) (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Darwin arm64 23.6.0
Modes:
Python version (& distribution if applicable, e.g. Anaconda): 3.12.5
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Default
When I try to use start extension bisect and try to report it but the issue reporter cannot click the preview on github so the process info and A/B Experiments are for reference only
Type: Performance Issue
Behaviour
when debug python(3.12.5), the plugin is hight cpu and vscode is stuck.
Steps to reproduce:
self.update(iterable, **kwds)
which below toCounter.__init__ function
. In my code the line ispython3.12/collections/__init__.py:607
the debug config is like below
code helper(plugin)
get 100% cpuExtension version: 2024.14.1
VS Code version: Code 1.93.1 (Universal) (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Darwin arm64 23.6.0
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Process Info
Workspace Info
A/B Experiments
The text was updated successfully, but these errors were encountered: