in 10-Debugging/DebuggingDemo/Program.cs [20:43]
private static void Main(string[] args)
{
// Advanced - Step into (F11) the line `JsonConvert.DeserializeObject<List<Person>>(json);`
// See that Rider decompiles third party code and steps into that decompiled code.
var json = File.ReadAllText("people.json");
var people = JsonConvert.DeserializeObject<List<Person>>(json);
// Add breakpoint to next line
var count = people.Count;
PrintPeople(people);
// Advanced - Uncomment next call to PrintPeople
// Step into, step out of
// Smart step into - Shift+F7
// Rider will prompt which method call to step into
// Smart set breakpoint - click in gutter, Rider will prompt to add breakpoint for
// method call or lambda expression, or both ("All")
// PrintPeople(FilterPeople(people, BuildPredicate(person => person.Company.Country, "CZ")));
Console.WriteLine("Press <enter> to quit.");
// See "Console" tab in Debug tool window for output, and to hit <enter>
Console.ReadLine();
}