<!--
{
  "documentType" : "article",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/audio-toolbox-debugging",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Audio Toolbox Debugging"
}
-->

# Audio Toolbox Debugging

Obtain the internal state of Core Audio objects during the development and debugging of your code.

## Discussion

The `AudioToolbox.h` header file provides auxiliary functions for obtaining the internal state of a Core Audio object. Use these functions during development and debugging.

## Topics

### Audio Toolbox Debugging Functions

[`CAShow`](/documentation/AudioToolbox/CAShow(_:))

Prints the internal state of an object to `stdio`.

[`CAShowFile`](/documentation/AudioToolbox/CAShowFile(_:_:))

Prints the internal state of an object to a file.

### Instrument Functions

[`CopyNameFromSoundBank`](/documentation/AudioToolbox/CopyNameFromSoundBank(_:_:))

Copies the name of a sound bank from a sound bank file at a specified URL.

[`CopyInstrumentInfoFromSoundBank`](/documentation/AudioToolbox/CopyInstrumentInfoFromSoundBank(_:_:))

[`GetNameFromSoundBank`](/documentation/AudioToolbox/GetNameFromSoundBank)

Gets the name of a sound bank from a sound bank file.

[`kInstrumentInfoKey_LSB`](/documentation/AudioToolbox/kInstrumentInfoKey_LSB)

[`kInstrumentInfoKey_MSB`](/documentation/AudioToolbox/kInstrumentInfoKey_MSB)

[`kInstrumentInfoKey_Name`](/documentation/AudioToolbox/kInstrumentInfoKey_Name)

[`kInstrumentInfoKey_Program`](/documentation/AudioToolbox/kInstrumentInfoKey_Program)

### Constants

[`AUDIO_TOOLBOX_VERSION`](/documentation/AudioToolbox/AUDIO_TOOLBOX_VERSION)



---

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)