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

Edit and Continue options per Solution

I'm working simultaneously on 2 projects, one .Net WINFORMS and the other ASP.NET website. Due to some quirks I've yet to figure out, on ASP website projects to enable Edit and Continue, you actually have to deselect Edit and Continue in the…
0
votes
1 answer

Cannot edit after using 'Break All', although break points work fine

This seems to be a WPF-specific issue. If I set a breakpoint in the code, the program will pause when it reaches that line, and I can edit/add/remove code, and then continue - it runs the newly edited code (ie, it behaves as expected). However, if I…
0
votes
1 answer

Is it possible to edit code while running in Visual Studio 2017, even with 'Edit and Continue' enabled?

Frequently I want to change code when the project is running, but am disallowed from doing this because Edit and Continue is enabled. I assume this is some kind of protective measure, because the changes I make won't apply to the current execution,…
baddie
  • 437
  • 5
  • 13
0
votes
0 answers

Looking for work-around; edit and continue not working

I have found that Edit-and-Continue does not work in linked files. I am working on a suite of 8 different utilities (C# winforms) and they all share several common classes, which have been added to each utility project as a linked file. I can set…
DrWizard
  • 41
  • 6
0
votes
0 answers

Drawbacks of using Edit and Continue (MSVC)?

Using the Edit and Continue debugging feature in MSVC++, is very useful in increasing productivity, by allowing small code changes during a debugging session. What are its drawbacks, in comparison to using "regular" PDBs?
MuertoExcobito
  • 9,741
  • 2
  • 37
  • 78
0
votes
1 answer

Is Edit and Continue patented?

Just wondering why there isn't that many ide that can edit native code at runtime. Visual Studio is the only one that can do it? gdb can "compile and inject code", but it only executes a single line of code, doesn't seem like it modifies…
0
votes
0 answers

Can't Edit and Continue in Linked files

I have a solution with 8 related projects (which are all C# Windows Desktop Applications--- a utilities suite). All 8 projects use a pair of class files which are in each project as linked files. I can set breakpoints in the linked code, and step…
DrWizard
  • 41
  • 6
0
votes
1 answer

Visual Studio 2012 Edit and Continue not working with dynamic

I am using Visual Studio 2012. In my C# project, I have used a typed DataTable class, which uses the dynamic keyword in a few method implementations (Handcrafted Strongly Typed ADO.net DataTable - Can it be cleaner?). While debugging, I am not able…
0
votes
1 answer

Edit & Continue only works when using "Start external program" but not Attach to Process

I have an Excel-DNA project in C# using .NET 4.0 using Visual Studio 2010/2015. If I start Debug and use the "Start external program" feature to launch EXCEL.exe I am able to pause the debugger and Edit & Continue works perfectly fine. However, if I…
0
votes
1 answer

vs2010 project as service reference cannot get "enable edit and continue" to work

I have a three tier application in a vs2010 solution. I want to edit the code called from the front end though the service references without having to stop code. I can edit the front end web project without issues but when I try and edit the…
James Heard
  • 11
  • 1
  • 3
0
votes
1 answer

Is there a way to use Edit And Continue when debugging a Prism application?

we are developing a Prism application and as all modules are loaded using Reflection thru the Bootstrapper we cannot use the "Edit & Continue" feature which certainly increases productivity. Is there a way to overcome this problem? Thanks.
Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207
0
votes
1 answer

Edit and Continue problems with VS 2013

Recently Edit and Continue with VB.net has been kinda flaky. In one project in particular. It was working as expected the last time I touched this project. Recently when I pause the project while the winform message pump is running, I get a message…
Brad Mathews
  • 1,567
  • 2
  • 23
  • 45
0
votes
1 answer

Visual Studio 2012 "Apply Code Changes" menu-item is missing for native C++ debugging (probably due to managed-code projects in solution)

I suspect that this relates to having managed-code DLL projects in the solution, since in VS2010 the menu-item was also missing unless I manually unloaded all managed-code projects from the solution. In VS2012 though, I now have many more managed…
Coder_Dan
  • 1,815
  • 3
  • 23
  • 31
0
votes
2 answers

Windows Mobile development without constant redeployment? (no edit-and-continue)

I'm developing an application that targets Windows Mobile 6 using Visual Studio 2008. The development itself is pretty easy, but I'm realizing how much I rely on Edit-And-Continue in VB.NET when I'm doing regular development. The mobile device…
SqlRyan
  • 33,116
  • 33
  • 114
  • 199
0
votes
2 answers

Can I build my console as "any cpu" but make it run as 32-bit in dev?

The reason for my slightly odd question is simple. I'd like to run my console as 32-bit on my dev box simply because of the convenience of edit-and-continue, which can be a time-saver for silly mistakes - just fix them on the spot and go on. But I'd…
The Dag
  • 1,811
  • 16
  • 22