在eclipse中调试时,可以随时查看画布/位图 [英] viewing canvas/bitmap on the fly while debugging in eclipse

查看:199
本文介绍了在eclipse中调试时,可以随时查看画布/位图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆