Android--android Studio Debugging Features

Source: Internet
Author: User

This chick attach debugger to Android process can look for the processes we want to debug

Debug-->console to the left is the thread's method stack, which indicates the order of calls. On the right is some value of the variable, and the right side is some way to listen.

Rightmost use right-click variable add to Watches

insepct View the variable's

Show referring Objects to find the case where item is referenced.

Ecalute Expression to retrieve this value again

Android---memory, where we can judge the condition of the RAM, is a real-time update.

System Information Some states of the current activity,

Some of the shortcut keys below run:

Step over single step operation F8

Force step-over forced single step operation Alt+shift+f8

Step into jumps into a function F7

Force Step into forces jumping into a function alt+shift +f7

Step out Jump function Shift+f8

Run to cursor runs at the current cursor alt+f9

Smart Step into Shift + F7

Force Run to Cursor CTRL+ALT+F9

Get thread dump we can save the current running stack information. The path for me to parse the call.

In dump, the left side is the state of the thread, and the right side is the thread

Android--android Studio Debugging Features

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.