Edit & Continue: Allow the modification of lambdas and anonymous methods
Edit and Continue has always been a staple of Visual Studio development; it's one of the most important features that make it better than other IDEs. In 2002, Visual Studio .Net came out, and didn't have Edit and Continue, which made it very hard to use. In 2003, the new version had Edit and Continue and I was jubilant.
Enable edit and continue for lambda changes; that might mean that you even have to allow edit and continue to add new methods, but that should be possible using light-weight code generation.
(Filed on behalf of "The Configurator": https://visualstudio.uservoice.com/admin/users/14358195-the-configurator)
You can now evaluate lambda expression starting with Visual Studio 2015 Preview http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs
For more information, please, read: Support for debugging lambda expressions with Visual Studio 2015
We are currently working on edit and continue support for Lambdas. I can’t give you an exact time frame as we are quality driven, but we’ll ship it as soon as it is ready so please keep following our 2015 announcements.
There will also be an update on the related UserVoice item: https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/4079440-edit-continue-allow-the-modification-of-lambda
If you would like to follow news about the Visual Studio Debugger, please subscribe to our blog or to our twitter account.
Thanks for sharing this suggestion with us and for using Visual Studio!
Visual Studio Diagnostics
Modifying a method inside the context of a generic type will prevent the debug session from continuing while Edit and Continue is enabled
I am getting error below and it is quite annoying.
Modifying a statement which contains an anonymous method will prevent the debug session from continuing while Edit and Continue is enabled
And you implemented proper Edit and Continue for C++ (i've checked it) why problems with essentially dynamic C# ??????????????
Currently VS not usable without proper Edit and Continue ! I have to create new methods instead of simple lambdas to avoid problems with debugging. Common Lisp allows to edit anything and execute again, you could try to implement same scheme for lambda's - user changes code of method containing lambda expression and it would allow to execute and edit again on next method call. Better than nothing!
Lambda's what? (Grammar, the difference between knowing your s**t and knowing you're s**t)
This should had been implemented for lambada's ages ago!
Disgraceful on such a costly IDE for this still not implemented! I'll have to go back to creating event handlers as seperate functions to enable more flexibility in Edit and Continue.
fake voters !
Eric B commented
And allow lambda's in the Immediate's window too !