dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.87k stars 676 forks source link

Running application with Debug panel showing causes extreme slow down / cpu usage #2826

Open jtsom opened 5 years ago

jtsom commented 5 years ago

(Reposted from VS Code repo as they say it is caused by an extension)

Issue Type: Bug

Running a C# (ASP.Net core application) with the Debug window open / showing, results in an unresponsive VS Code window. The "This window is unresponsive, do you wish to close?" prompt shows. Also, the process is using 100% CPU. Running the application, but making sure the Debug window is not showing (either the panel is closed or another tab is showing - Terminal, etc.) and the application runs fine.

VS Code version: Code - Insiders 1.31.0-insider (9fe48f15b1a252a0e9e1ef5975301203baf10b8a, 2019-01-25T08:11:48.342Z) OS version: Darwin x64 18.2.0

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (3.39GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (12) Extension|Author (truncated)|Version ---|---|--- json-to-ts|Mar|1.5.5 ng-template|Ang|0.1.11 path-intellisense|chr|1.4.2 githistory|don|0.4.4 auto-rename-tag|for|0.0.15 Angular2|joh|7.0.1 csharp|ms-|1.18.0-beta4 vscode-typescript-tslint-plugin|ms-|0.4.0 debugger-for-chrome|msj|4.11.1 material-icon-theme|PKi|3.6.2 open-in-browser|tec|2.0.0 vscodeintellicode|Vis|1.1.2 (3 theme extensions excluded)
niklaskarl commented 5 years ago

2825

just filed this issue a few minutes ago. Coincidence?

jtsom commented 5 years ago

I'm thinking not...

rchande commented 5 years ago

cc @gregg-miskelly

guylando commented 5 years ago

+1

jrrcdev commented 4 years ago

+1