Android Studio调试器查看位图 [英] Android Studio debugger View Bitmap

查看:191
本文介绍了Android Studio调试器查看位图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自Android Studio版本0.8.7开始,该版本中应该有一个位图查看器调试器.请在此处查看发行说明: http://tools.android.com/recent/androidstudio087released

我已安装0.8.9,但看不到此选项.有人能使用这个吗?我需要启用什么功能吗?

解决方案

首先使用 Shift + F9 在调试模式下运行程序,并在要调查的位图对象之后立即设置断点创建.调试器在断点处暂停后,将鼠标悬停在bitmap变量上,然后右键单击并选择 View Bitmap ,这就是您需要查看的全部内容.

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?

解决方案

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.

这篇关于Android Studio调试器查看位图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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