在eclipse中调试时,可以随时查看画布/位图 [英] viewing canvas/bitmap on the fly while debugging in eclipse
问题描述
查看位图可以在现在进行调试(尽管只有使用Android Studio)。
从版本0.8.7的发行说明(2014年8月21日)
调试器中的位图呈现
调试时,您现在可以右键单击应用程序中
的类型为Bitmap的变量,并调用View Bitmap:
然后,它将从调试过程中获取相关数据,
将调试器中的位图渲染到位。
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.
解决方案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.
这篇关于在eclipse中调试时,可以随时查看画布/位图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!