Questions tagged [edit-and-continue]

Edit and Continue is a feature of Microsoft Visual Studio that enables you to make changes to your source code while your program is in break mode.

Edit and Continue is a time-saving feature of Microsoft Visual Studio that enables you to make changes to your source code while your program is in break mode. When you resume execution of the program by choosing an execution command like Continue or Step, Edit and Continue automatically applies the code changes with some limitations. This allows you to make changes to your code during a debugging session, instead of having to stop, recompile your entire program, and restart the debugging session.

This tag should be used for questions relating to the feature.

See: MSDN - Edit and Continue

91 questions
11
votes
3 answers

Is there a way to *completely* disable Edit and Continue?

I was wondering if there was a way to completely lock my code while debugging it within Visual Studio 2008. The code documents lock automatically when running as 64 bit applications, which I greatly prefer; however, I do most of my coding making…
Mike Rosenblum
  • 12,027
  • 6
  • 48
  • 64
9
votes
1 answer

Can I make 'Edit-and-continue' = true the default for all new web projects in Visual Studio?

When creating a new web project in Visual Studio 2010 I always forget to enable 'Edit and Continue' until it's "too late". (i.e. until I am editing while debugging and wish I was able to continue). So I would like "Edit & Continue" to be enabled by…
Leon Bambrick
  • 26,009
  • 9
  • 51
  • 75
9
votes
2 answers

Edit and Continue in ASP.NET MVC 3 application

Is it possible to Edit and Continue in ASP.NET MVC 3 app using Visual Studio 2010? If so, how can I do that? btw, my OS platform is x86. Edit: when I hit f5 and then try to edit the code I receive the following error: Changes are not allowed while…
Shaokan
  • 7,438
  • 15
  • 56
  • 80
9
votes
1 answer

Edit & Continue doesn't work

I'm trying to get managed Edit & Continue working (in Visual Studio 2015 v14.0.25425.01 update 3) and it's giving me the dreaded dialog, "Changes are not allowed in the following cases:" Attached to a process that does not support Edit and Continue…
7
votes
3 answers

Visual Studio 11 Debugger fixes/features/improvements (for C# debugging in particular)?

Sorry for what seems like it's likely covered in a FAQ/blog somewhere, but my Google-fu is apparently weak. :( There's a handful of things that the debugging experience in VS 2010 lacks that seems like they're likely to be fixed during VS 11 (at…
James Manning
  • 13,429
  • 2
  • 40
  • 64
7
votes
8 answers

Visual Studio 2013 Edit and Continue not working

With VS2013 Pro I am not able to use "Edit and Continue" when debugging an MFC program. I created a new MFC project to test. OS is Windows 7 64-bit and I'm running Visual Studio 2013 12.0.30110.00 Update1. Under Tools->Options->Debugging->Edit and…
MaxiFlash
  • 103
  • 1
  • 2
  • 9
6
votes
1 answer

Enabling editing code while the app is running in Visual Studio (WP8)

I am developing Windows Phone 8 apps with Visual Studio and not being able to change the code while the app is running makes me crazy. I fall for it everytime. Trying to change the code before stopping debugging. Tools > Options > Edit and Continue…
5
votes
4 answers

How to ensure that the /EDITANDCONTINUE directive is not ignored

I get this message when I try to edit and continue in VSC15: 'file.cpp' in 'LIB.DLL' was not linked with Edit and Continue enabled. Ensure that /INCREMENTAL linking is enabled, and the /EDITANDCONTINUE directive is not ignored. I've already…
Enigma
  • 1,247
  • 3
  • 20
  • 51
5
votes
2 answers

Using VS 2013 and .net 4.5.1 but still getting “Changes to 64-bit applications are not allowed”

I'm using VS 2013 Ultimate with Update 2 on Win 8.1 x64 and VS won't let me use edit and continue on a simple console application. The console app is set to use .net 4.5.1 and AnyCPU but whenever I try to change code while debugging I get the…
5
votes
1 answer

What's the purpose of GeneratedInternalTypeHelper.g.i.cs?

I have the annoying problem, that since I changed to my new development machine (Win 7, VS 2013), the edit and continue feature in a WPF application (.net 4.0) is not working anymore. If I try to edit some code file while debugging, I always get the…
iber
  • 51
  • 1
  • 4
4
votes
1 answer

What makes Edit-and-Continue difficult/impossible for Silverlight? What's the next-best thing?

NOTE: related question from ~2 years ago just confirmed SL3 couldn't do it. Since Silverlight 5 will (AFAICT) still not have edit-and-continue support (even for out-of-browser, again AFAICT), I wanted to ask if anyone knew what made it such a…
4
votes
1 answer

Visual Studio optimizes code even if "optimize code" is not flagged

I'm building a quite simple c# windows Forms Application in Visual Studio 2017, Framework version 4.7 I cannot use the Edit and Continue functionality even if my project is compiled in Debug mode, code optimization is disabled, TRACE and DEBUG flags…
4
votes
0 answers

Edit and Continue Slow Visual Studio 2015 in C# Winforms application

My company recently upgraded from Visual Studio 2012 to Visual Studio 2015. Our main application is a large c# winforms application. In 2012, we could begin typing on a break point and it would almost instantaneously begin editing the file. However,…
dave
  • 41
  • 3
4
votes
1 answer

Why doesn't F# support Edit and Continue?

Visual Studio's Edit and Continue and other IDE's equivalent operations are very effective for experimentation in interactive applications, since you don't have to restart the app to see the effects of the code change (most of the time). If Visual…
Jwosty
  • 3,497
  • 2
  • 22
  • 50
4
votes
1 answer

ServiceStack Funq Container WeakReference proliferation

I recently wrote a small service that handles high amounts of throughput (on the order of 60+ million requests per day) and it is encountering memory issues. At first, I looked through all of the usual suspects convinced that it had to be something…
welegan
  • 3,013
  • 3
  • 15
  • 20