Open vritant24 opened 3 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
@vritant24 does this happen for both mono and CoreCLR?
Tagging subscribers to this area: @tommcdon See info in area-owners.md if you want to be subscribed.
Author: | vritant24 |
---|---|
Assignees: | - |
Labels: | `area-Diagnostics-coreclr`, `untriaged` |
Milestone: | - |
cc: @mikem8361
@vritant24 does this happen for both mono and CoreCLR?
I haven’t given this a try in Mono as my scenario only involves coreCLR. For context I’m running into this in VS as part of the Hot Reload in test execution experience.
@mikem8361 - Triage this to 7.0 if it doesn't fit. This was a known limitation for ENC and I am guessing nothing has been implemented at this point to resolve it for Hot Reload? With ENC it wasn't possible because the runtime didn't have access to the modified PDB. Now with Hot Reload we do have the delta so it is plausible we could resolve this with enough work.
Moved to 7.0 given that the scope of this work won't fit in 6.0.
(Adding myself, because it's probably broken in Mono, too)
Will this not be done in the .NET 7 timeframe?
No, this will not fix in our .NET 7 schedule.
Are there any plans to cover this enhancement in the dotnet 9 or 10 releases? Access to stack-trace could be very useful in UI libraries utilizing hot-reload capability, and providing a mapping from visual representation to code declaration. I would like to use it in the upcoming version of the QuestPDF Companion application (click on any location in the PDF document to be redirect to corresponding code responsible for that content). Dotnet watch is a good workaround but it degrades development experience.
Description
For a following line of code:
The Stack Trace is
But when changed to the following snippet and hot reload the changes,
The stack trace changes to:
The updates in this case are being retrieved from the EnC Hot reload service and all the
medataDelta
, theilDelta
and thepdbDelta
are being correctly passed into theAssemblyExtensions.ApplyUpdate
api.Configuration
Using .NET 6.0.100-preview.6.21355.2 Windows 10