square/leakcanary
Voir sur GitHubRunning heap analysis in separate process does not invoke custom OnLeakFoundCallback callback
Open
#1 789 ouverte le 30 mars 2020
good first issuestatus: help wantedtype: documentationtype: enhancement
Métriques du dépôt
- Stars
- (29 920 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Description
Not sure if this is the expected behavior or not. I was expected to have background process trigger callback on the main process with leak analysis data.
Steps to Reproduce
- Follow https://square.github.io/leakcanary/recipes/#running-the-leakcanary-analysis-in-a-separate-process
- Use a app that has custom OnLeakFoundCallback callback
- Make sure dumpHeapWhenDebugging is set to true if using debugger
- Verify once that callback is not invoked once analysis complete (via debugger breakpoint or logcat)
Expected behavior:
Callback to be invoked in main process.
Version Information
- LeakCanary version: 2.2
- Android OS version: API 29
- Gradle version: n/a