Metal debugging types Create capture managers and capture scopes, and review a GPU device’s log after it runs a command buffer. TopicsFrame captureMTLCaptureDescriptorMTLCaptureManagerMTLCaptureDestinationMTLCaptureScopeCapture errorsMTLCaptureErrorMTLCaptureErrorDomainShader logsMTLFunctionLogMTLLogContainer See AlsoDeveloper toolsSupporting Simulator in a Metal appCapturing Metal commands programmaticallyLogging shader debug messagesDeveloping Metal apps that run in SimulatorImproving your game’s graphics performance and settingsMetal debuggerMetal developer workflowsGPU counters and counter sample buffers