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

# popDebugGroup()

Pops the latest debug group string from this encoder’s stack of debug groups.

## Declaration

```swift
func popDebugGroup()
```
