-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
VS 2022 Hot Reload with debugger #23864
Comments
My personal experience is to use dotnet watch cli for hot reload is much better than vs' at the moment. |
I'll be checking in with the product unit within a few weeks on the latest status. Everyone just returned from the holidays, and they're still digging out of mountains of email ⛏️⛰️📧😅. |
I can't attach to a process runned with Error:
After Where I should create an issue? (MIEngine or ???) Or debugging with vsdbg shouldn't work at all with |
Before opening an issue, search the open ones. I haven't reached this yet to discuss it with any of the PU members or management, but I do see a bunch of open, actively discussed PU issues. Read these and see if they match your situation with Hot Reload and debugging ... https://github.com/dotnet/aspnetcore/issues?q=is%3Aissue+is%3Aopen+label%3Aarea-blazor+hot+reload |
Here's what I think we should do at this point. I checked the engineering repo, and I see several Hot Reload issues under investigation and WIP. I can't say if the NOTE should be removed and/or additional remarks about what works and what doesn't should be added. I'm going to move this back to a P2 issue with the "PU" label and ask them to look at this issue and advise further. They'll be reviewing these issues within a few weeks. |
UPDATE (4/15): Whatever was wrong seems to be fixed. Local testing is 👍 and 🎉 for Hot Reload with the debugger. Removing the remark now. |
When VS 2022 can do it, remove the following remark ...
I'm going to track this one on the Blazor.Docs project so that I don't lose it 😄.
UPDATE 12/28
Checked with VS release 17.0.4, and Hot Reload is working, including with the debugger and with code changes in a component of a Blazor Server app with the debugger running. However, it seems to be working when the file is saved in the IDE with the Hot Reload on File Save option in use. That's the approach that DR demoed in the Standup. AFAICT, physically reloading the page in the browser per dotnet/aspnetcore#38809 (comment) is NOT required. The topic here currently doesn't mention saving the file specifically to trigger the automatic browser reload, so we might add a bit more guidance when we remove the NOTE about running with the debugger. I'll check with Tanay when we get back from the 💃🕺 holidays 🎆🥳 for the latest info.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: