EnC Improvements for .NET Debugging in Visual Studio 2015
You may recall that we previously asked you how important Edit and Continue is to your workflow and what current limitations are most painful. While removing these limitations is an ongoing process we’re pleased to announce that a number of previously unsupported edits are now supported in Visual Studio 2015 CTP 6. These include:
- Adding methods, fields, constructors, properties, events, indexers, field and property initializers, and nested and top-level types (including delegates, enums, interfaces, abstract and generic types)
- Modifying bodies of constructors (including constructor initializers), expression-bodied members, and field and property initializers
- Adding and modifying methods that use the following types and features:
- Working with dynamic objects
- C# 6.0 and VB 14 language features: string interpolation, null-conditional operators, etc.
- Reordering type members and type parameter constraints
- Refactoring code using extract method and inline temporary variable when using Ctrl + .
Additionally we added Make Object ID support to the new expression evaluators that support Lambda expressions including an updated syntax that is consistent with other debugger pseudo variables.
The managed languages team has written a blog post covering these enhancements in further detail on the C# blog I would encourage you to read.