---
title: popDebugGroup()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtl4commandbuffer/popdebuggroup()
---

# popDebugGroup()

Pops the latest string from the stack of debug groups for this command buffer.

## Declaration

```swift
func popDebugGroup()
```
