<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "XPC",
  "identifier" : "/documentation/XPC/xpc_debugger_api_misuse_info()",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "XPC"
    ],
    "preciseIdentifier" : "c:@F@xpc_debugger_api_misuse_info"
  },
  "title" : "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.

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

## 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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)