Skip to content

Enhanced Breadcrumb Logging for .NET MAUI's ImageButton #3803

@dalnoki

Description

@dalnoki

Problem Statement

A customer frequently encounters the message Microsoft.Maui.Controls.BindableObject Cannot convert to type ‘Microsoft.Maui.Aspect’ in their Sentry breadcrumbs. They suspect that this issue arises because Sentry cannot interpret the ImageButton type from .NET MAUI. This type includes an Aspect property similar to the Image type, but it lacks text or title properties.

Image

Solution Brainstorm

The customer suggested a potential improvement: when an ImageButton triggers an event, log the following details in the breadcrumbs:

  • ImageButton.Command
  • ImageButton.Source

This additional context would provide valuable insights into user actions performed via the ImageButton.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions