[Debugger Perf] Conditional BP evaluation on Linux is SLOW
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 18h 40m
- Merged PRs (30d)
- 31
Description
## Environment data
`dotnet --info` output:
VS Code version:
C# Extension version: 1.7.0
I ran the following code on Linux:
```CS
static void Main(string[] args)
{
var sw = new System.Diagnostics.Stopwatch();
sw.Start();
for (int i = 0; i < 100; i++)
{
var elapsed = sw.Elapsed;
// Do Something with i
int j = i; // bp here on i == 50
j++;
}
}
```
with a conditional breakpoint set on the specified line. The condition was `i == 50`.
When the breakpoint is finally hit, the value of `elapsed` is 5.7 seconds. This seems incredibly slow. On my Windows machine (granted it's a different machine), the value of `elapsed` is 0.35 seconds.
Contributor guide
Assessment
This issue has not been assessed yet.