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

# popDebugGroup()

Pops the latest string off of a stack of debug group strings for the command encoder.

## Declaration

```swift
func popDebugGroup()
```

## Discussion

Discussion For more information, see Naming resources and commands.

## See Also

### Annotating the command buffer with debug information

- [insertDebugSignpost(_:)](metal/mtlcommandencoder/insertdebugsignpost(_:).md)
- [pushDebugGroup(_:)](metal/mtlcommandencoder/pushdebuggroup(_:).md)
