Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

viewing canvas/bitmap on the fly while debugging in eclipse

Is there a way to debug canvas/bitmaps on Eclipse? I was wondering if I could view how the current canvas/bitmap looks when I set a breakpoint at a particular line.

like image 812
bman Avatar asked Oct 08 '13 16:10

bman


1 Answers

Viewing bitmaps while debugging is possible now (though only with Android Studio).

From the release notes for version 0.8.7 (Aug 21, 2014)

Bitmap rendering in the debugger

While debugging, you can now right click on variables in your app that are of type Bitmap, and invoke View Bitmap:

enter image description here

This will then fetch the associated data from the debugged process and render the bitmap in place in the debugger.

enter image description here

like image 193
matiash Avatar answered Sep 28 '22 15:09

matiash