public class RxJava2Debug
extends java.lang.Object
| Constructor and Description |
|---|
RxJava2Debug() |
| Modifier and Type | Method and Description |
|---|---|
static void |
disableRxJava2AssemblyTracking()
Disable the collection of more information about RxJava's execution
Information collected before calling this method will still be reported |
static void |
enableRxJava2AssemblyTracking()
Start collecting information about RxJava's execution to provide a more meaningful StackTrace in case of crash
Beware: Any crash-reporting handler should be set up before calling this method |
static void |
enableRxJava2AssemblyTracking(java.lang.String[] basePackageNames)
Start collecting filtered information about RxJava's execution to provide a more meaningful StackTrace in case of crash
Beware: Any crash-reporting handler should be set up before calling this method |
static java.lang.Throwable |
getEnhancedStackTrace(java.lang.Throwable original)
Obtain a copy of the original Throwable with an extended StackTrace
|
public static void enableRxJava2AssemblyTracking()
public static void enableRxJava2AssemblyTracking(@Nullable
java.lang.String[] basePackageNames)
basePackageNames - List of base package names of your code, so the created stacktrace will have one of those on its toppublic static void disableRxJava2AssemblyTracking()
@Nullable public static java.lang.Throwable getEnhancedStackTrace(java.lang.Throwable original)
original - Original Throwable