Type Property

callStackSymbols

Returns an array containing the call stack symbols.

Declaration

@property(class, readonly, copy) NSArray<NSString *> *callStackSymbols;

Return Value

An array containing the call stack symbols. Each element is an NSString object with a value in a format determined by the backtrace_symbols() function. For more information, see backtrace_symbols(3) macOS Developer Tools Manual Page.

Discussion

The return value describes the call stack backtrace of the current thread at the moment this method was called.

See Also

Querying the Environment

+ isMultiThreaded

Returns whether the application is multithreaded.

currentThread

Returns the thread object representing the current thread of execution.

callStackReturnAddresses

Returns an array containing the call stack return addresses.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software