---
title: xpc_debugger_api_misuse_info()
framework: xpc
role: symbol
role_heading: Function
path: xpc/xpc_debugger_api_misuse_info()
---

# xpc_debugger_api_misuse_info()

Returns a pointer to a string that describes the reason XPC aborts the calling process.

## Declaration

```swift
func xpc_debugger_api_misuse_info() -> UnsafePointer<CChar>!
```

## Return Value

Return Value A pointer to the human-readable string describing the reason the caller was aborted. If XPC was not responsible for the program’s termination, NULL will be returned.

## Discussion

Discussion This function is only callable from within a debugger. It isn’t meant to be called by the program directly.
