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)
A preview of edit and continue support for Lambda expressions is available in the Visual Studio 2015 RC release (see http://blogs.msdn.com/b/visualstudioalm/archive/2015/04/29/net-enc-support-for-lambdas-and-other-improvements-in-visual-studio-2015.aspx). We’re still working through bugs in the capability so we’re not calling it complete yet, but please give it a try and report any problems you encounter with it on the Roslyn GitHub issues page https://github.com/dotnet/roslyn/issues/
Visual Studio Debugger
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 !