Command buffer debugging Properties and methods for programmatically debugging runtime issues with a command buffer. TopicsIdentifying the command bufferlabelcommandQueuedeviceGrouping commands within a GPU frame capturepushDebugGroup(_:)popDebugGroup()Getting error detailserrorerrorOptionsMTLCommandBufferEncoderInfoMTLCommandBufferEncoderInfoErrorKeyReading the runtime message logslogsChecking scheduling times on the CPUkernelStartTimekernelEndTimeChecking execution times on the GPUgpuStartTimegpuEndTimeDetermining whether to maintain strong referencesretainedReferences See AlsoTroubleshooting a command bufferstatusMTLCommandBufferStatus