Setting conditional breakpoints

Conditional breakpoints are another hidden gem when it comes to debugging. This allows you to specify one or several conditions. When one of these conditions is met, the code will stop at the breakpoint. Using conditional breakpoints is really easy.

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.