stack overflow when reading object tooltips causes debug session to terminate
Open
Debugger
Feature Request
OmniSharp
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 737
- Avg merge
- 18h 40m
- Merged PRs (30d)
- 31
Description
my intention was to debug code which causes infinity recursion ;)
unfortunatelly it was in object ToString override;
instead i couldn't debug that code - vscode or omnisharp also went into that routine causes debug session to terminate:
how to reproduce:
```
class infinity {
public override string ToString()
{
return this.ToString();
}
}
class Program {
static void Main(string[] args) {
var inf = new infinity();
/* put breakpoint below, start debug session and move mouse cursor over inf object*/
Console.WriteLine(inf.ToString());
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.