debugDescription
A textual representation of the receiver to use with a debugger.
Declaration
optional var debugDescription: String { get }Return Value
A string that describes the object for debugging purposes.
Discussion
The debugger’s po command uses this property to create a textual representation of the object suitable for display in the debugger. The default implemention returns the same value as description. Override either property to provide custom object descriptions.