---
title: UIFocusDebugger
framework: uikit
role: symbol
role_heading: Class
path: uikit/uifocusdebugger
---

# UIFocusDebugger

A runtime object for debugging focus-related interactions.

## Declaration

```swift
@MainActor class UIFocusDebugger
```

## Mentioned in

Debugging focus issues in your app

## Overview

Overview You do not use this class or its methods directly from your code. During a debugging session, you can call the methods of this class from the lldb debugger command line to obtain information about the current state of the focus system.

## Topics

### Getting help

- [help()](uikit/uifocusdebugger/help().md)

### Getting focus information

- [status()](uikit/uifocusdebugger/status().md)
- [checkFocusability(for:)](uikit/uifocusdebugger/checkfocusability(for:).md)
- [focusGroups(for:)](uikit/uifocusdebugger/focusgroups(for:).md)
- [preferredFocusEnvironments(for:)](uikit/uifocusdebugger/preferredfocusenvironments(for:).md)
- [simulateFocusUpdateRequest(from:)](uikit/uifocusdebugger/simulatefocusupdaterequest(from:).md)
- [UIFocusDebuggerOutput](uikit/uifocusdebuggeroutput.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Focus debugging

- [Debugging focus issues in your app](uikit/debugging-focus-issues-in-your-app.md)
