Skip to content

Mac Catalyst exceptions not symbolicated #4196

Closed

Description

@bruno-garcia

Building the MAUI demo for Mac Catalyst, I tried the different crash buttons.
The handled exception doesn't seem to have symbols uploaded.

Possibly not including the right paths for managed pdbs for sentry-cli when building for Mac Catalyst?

Example event

Image Image

The native crashes from the same build do have symbols.

Image

I checked the symbols in the project, several were uploaded when I published the app. But not the one needed for this exception.

Related to:

Activity

  1. added theissue type on May 17, 2025
  2. removed theissue type on Aug 6, 2025
  3. jamescrosswell commented on Aug 18, 2025

    @jamescrosswell
    Collaborator

    @bruno-garcia was this is release mode? Any chance it's related to #4427 ?

  4. jpnurmi commented on Sep 5, 2025

    @jpnurmi
  5. jpnurmi commented on Sep 8, 2025

    @jpnurmi
    Collaborator

    Yay, I was able to reproduce the problem after manually deleting debug info files from my self-hosted instance. The problem is not specific to Release or Debug - it happens with both.

    I think we should upload:

    ./obj/Release/net9.0-maccatalyst/maccatalyst-arm64/linked/EmpowerPlant.pdb
    

    Instead of:

    ./obj/Release/net9.0-maccatalyst/maccatalyst-arm64/EmpowerPlant.pdb
    

    EDIT: Or make sure the final linked .pdb gets copied over to bin/ since we upload the whole directory.

  6. jpnurmi commented on Sep 8, 2025

    @jpnurmi
    Collaborator

    Works with manual upload of the final linked .pdb after build: https://sentry-sdks.sentry.io/issues/6089930731?project=5428537

    sentry-cli debug-files upload --org sentry --project dotnet-maui -t pdb -t portablepdb -t dsym ./obj/Release/net9.0-maccatalyst/maccatalyst-arm64/linked/EmpowerPlant.pdb
    

    How do we get the linked .pdb copied into the output directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions