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
3
votes
1 answer

What would get edit and continue working again?

Visual Studio's edit-and-continue feature stopped working at some point again. VisualStudio 2010 sp1 professional. I'm writing a dll with c++ native code. I run the host 32bit executable from the ide. I have the .pdb beside the .dll. I tried just…
Ben L
  • 1,449
  • 1
  • 16
  • 32
3
votes
0 answers

Visual Studio 2022 Edit and Continue Core 6 - Not Working

I can't find any rhyme or reason to this issue, other than Edit and Continue is causing delays regularly. Sure fire way to break it is to edit and continue (!): make a change in a function (.cs file) while stepping through. This will cause a delay…
3
votes
1 answer

Inspecting COM objects in VS 2017 debugger

I'm currently migranting an VBA powerpoint add-in to VSTO. For weeks I've been struggling with Visual studio degug for COM objescts. AS you can see on the image below, the object types show {system._ComObject} and object inspection becomes a…
3
votes
2 answers

Edit-and-continue not working in VS2019 Pro (WinForms app)

On 2 different computers (both Windows 10 Pro fully patched), I am running Visual Studio 2019 Pro (also fully patched). If I create a new dummy Windows Forms project (VB or C#), edit and continue works great. If I open a solution (composed of 25…
3
votes
0 answers

How can I detect "Edit and Continue" moment within my application?

I'm developing .NET application that draws some information on the screen. During the development it is very convenient to use Visual Studio's "Edit and Continue" feature, to make slight changes in code and have it immediately reflected on the…
Titan
  • 2,875
  • 5
  • 23
  • 34
3
votes
0 answers

Edit and Continue with UWP JS?

Is Edit and Continue feature available in UWP JavaScript at Visual Studio Community 2017 ? Like editing the HTML file (or .js maybe?) and instantly seeing the changes visually?
Muzib
  • 2,412
  • 3
  • 21
  • 32
3
votes
3 answers

ASP.NET Debugging problem

I'm building web sites in Visual Studio 2010. I recently upgraded to a new dev machine running windows 7 64-bit. Now, when I make a change to a webpage, I have to stop debugging, kill cassini, and start debugging again before the new code takes…
3
votes
1 answer

Dynamic compilation still does not work in ASP.NET 5 RC1?

The scenario from the "Dynamic Development" section from here http://weblogs.asp.net/scottgu/introducing-asp-net-5 does not work in ASP.NET RC1. I start a new MVC6 project, run it with the debugger, change some string, save the changes, nothing…
3
votes
1 answer

Scripting Language with "edit and continue" or "hot swap" support? ( Maybe possible in Lua?)

I am making my existing .Net Application Scriptable for non programming users. I added lua, it works like a charm. Then I added debug functionality(pause/continue/step) via debug.sethook. It works also like a charm. Now I realize that my Application…
2
votes
0 answers

Visual Studio 2015 Edit and Continue duplicates object fields

I am experiencing weird issues during Visual Studio 2015 Community debugging a 32-bit C# application (C# 6, .NET 4.5.2) on Windows 8.1 x64. If I do a couple of Edit and Continue iterations (i.e. break execution, change something, continue), after a…
vgru
  • 49,838
  • 16
  • 120
  • 201
2
votes
3 answers

VB.net Edit-And-Continue: ignore "unable to apply this change while debugging"

When using VB.Net (2008) and paused in debugging, Edit-And-Continue is a great time-saver. However if you change any module/class-level information (variable, sub/function signature, etc), you get the error message like this: "unable to apply this…
FastAl
  • 6,194
  • 2
  • 36
  • 60
2
votes
1 answer

Edit and Continue generating phantom errors

I am attempting to debug a program in vs2013 using edit and continue. I compile and run the program, hit enter to add a new line, then choose apply code changes. When it attempts to compile using edit and continue, i get the prompt saying that…
Jason
  • 2,147
  • 6
  • 32
  • 40
1
vote
0 answers

Is there any option in the python debugger to modify a line in the code while executing it, or to skip execution of some line?

If I realize that some line of my code will throw a runtime error while running the code in debug mode, I would like to save my time by correcting the code at a breakpoint. I could manually type the correct line of code and execute it, but when I…
Shreyas R
  • 31
  • 2
1
vote
1 answer

Visual Studio 2019 Edit and Continue not working

I have a VS 2019 Community edition installed. And I just installed the latest (update) Version 16.10.4. My project is a .NET Core 3.1 web application (Asp / MVC / C#). For some time now (I think it's 3 or 4 Visual Studio updates ago (within general…
TheMixy
  • 1,049
  • 15
  • 36
1
vote
0 answers

Problem with "Edit and Continue" in a ASP.NET core mixed Razor Pages and MVC app

I'm trying to update an old webpage that I had developed using MVC. Now I'm adding Razor Pages, but then Edit and Continue won't work anymore. I can isolate/reproduce the problem in a minimal context. It seems to occur when there are files both in…