Learn to use Visual Studio, Visual Studio Online, Application Insights and Team
Foundation Server to decrease rework, increase transparency into your application and increase the rate at which
you can ship high quality software throughout the application lifecycle
You asked, and we have listened. When using the debugger, Edit and Continue for 64-bit targeted environments is something that many .NET developers wanted, and voted heavily for on the Visual Studio uservoice site. The good news is that with the latest version of Visual Studio, it’s here and you can now try it yourself.
Here is how to see it in action:
Consider the following line of code and imagine you are stopped at that line in the debugger (e.g. due to a breakpoint)
int ret = 5 * foo;
If you try to edit that code and specifically from foo to bar (int ret = 5 * bar;) while debugging in previous versions of Visual Studio, you would see this dialog
With VS2013, the dialog will not appear again, and instead you’ll be able to edit the code and continue debugging.
For people who are new to the Edit and Continue feature, Edit and Continue eliminates the need to stop and restart a debugging session when a developer makes modification to code being debugged. This feature exist for 32-bit targeted environments and with the latest version of Visual Studio it is now available for 64-bit. Please read online for more on the Edit and Continue debugger feature.
There are several ways that Edit and Continue helps the developer:
Note that some ASP.NET developers are not aware that support for Edit and Continue exists but requires developers to enable it first. This can be done by going to the project properties and under the web settings there is a checkbox you’ll need to check named “enabled Edit and Continue”. To simplify the workflow starting with Visual Studio 2013 the setting is turned on by default.
For Azure cloud tools developers there are two main options: web role and worker role. To enable Edit and Continue for web roles you’ll need to set your web role project to use IIS Express. Worker roles currently are not supported, however we will enable this in a future release.
In closing, we are really happy to bring this capability to you and as always your feedback is welcome in the diagnostics forum.
Does VS 2013 support edit & debug support for Lambda expressions as well?
Tarun, it's not here yet. See this post by the .Net Team: blogs.msdn.com/.../announcing-the-net-framework-4-5-1-preview.aspx
I don't know, I think the edit and continue is weak at best. I'm old...so I remember it in the VB days and it worked everywhere. The linq and lambda restrictions need to be removed for this really to be exciting....but let me be the 1st to say....if it that is the case....I will be over joyed.
Will Edit & Continue also work for 64 bit native C++ applications ?
Rolf, sorry this does not apply to C++, please vote for it on uservoice if that is what you'd like to see in future releases:
Tarun, no there have been no enhancements to EnC beyond supporting 64bit for managed, please vote for it on uservoice if that is what you'd like to see in future releases:
What about C++ native? Edit and continue doesn't work at all in the preview for either 32 or 64 bit:
How about an update for VS2012 to support edit and continue on 64 bit systems?
will this work in windows 7 or just windows 8?
@JoJo: Updating 2012 to support x64 EnC won't be possible, it requires the 2013 compilers and .NET 4.5.1
@Eli: Yes, this will work on Windows 7
Will edit and continue for x64 be available when the project is run under IIS and not IIS Express for normal web projects (not Azure web roles)?
Currently the Enable Edit and Continue option on project settings page is disabled when I select IIS
Will this work with SharePoint development?
What do you do when the Enable Edit and Continue is not enabled on a Web App?
Are you unable to set it? Are you using IIS Express or IIS?
No, EnC is not currently supported with IIS in VS 2013. The team responsible for this doesn't have any plans as of now to support it in our next release either.