$ the-wire · showcase
Native AOT debug info overhaul, R2R codegen knob, arcade auth fix
By RepoJournal · Filed · About .NET
Native AOT debugging gains type and parameter info in stack traces, while a new R2R knob allows forcing runtime code generation off for iOS-like configurations, and arcade's production channel validation auth gets a security fix.
Native AOT method debug information ships improvements [1] that make type information for methods and parameters show up in the stack, format method names like the VS debugger does, and remove a filter that previously skipped emitting debug info when there were no sequence points. The `this` parameter now gets named `this`, so the debugger won't treat it as a regular parameter visible in the signature. A new R2R knob [2] lets you force `TargetAllowsRuntimeCodeGeneration:false` via `--target-allows-runtime-code-generation:false`, which provides an iOS-like configuration. When the runtime is built with `dynamiccodecompiled` false, corelib is also built in this configuration to ensure corerun and testhost respect it, though this is not yet tested on CI. Arcade's production channel validation authentication [3] now uses `DefaultIdentityTokenCredential` for Azure DevOps build metadata when no explicit `AzdoApiToken` is supplied, falls back to `SYSTEM_ACCESSTOKEN` for the branch classification API, and preserves explicit PAT and Entra token support. This fixes an issue introduced when the broad `dn-bot-all-orgs-build-rw-code-rw` PAT was removed. The msbuild dependency updates from arcade [4] are routine and unlikely to affect your build.
Action items
- → Review the native AOT debug info changes if you rely on stack traces in AOT scenarios dotnet/runtime [plan]
- → Test the new R2R knob in your iOS-like configurations dotnet/runtime [monitor]
- → Monitor arcade build promotion after the auth fix dotnet/arcade [monitor]
References
- [1] Improvements to native AOT method debug information ↗ dotnet/runtime
- [2] Add R2R knob to force value of TargetAllowsRuntimeCodeGeneration (#132889) ↗ dotnet/runtime
- [3] Fix production channel validation authentication ↗ dotnet/arcade
- [4] [main] Update dependencies from dotnet/arcade ↗ dotnet/msbuild
- [5] [ci-fix] De-flake ShellContentShouldRespectSafeAreaEdges_After_Navigation: wait before tap (refs #37653) (#37999) ↗ dotnet/maui