Library:Sentry Native
Appearance
| Developer | Sentry (Functional Software) |
|---|---|
| License | MIT |
| Website | https://github.com/getsentry/sentry-native |
| On this wiki | Facts · Code · Notes · Topics |
Sentry's C/C++ SDK (MIT): reports crashes and events to Sentry using a selectable backend (crashpad, breakpad, inproc or native), identified by its SDK name, version macro and the .sentry-native database directory.
Identification
- SDK name strings:
sentry.native(plussentry.native.android,.xbox,.wingdkvariants) and the user agentsentry.native/<version>built from SDK_NAME and SDK_VERSION (include/sentry.h; SENTRY_SDK_VERSION was 0.17.4 at the commit read). - Default database directory
.sentry-nativein the working directory (src/sentry_options.c), with per-run folders<uuid>.runcontainingsession.json,.lockfiles,last_crashand, with the crashpad backend, files such as__sentry-eventand__sentry-attachments(sentry_database.c, sentry_backend_crashpad.cpp). - Exported API (names from memory, Unverified):
sentry_init,sentry_options_new,sentry_options_set_dsn,sentry_capture_event,sentry_close; the DSN string is in the binary or config. Never copy a DSN into the wiki. - Backends selected at build time (CMake SENTRY_BACKEND):
crashpad(a default on some platforms, the CMake file switches the default to breakpad elsewhere; ships Library:Crashpad'scrashpad_handler),breakpad(Library:Breakpad, default where crashpad is unsupported),inproc(own signal/SEH handler),native,none. - Envelopes with minidump attachments are sent to the project's ingest endpoint. Sentry resolves function names with debug files it receives, using the debug-id rules implemented in getsentry/symbolic (MIT).
Related SDKs (leads, Unverified)
sentry-cocoa (iOS/macOS) and sentry-android embed class names such as SentrySDK/io.sentry.Sentry and the string sentry.cocoa / sentry.java.android; the repositories were not read for this page. BugSplat (BugSplat, bugsplat.com upload host) and Backtrace (backtrace.io, submit.backtrace.io) are identified by their upload URLs and class names; also not read.
Related: Format:Minidump, Format:Breakpad symbol file, Technique:Identifying crash reporting SDKs.
Code & repositories
- https://github.com/getsentry/sentry-native @
8ef7d6113b99d5c84f1091d093fab6945019f96f· license: MIT (declared by the contributor; GitHub's detector did not recognize a license file)
Sentry C/C++ SDK with crashpad, breakpad, inproc backends
Tested on: source read, not run: source read, not run · checked 2026-10-18