-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[net7 Preview1][hot reload] Adding new methods in blazor wasm asserts at debug-mono-ppdb.c:499 #65808
Comments
It's a bad bounds check that isn't hot reload aware: runtime/src/mono/mono/metadata/debug-mono-ppdb.c Lines 496 to 501 in cf14a83
The question is why wasn't htis caught in CI. and I think it's because my console tests for adding methods don't send PPDB deltas. So at least part of the work here is to update the test infra to send pdb deltas. |
Ah, we need the pdb delta, but we also need to set |
Trying the fix with a real Blazor app, doesn't seem to resolve it. |
Ah, I see. So we end up doing a lookup for the EnC debug info, don't get any, and fall through to the baseline lookup, which asserts. |
Repro:
dotnet new blazorwasm
dotnet build ; dotnet run
ctrl-Cdotnet watch
IncrementCount
:The text was updated successfully, but these errors were encountered: