BT

VS2015 Update 1 Improves C++ Edit and Continue Support

| by Jeff Martin Follow 16 Followers on Dec 09, 2015. Estimated reading time: 1 minute |

Visual Studio 2015’s improved support for Edit & Continue (EnC) with C++ provided many enhancements to make it usable on a daily basis.  Some limitations remained, frustrating those who wanted to use EnC with their Windows Store apps or FASTLINK.

Microsoft’s Ramkumar Ramesh has provided details on the improvements that VS2015 recent update brings to C++ developers.  The first batch of changes deals with some of the rough spots that remained in VS2015 RTM:

  1. Windows Store and DirectX apps now EnC capable:  These project types use the /bigobj compiler switch, and now EnC can be used when that switch is specified.
  2. Support for binaries linked with /DEBUG:FASTLINK: Supporting this means developers no longer face a tradeoff between obtaining faster build times or using EnC in their projects.
  3. Reserved space available for editing has been increased (but is not yet completely configurable):  At RTM it was hinted that the amount of reserved space would be configurable, but at present that is still not possible.  What has been done is an increase in the memory space so more changes can be made with EnC before running out of memory.

General improvements new to Update 1:

  • The compiling notice for EnC is now able to be canceled.
  • Notifying a user why a modified file doesn’t support EnC, rather than mysteriously ignoring an edit.
  • Reduced chances of the “Stale Code” error occurring.
  • Fixed the “fatal error C1092: Edit and Continue does not support changes to data types; build required” false positive. 

General user feedback from those who have applied Update 1 is mixed.  Some are reporting errors (C1092, provoked by FASTLINK) are still plaguing their projects but it is unclear as to whether these errors are project-specific.  In those situations disabling EnC is required to return to a working state.  Interested users will find the new options installed as part of VS2015 Update 1.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT