py - Pierre Yves Ricau

Results 289 comments of py - Pierre Yves Ricau

You could probably install your own logger under `shark.SharkLog.logger` Longer term the idea is to turn logs into events that are optionally logged. But we're not there yet.

Sorry, we need to update the docs. See the changelog for details: https://square.github.io/leakcanary/changelog/#breaking-change-failtestonleakrunlistener-deleted

Weird, I have a M1 and not running into this. What version of Java are you using?

Based on the stacktrace, I can see we're attempting to run `adb pull` for the heap dump. The current run command impl is naive and just waits 10 seconds and...

yes, like I said: > We should fix this by waiting for the process completion. Which is what Process#waitFor() is for, so we should just use that.

I like using the 1st item of the listview. Note: this wouldn't just be for imports, we should make that show whenever a heap analysis is in progress from any...

Note: with the new eventListeners API, it's also possible to add a floating view to the currently resumed activity.

> I have noticed that on Android 13 with changing notification permission to run-time permission, leak canary triggers a dialog to show upon app launch. @ashish-kshirsagar Can you file a...

Yep the crash is at line 190 it looks like. It's not super obvious why this might be happening. From the looks of it, we're attempting to show a leak...

More high level ideas: The Java heap is a directed graph: objects are nodes and references are directed edges. These edge / references can be strong, weak, etc. There are...