Type: Bug
First I faced this behavior in my own code. Then I tried to run code from manual for testing.
Example code was taken from ciscoconfparse2 manual https://www.pennington.net/py/ciscoconfparse2/tutorial_parent_child.html :
conf = """
policy-map QOS_1
class GOLD
priority percent 10
class SILVER
bandwidth 30
random-detect
class default
!
interface Ethernet0/0
ip address 1.1.2.1 255.255.255.0
no cdp enable
!
interface Serial1/0
encapsulation ppp
ip address 1.1.1.1 255.255.255.252
!
interface Serial1/1
encapsulation ppp
ip address 1.1.1.5 255.255.255.252
service-policy output QOS_1
!
interface Serial1/2
encapsulation hdlc
ip address 1.1.1.9 255.255.255.252
!
class-map GOLD
match access-group 102
class-map SILVER
match protocol tcp"""
config = conf.split('\n')
from ciscoconfparse2 import CiscoConfParse
parse = CiscoConfParse(config)
serial_objs = parse.find_objects("^interface Serial")
print(serial_objs)
Steps to reproduce:
-
Start debuging the code.
-
execute line serial_objs = parse.find_objects("^interface Serial")
-
In Variables window try to expand object serial_obj
serial_obj -> 0 -> all children -> 0
-
VS Code freezes
-
Afrer clicking red square button several times the xode execution cancelled and VS Code will unfreeze
It reproduses with all unnecessary plug-ins disabled
It reproduces in VS Code Insiders
There is no freeze in PyCharm wile expanding objects
Python 3.13.7
ciscoconfparse2==0.8.34

VS Code version: Code 1.104.1 (0f0d87fa9e96c856c5212fc86db137ac0d783365, 2025-09-17T23:36:24.973Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
| Item |
Value |
| CPUs |
12th Gen Intel(R) Core(TM) i5-1240P (16 x 2112) |
| GPU Status |
2d_canvas: enabled 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 trees_in_viz: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
undefined |
| Memory (System) |
15.73GB (2.27GB free) |
| Process Argv |
--crash-reporter-id 5a772a63-00ab-4152-a0e3-b65436ccc523 |
| Screen Reader |
no |
| VM |
0% |
Extensions (12)
| Extension |
Author (truncated) |
Version |
| vscode-django |
bat |
1.15.0 |
| python-environment-manager |
don |
1.2.7 |
| python-extension-pack |
don |
1.7.0 |
| vsc-python-indent |
Kev |
1.21.0 |
| debugpy |
ms- |
2025.10.0 |
| python |
ms- |
2025.14.0 |
| vscode-pylance |
ms- |
2025.8.1 |
| vscode-python-envs |
ms- |
1.8.0 |
| autodocstring |
njp |
0.6.1 |
| intellicode-api-usage-examples |
Vis |
0.2.9 |
| vscodeintellicode |
Vis |
1.3.2 |
| jinja |
who |
0.0.8 |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
aj953862:31281341
nesew2to5:31336538
agentgpt4:31387437
nes-set-on:31351930
6abeh943:31336334
0927b901:31350571
ovs_t:31383295
0cj2b977:31352657
gaj49834:31362110
cloudbuttont:31379625
todos-1:31384886
multireplacestring:31387918
control_gpt5applypatchexclusively:31387916
3efgi100_wstrepl:31382709
trigger-command-fix:31379601
auto_model_enabled:31385282
Type: Bug
First I faced this behavior in my own code. Then I tried to run code from manual for testing.
Example code was taken from ciscoconfparse2 manual https://www.pennington.net/py/ciscoconfparse2/tutorial_parent_child.html :
Steps to reproduce:
Start debuging the code.
execute line serial_objs = parse.find_objects("^interface Serial")
In Variables window try to expand object serial_obj
serial_obj -> 0 -> all children -> 0
VS Code freezes
Afrer clicking red square button several times the xode execution cancelled and VS Code will unfreeze
It reproduses with all unnecessary plug-ins disabled
It reproduces in VS Code Insiders
There is no freeze in PyCharm wile expanding objects
Python 3.13.7
ciscoconfparse2==0.8.34
VS Code version: Code 1.104.1 (0f0d87fa9e96c856c5212fc86db137ac0d783365, 2025-09-17T23:36:24.973Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (12)
A/B Experiments