Skip to content

cf_crash_set

Category: crash
GitHub: cute_crash.h


Sets one key to one value in the state every report carries: what is true now, as opposed to what happened.

void cf_crash_set(const char* key, const char* value);
Parameters Description
key Up to 31 characters. Overwrites an existing key.
value Up to 127 characters, or NULL to clear the key.

Remarks

The keys "gpu", "gpu_driver", "backend", "display", "window" and "fullscreen" are copied into the report's machine section; CF sets them itself once the app exists.

cf_crash_breadcrumb
cf_crash_init