Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger: Support Edit and Continue/Hot Reload #490

Closed
AmberZhang2016 opened this issue Jun 29, 2016 · 104 comments
Closed

Debugger: Support Edit and Continue/Hot Reload #490

AmberZhang2016 opened this issue Jun 29, 2016 · 104 comments

Comments

@AmberZhang2016
Copy link

Environment data

dotnet --info output:
VS Code version:1.2.1
C# Extension version:1.1.7

Steps to reproduce

  1. We add following code to update the value of one variable when break mode:
    a++;
  2. then save the updated file;
  3. F10

Expected behavior

the new line will be executed and the value will be increased

Actual behavior

the new line is skipped and the value is not changed

@gregg-miskelly
Copy link
Contributor

@AmberZhang2016 Edit and Continue is a large and very connected feature which we don't have any immediate plans to bring to VS Code. I will leave this open, and people feel free to '+1' this. But, just to be clear, it is at least going to be a while before we get to this.

@AmberZhang2016 AmberZhang2016 changed the title Suggestion issues: didn't surport Edit and Continue feature Debugger: didn't support Edit and Continue feature Jun 29, 2016
@ghost
Copy link

ghost commented Feb 12, 2018

@gregg-miskelly, +1

Any news?

@node-gs
Copy link

node-gs commented Feb 28, 2018

Very interested in something like this. Working from macOS with dotnet can be tough, this would really aid in the development process

@ikourfaln
Copy link

+1

1 similar comment
@theSdev
Copy link

theSdev commented Apr 30, 2018

+1

@murr4y
Copy link

murr4y commented May 18, 2018

+1

Recently discovered dotnet watch with .net core. Having the same functionality with the addition of debugging would be great!

@frystpingvin
Copy link

+1

12 similar comments
@hsinyu-chen
Copy link

+1

@JorgeGarciaIrazabal
Copy link

+1

@thorgod
Copy link

thorgod commented Jun 15, 2018

+1

@iuribrindeiro
Copy link

+1

@marcantoinecouture
Copy link

+1

@eluchsinger
Copy link

+1

@vanmxpx
Copy link

vanmxpx commented Jul 27, 2018

+1

@G43beli
Copy link

G43beli commented Aug 5, 2018

+1

@blendsdk
Copy link

+1

@mohamad-xtouch
Copy link

+1

@glazjoon
Copy link

+1

@Guybrush21
Copy link

+1

@sgentile
Copy link

"But, just to be clear, it is at least going to be a while before we get to this."

2 years later... any luck :)

+2

@gregg-miskelly
Copy link
Contributor

:) Not yet. But thanks for voting. The more votes the easier it will be to get funding for the project.

@amararias
Copy link

+1

@bitbonk
Copy link

bitbonk commented Nov 9, 2018

We have rather complex applications that control actual machines and it is extremely time consuming (think hours!) to restart them and bring the software and the machines back into the desired state before we can try the effects that changes have to the overall system.

Of course we have unit test and integration test and all that but often it is just needed to test/try/fix things with/on the actual production hardware.

With the classic .NET Framework this is not really an option because customers might not allow the installation of a debugger on the production PC that controls the machine.

With both the .NET Core debugger and VS Code being copy-deployable, this would actually become an option and it would be extremely cool to have this ability. It would be an absolute killer feature for us.

@gregg-miskelly
Copy link
Contributor

@bitbonk just as an FYI, you actually have been able to XCopy Visual Studio's remote debugger for a very long time now, in case that helps you.

@bitbonk
Copy link

bitbonk commented Nov 9, 2018

@gregg-miskelly Yes I am aware of that, but last time I checked edit & continue was not possible. I'd love to be proven wrong though.

@gregg-miskelly
Copy link
Contributor

I thought VS added support for remote managed EnC, but I could be remembering wrong...

@bitbonk
Copy link

bitbonk commented Nov 9, 2018

@gregg-miskelly I just checked again, and you are right. Edit&Continue on classic .NET (4.7.2) does indeed work with remote debugging even if the remote debugger is launched from a remote file share. But (and that's a big but for us unfortunately) you have to launch the application with the debugger, attaching it later does not allow Edit&Continue.

I wonder if it would theoretically be possible that it could work with attaching the debugger locally to a running process in .NET Core.

@PhilParisot
Copy link

PhilParisot commented May 2, 2022

+1
Java extension supports this

@WalissonPires
Copy link

+1

1 similar comment
@andrii-myronenko
Copy link

+1

@zeroskyx
Copy link

Btw: would it be possible for someone rename the title of this issue?
Wouldn't "Debugger doesn't support Edit and Continue" or something make more sense? :)

@heartacker
Copy link
Contributor

Debugger: please support Edit and Continue feature

@gregg-miskelly gregg-miskelly changed the title Debugger: didn't support Edit and Continue feature Debugger: Support Edit and Continue/Hot Reload May 10, 2022
@gregg-miskelly
Copy link
Contributor

@zeroskyx I updated the title to hopefully make this issue easier to find

@NatanAmorim
Copy link

This feature would be awesome

@ziaulhasanhamim
Copy link

Any news on this? Is it even possible?

@heartacker
Copy link
Contributor

What's stopping this? figure it out

@PhilParisot
Copy link

@heartacker you figure it out

@gyantal
Copy link

gyantal commented Jul 14, 2022

Waiting for this.

@LanceTrahan
Copy link

+1 and more from the FUUUUUUUTURE!!!

@Paul-creator
Copy link

+1

@darkguy2008
Copy link

So we've been waiting for this to happen since 2016. Is it too optimistic to wait for this to happen in 2026? Asking for a friend.

No seriously, this is one of the most important features that IMO VS has that VSCode doesn't, and heck, it's save me so much time when developing because restarting apps sometimes takes way too long. This is the only feature I miss from VS.

@PhilParisot
Copy link

PhilParisot commented Oct 4, 2022

With the removal of hot reload in dotnet watch I don't think this will happen anytime soon. Google the saga if you like, it made quite some noise.

@darkguy2008
Copy link

With the removal of hot reload in dotnet watch I don't think this will happen anytime soon. Google the saga if you like, it made quite some noise.

Huh, I recall there was some noise regarding that, but if I'm not mistaken they backed off from that decision and made it to stay. Was this changed recently then? I may have missed the news :(

In that case, is there any place where we can add some pressure on that?

@PhilParisot
Copy link

PhilParisot commented Oct 4, 2022

Never-mind, you might be right, I think they put it back in: https://learn.microsoft.com/en-us/aspnet/core/test/hot-reload?view=aspnetcore-6.0

@ROMYIM
Copy link

ROMYIM commented Apr 1, 2023

+1

2 similar comments
@TondaKrist
Copy link

+1

@tobobw
Copy link

tobobw commented May 9, 2023

+1

@RivenSkaye
Copy link

+1 for this.
We're 7 years on since the issue was opened, would love to know what the status is on this and if there's anything contributors could do

@JasonLeeForOnly
Copy link

JasonLeeForOnly commented Sep 12, 2023

Greetings
Really need this fature.I noticed this issues was open for over seven years,would love to know was is still prosess on?
BTW,Add local nuget resorce is also needed.

@tobobw
Copy link

tobobw commented Sep 12, 2023

+1

@gregg-miskelly
Copy link
Contributor

This feature is now available in C# Dev Kit. See the documentation for more information.

@Igorgro
Copy link

Igorgro commented Dec 2, 2023

@gregg-miskelly it's really disappointing that this feature was not implemented as a part of this open-source extension 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests