Android Studio debugging techniques

1, ready to enter debug mode:
菜单----Build---- Attach to Android Process
2, conditional breakpoints
右键断点,对断点添加条件,满足的时候才会进入断点
3, log breakpoints:
断点处右键,取消选中Suspend,勾选Log evaluated Expression,在输入框中输入要答应的内容即
4, analysis of incoming and outgoing data streams:
Menu----Analyze----Analyze Data Flow to Here

Reference: "Android application performance optimization best practices"

Guess you like

Origin www.cnblogs.com/youfat/p/11567210.html