It was working great for a while, but for some reason today, it is a lot less reliable: Often the "Capture GPU" option is grayed out, and when it does work, it is stuck with Xcode showing "Debugging GPU Workload." And things like the "Memory" breakdown, which is typically very useful, cannot be opened to see details. How can I diagnose this problem? Thanks.
GPU capture stuck at "Debugging GPU Workload"
In order for us to better diagnosis this, can you file a feedback assistant report with the following information:
- System config: Hardware and software versions of both your target device and the Mac you're using Xcode from.
- Version of Xcode you are using. If you can, please try the latest Xcode version.
- The tooltip message when you hover your mouse over the grayed out camera/Metal button in Xcode's debug bar. This message may give you an indicator of why the workload cannot be captured.
- If you have a workload you can capture and can't visit the
Memory
viewer, please export the gputrace (in theSummary
or fromFile > Export
in the menubar), zip it, and share it with us.
Please repost the feedback ID here.
Mac: Model Name: MacBook Pro Model Identifier: MacBookPro18,1 Chip: Apple M1 Pro Total Number of Cores: 10 (8 performance and 2 efficiency) Memory: 32 GB System Firmware Version: 7429.81.3 OS Loader Version: 7429.81.3
Device: iOS 14.8.1 (18H107) Model: iPad Pro (12.9-inch) (5th generation)
Xcode: Version 13.2.1 (13C100)
The same behavior (capture but stuck at "Debugging..") happens with an iPhone12 mini, iOS 15.2.1 (19C63).
I can't seem to export the GPU trace. When I do File > Export, it just exports whatever source code file I have open. This did work before, generating a .gputrace file...