dotnet / dotnet/vscode-csharp

Debugger:[Performance]Calculating 'typeof(Program)' in watch window takes more time

Open
#2,214 1 comment 0 reactions 0 assignees View on GitHub
Debugger OmniSharp Performance
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

## Environment data
`dotnet --info` output:
![image](https://user-images.githubusercontent.com/20184778/39173275-e3c9edb6-47d6-11e8-8009-cc92d401aa85.png)
VS Code version: 1.22.2
C# Extension version: 1.15.0-beta5

## Steps to reproduce

1. Download and open attachment in VSCode: [Thread.zip](https://github.com/OmniSharp/omnisharp-vscode/files/1941483/Thread.zip)
2. Set a breakpoint at line of 34 in Program.cs
3. F5
4. Add 'typeof(Program)' to watch window and expand this expression

## Expected behavior
The expression should be expanded immediately.

## Actual behavior
It takes about ten seconds to expand this expression.
![image](https://user-images.githubusercontent.com/20184778/39175253-6589b8a4-47dc-11e8-8036-ad93bb15ce0f.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.