stack_trace_available


Description:


[ Version ( since = "2.10" ) ]
public bool stack_trace_available (bool optimal)

Returns true if we have dependencies to generate backtraces.

If optimal is true, the function will return true only when we are able to generate optimal traces (i.e. with GDB or LLDB); otherwise we return true even if only backtrace API is available.

On Win32, we return TRUE if Dr. Mingw is built-in, FALSE otherwise.

Note: this function is not crash-safe, i.e. you should not try to use it in a callback when the program is already crashing. In such a case, call stack_trace_print or stack_trace_query directly.

Parameters:

optimal

whether we get optimal traces.


Namespace: Gimp
Package: gimp-3.0