Instance Property インスタンスプロパティ

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.

See Also 参照

Describing Objects オブジェクトの解説