Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Visual Studio App Center was retired on March 31, 2025, except for the Analytics and Diagnostics features, which will continue to be supported until June 30, 2026. Learn more.
In this tutorial, you'll learn to view crashes from a sample Swift app in App Center.
If you haven't already, first follow the getting started tutorial to set up the sample app.
Get the symbols
To symbolicate crashes in macOS, App Center needs you to upload a symbol file to App Center.
Upload symbols
Navigate to the Crashes service and go to the Symbols page.
Click Upload symbols at the top of the page and upload the symbol file you downloaded.
Open the sample app
Run the sample app. If you're running it from Xcode, follow these additional steps to detach the debugger:
Right-click on the app icon in the dock, Options then Keep in Dock.
Press the Stop icon to stop running the app.
Reopen the app by clicking on its icon in the dock.
Crashing the sample app
Navigate to the Crashes page. Click the Send a sample crash button to crash the app.
Reopen the app. This sends the crash report to the App Center backend.
View the crashes in App Center
- Navigate to the Crashes service in App Center. It may take a couple minutes for the crash report to show up after reopening the app.
- Click on the crash to view its details, such as its stack trace, affected devices, and more.