Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger: takes a long time to start and populate the locals window for the first time #896

Open
qian6 opened this issue Nov 9, 2016 · 4 comments

Comments

@qian6
Copy link

qian6 commented Nov 9, 2016

Environment data

dotnet --info output:
VS Code version: 1.7.1
C# Extension version: v.1.5.0-beta7
.NET Core version: 1.0.0-SDK Preview4

Steps to reproduce

  1. Open hwapp folder in attachments directly
  2. Set a breakpoint at line of 10 in Program.cs file
  3. Press F5 to start debugging

Expected behavior

It should display immediately variables value in local window

Actual behavior

After it hit breakpoint ,and it display variables value more than 6 seconds in local window
hwapp.zip

@gregg-miskelly
Copy link
Contributor

gregg-miskelly commented Nov 9, 2016

@qian6 What OS are you using? If you are on Windows, can you save a perf trace with PerfView (be sure to check the checkbox for thread time)

@qian6
Copy link
Author

qian6 commented Nov 10, 2016

Windows OS have this issue。

@qian6
Copy link
Author

qian6 commented Nov 10, 2016

Thanks for your help.
Follow your steps, I get a perf trace, and hoping to help you analyze this issue.
Because of the size of file too big ,I will stored in this path\vsdbgqa\CTIResources\VSDiag\Private\Qian

@rajkumar42
Copy link
Contributor

Thanks for the perf trace @qian6 . We identified the slowness is attributed to jitting. We have a work item in for publishing precompiled NI images to improve perf.

@gregg-miskelly gregg-miskelly changed the title Debugger:Local windows value could load successfully about 6 seconds after hitting breakpoint Debugger: takes a long time to start and populate the locals window for the first time Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants