"Android Learning note" Android Studio simple breakpoint debugging

Source: Internet
Author: User

First click the Breakpoint Debug button to run the app

After startup, the box will pop up, and the box will automatically disappear after a few seconds, and the app will run successfully.

Here is a description of the function of the relevant operation button for breakpoint debugging:

Button 1 function: Jump from the current breakpoint to the next breakpoint, if the current breakpoint is the last breakpoint is clicked after the end of the breakpoint, the app runs normally.
Button 2 (step Over) features: Step-by-step, and line-by-line code logic to go down.
Button 3 (Step Into) function: Go to the method when you encounter the method.
Button 4 (force Step Into) function: All methods look complete, that is, you can see the implementation of all the methods you call will let you follow it again.
Button 5 (step out) of the function: There is a breakpoint next, go through the breakpoint continue to walk, the breakpoint will go down after the jump, unable to end the breakpoint and let the app run normally.
Function of button 6 (Run to Cursor): Next breakpoint We see, with the function of button 1.
Function of button 7: Stop the app from running.

"Android Learning note" Android Studio simple breakpoint debugging

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.