Issue
I'm not sure whether my events carry a debug ID, or whether my source bundles uploaded correctly, so I can't tell if Source Context is set up properly.
Applies To
All SaaS Customers and Self-Hosted Users
Java SDK (Maven or Gradle plugin)
Users manually uploading source bundles with
sentry-cliSource Context
Resolution
To confirm Source Context is set up, verify that your event carries a debug ID and that a source bundle with the same ID is uploaded to your project.
Open the event. Go to an issue's event page and click
JSONto open the event's JSON view.Confirm the debug ID is present. Check that the JSON contains a
debug_metakey holding the event's debug ID. Sentry uses this value to match the event with your uploaded source bundles.[Screenshot: the
debug_metasection in the event JSON, showing the debug ID.]Find the matching bundle. Go to Project Settings > Debug Files and search for that debug ID. If Source Context is working, you will see an uploaded bundle with the same debug ID as the one in the event.
[Screenshot: Project Settings > Debug Files search showing a bundle with the matching debug ID.]
