前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Android Studio 最新debug工具及与老版本工具对应关系

Android Studio 最新debug工具及与老版本工具对应关系

作者头像
望天
发布2019-08-14 14:23:20
6860
发布2019-08-14 14:23:20
举报
文章被收录于专栏:along的开发之旅

原文链接:https://developer.android.com/studio/profile/monitor

Android Device Monitor component

What you should use

Dalvik Debug Monitor Server (DDMS)

This tool is deprecated. Instead, use Android Profiler in Android Studio 3.0 and higher to profile your app's CPU, memory, and network usage. If you want to perform other debugging tasks, such as sending commands to a connected device to set up port-forwarding, transfer files, or take screenshots, then use the Android Debug Bridge (adb),Android Emulator, Device File Explorer, or Debugger window.

Traceview

This tool is deprecated. To inspect .trace files captured by instrumenting your app with the Debugclass, record new method traces, export .trace files, and inspect real-time CPU usage of your app's processes, use the Android Studio CPU profiler.

Systrace

If you need to inspect native system processes and address UI jank caused by dropped frames, usesystrace from the command line or the simplified System Trace in the CPU Profiler. The CPU Profiler provides many features for profiling your app's processes.

Tracer for OpenGL ES

Use the Graphics API Debugger.

Hierarchy Viewer

If you want to inspect your app's view hierarchy at runtime, use Layout Inspector. If you want to profile the rendering speed of your app's layout, use Window.OnFrameMetricsAvailableListener as described in this blog post.

Pixel Perfect

Use Layout Inspector.

Network Traffic tool

If you need to view how and when your app transfers data over a network, use the Network Profiler.

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019年08月01日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档