Reputation: 2291
As of release 0.8.7 of Android Studio there's supposed to be a Bitmap viewer in the debugger. See the release notes here: http://tools.android.com/recent/androidstudio087released
I have 0.8.9 installed and I can't see this option. Has anyone been able to use this? Is there something I need to enable?
Upvotes: 34
Views: 19956
Reputation: 29416
I'm on Android Studio 1.3 and I didn't find 'View Bitmap' option in the context menu. Turns out that this option now sits right next to every Bitmap
variable in the debugger's 'Variables' window:
Upvotes: 79
Reputation: 38856
First run your program in debug mode by using Shift+F9 and set a breakpoint right after the bitmap object you want to investigate is created. Once the debugger pauses at the breakpoint hover over the bitmap
variable and right click and select View Bitmap and that's all you need to view it.
Upvotes: 59