Setting Breakpoint inside a Lambda in Visual Studio Options

codeling Posts: 1100 Points: 4620
Posted: Friday, January 1, 2016 9:50:53 PM

You all know that you can click the left gutter to set breakpoints at line level in Visual Studio.

You can actually insert a breakpoint inside parts of the line such as inside a lambda in your LINQ expression. Just right-click the part of the code and choose Breakpoint > Insert breakpoint from the context menu.

Users browsing this topic