vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Can't stop terminal after entering into infinite loop

Open Rajat-S-Patel opened this issue 7 years ago • 3 comments

Issue Type: Bug

start an infinite loop and the try to kill the terminal. It will not respond.

Extension version: 0.26.2-insiders VS Code version: Code 1.40.1 (8795a9889db74563ddd43eb0a897a2384129a619, 2019-11-13T16:49:35.976Z) OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.88GB (4.23GB free)
Process Argv
Screen Reader no
VM 0%

Rajat-S-Patel avatar Nov 21 '19 06:11 Rajat-S-Patel

Hi @Rajat-S-Patel . Is this issue specific to the C/C++ Extension, or is it a general VS Code issue? (The GitHub repo for VS Code is here).

If specific to the C/C++ Extension, could you provide a bit more information? How are you causing an infinite loop?

Colengms avatar Nov 21 '19 21:11 Colengms

This is a general VS code issue. Any infinite loop can't be terminated. Sometimes I can kill terminal but after that VS code do not respond and I have to close it forcefully. A simple infinite for loop can be use to generate a similar problem

Rajat-S-Patel avatar Nov 22 '19 03:11 Rajat-S-Patel

Hi @Rajat-S-Patel, it sounds like this issue is with the VS Code terminal and not specific to the C/C++ extension. Please file this issue at the VS Code repository.

michelleangela avatar Nov 22 '19 17:11 michelleangela