-
@ApiStatus.Internal() public final class StackTraceConverterConverts a list of AnrStackTrace objects captured during ANR detection into a object suitable for profiling telemetry.
This converter handles:
- Converting StackTraceElement to SentryStackFrame
- Deduplicating frames based on their signature
- Building stack references using frame indices
- Creating samples with timestamps
- Populating thread metadata
-
-
Method Summary
Modifier and Type Method Description static SentryProfileconvert(@NotNull() AnrProfile anrProfile)Converts a list of AnrStackTrace objects to a SentryProfile. -
-
Method Detail
-
convert
@NotNull() static SentryProfile convert(@NotNull() AnrProfile anrProfile)
Converts a list of AnrStackTrace objects to a SentryProfile.
- Parameters:
anrProfile- The ANR Profile
-
-
-
-