viewing canvas/bitmap on the fly while debugging in eclipse

早过忘川 提交于 2020-01-03 08:42:10

问题


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.


回答1:


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:

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



来源:https://stackoverflow.com/questions/19252741/viewing-canvas-bitmap-on-the-fly-while-debugging-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!