How can I avoid a timeout in the nearest window?

I have a regular one in memory List<T> containing about 10 thousand elements. When I try to request this list in the direct window of the visual studio, I get an error message:

MyList.Where(m => m.Name.StartsWith("x"))
{System.Linq.Enumerable.WhereListIterator<T>}
    Error: Evaluation timed out

I checked the source System.Linq.WhereListIterator<T>and it does not seem to throw any exceptions, so I assume this is an immediate window that determines when to exit the request. Is there a way to set the wait time or avoid it differently?

+4
source share

Source: https://habr.com/ru/post/1666623/


All Articles