Debugging Lambda Expression in Visual Studio 2015 Features
Debugging Lambda Expression is one of the coolest feature Visual Studio 2015.
In the earlier version of Visual Studio 2013 there is no support for debugging lambda expressions. When we try to debug a lambda expression to the Quick Watch and Immediate window - we generally get an error stating 'Expression cannot contain lambda expressions'. See below :-
In Visual Studio 2013 |
To overcome this problem visual studio 2015 introduced a new feature for debugging lambda expression/LINQ statement. This is really a big productivity improvement for .net developers who spend lots of time writing LINQ statement. You can easily evaluate LINQ/Lambda expression in Watch Window, Immediate Window and in DataTips.
Visual Studio 2015 - Support available for debugging lambda expressions |
Happy Coding..
Debugging Lambda Expression in Visual Studio 2015 Features
Reviewed by Ravi Kumar
on
12:36 AM
Rating:
No comments: