show_backtrace_with_backtrace()#
Generates and logs a backtrace using the backtrace library, providing detailed function call information.
Prototype
void show_backtrace_with_backtrace(
loghandler_fwrite_fn_t fwrite_fn,
void *h
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
Function pointer for writing log output. |
|
|
Handle to be passed to the log function. |
Return Value
This function does not return a value.
Notes
This function is only available when CONFIG_DEBUG_WITH_BACKTRACE is enabled. It utilizes the backtrace library to capture and log stack traces.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples