You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MAUI: CreateElementEventsBreadcrumbs set in code is overwritten with false #5859
UseSentry registers the user's configureOptions delegate before SentryMauiOptionsSetup, and options setups run in registration order, so the configuration pass overwrites the value set in code. Setting it via appsettings.json (Sentry:CreateElementEventsBreadcrumbs) still works.
Found by reading the code. The = false dates from #2900 and looks like it was copied from SentryMauiOptions, where the default is harmless.
Fix
Drop the initialiser so the bindable property defaults to null, like every other bindable property.
A test along the lines of UseSentry_WithCaching_CanChangeCacheDirectoryPath in SentryMauiAppBuilderExtensionsTests should fail today and pass with the fix:
Activity
linear-code commentedon Nov 2, 2026
NET-904
fix(maui): CreateElementEventsBreadcrumbs set in code is no longer ov…