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
1
vote
2 answers

Why doesn't Edit & Continue work for me in VS2008 with a legacy C++ win32 project?

If I create a new win32 C++ project in VS2008 I can use Edit & Continue with it just fine, but with this legacy project I'm working with my attempts to use / enable it have failed. Here are things I've checked: Tools -> Options -> Debugging -> Edit…
Jamie Fristrom
  • 341
  • 4
  • 11
1
vote
1 answer

"Edit and Continue" doesn't work - VS2010 with TFS - Locked files in the Solution

In my Visual Studio 2010 the Edit & Continue debug functionality with a specific Solution under TFS doesn't work. There's no error, but when the execution of the application stops at the breakpoint, I can't modify the files with the code. It seems…
0
votes
0 answers

How to support Hot Reload/Edit and Continue in a custom IIncrementalGenerator that relies on AdditionalFiles?

I'm implementing the following source generator in a project of my solution: [Generator] public sealed class AvaloniaXamlSourceGeneraor : IIncrementalGenerator { public void Initialize(IncrementalGeneratorInitializationContext context) { …
0
votes
1 answer

Hotswapping / Edit and continue for C/C++, Linux

I'm looking for an IDE that supports a (Visual Studio's) Edit and continue -like feature. I know Netbeans has it for Java (called hotswapping, Fix and continue), but can not find anything about an implementation for C/C++ for Linux systems. Any help…
RobotRock
  • 4,211
  • 6
  • 46
  • 86
0
votes
0 answers

VS2019 Edit And Continue error "Edits were made which cannot be compiled" for custom file generating cpp

I am using custom language say FileName.xyz which on separate tool precompilation/preprocessing temporarily generates C++ files FileName.cpp, which in turn is built using VS build to an executable FileName.exe(and PDB for temporary C++ files…
0
votes
1 answer

Visual studio /editandcontinue error NEN1014 How can I resolve this error?

I'm trying to use the "Edit and Continue" feature in Visual Studio 2022, but it gives the warning "Code not able to compile" and then the following error: 'Debug.exe' in 'Base.cpp' was not linked with Edit and Continue enabled. Make sure that the…
0
votes
1 answer

how to auto reload during debuggin in pyDev

I have PyDev 3.8+ on Eclipse and I can't get auto-reload to work. I have checked all options in the PyDev > Debug > When file is changed, automatically reload module, but still I can't make it work. enter image description here i want to change…
0
votes
0 answers

Can not debug (edit and continue) with "On error goto"

I am using VS 2019 (VB.net) and I can not edit and continue when debugging when I have "On error goto" I use this feature with no problem in VS 2012 (VB.net). How to make edit and continue work with "On error goto" statement in VS 2019…
0
votes
1 answer

Edit and continue seems to work only intermittently with my console app

At one point, I used to have no issues editing code while debugging my console apps. Now, editing even simple code like strings and moving IF/THEN blocks around triggers the following message: I don't have any plugins installed and don't know what…
0
votes
1 answer

Visual Studio Code, Python, Unhandled Exception - Can I correct and continue?

I have some code that doesn't follow very good coding practices, which I've been asked to review and modify. It interfaces with another program, which it uses to setup and run simulations. As it takes a very long time for the program to setup these…
0
votes
1 answer

Why does Edit & Continue stop working

I have a large C++ project under VS2008, and use edit & continue quite a bit during debugging. However, sometimes after quite minor changes edit and continue simply stops working. Debug / apply code changes is greyed out. If I rebuild all, it…
SmacL
  • 22,555
  • 12
  • 95
  • 149
0
votes
0 answers

Debugging in Visual Studio 2008 Second level form

I'm using Visual Studio 2008 in developing VB.NET windows application , this application contains MDI_PARENT form and many MDI_CHILDS forms. when i run F5 (start debugging) , and stop in BREAK-POINTS and need to edit the code , it allows me to edit…
MoniR
  • 1,351
  • 12
  • 18
0
votes
1 answer

Behavior of Visual Studio when editing whilst building

In Visual Studio 2017 (15.9.16) I can keep on editing source files after I started a build with the Debug > Start Debugging command (F5). While I am specifically asking this for the C# compiler, it would also be interesting to know if C++ behaves…
Cee McSharpface
  • 8,493
  • 3
  • 36
  • 77
0
votes
1 answer

Visual Studio shortcut key for edit-and-continue: pause, (compile) and then run again

Is there a shortcut key for pause and then, run again immediately after compilation? It will be helpful when debugging while doing edit and continue...
0
votes
1 answer

How can I force Visual Studio to allow editing code while running, while Edit and Continue is enabled?

I want 'Edit and Continue' to be enabled. I also want to edit code files will the game is running, with the understanding that those changes won't be applied immediately. Basically Visual Studio is trying to protect me from confusion, as editing…
baddie
  • 437
  • 5
  • 13