Use of Eclipse development tools-debug Android app using Eclipse's debug

Source: Internet
Author: User

1. Set breakpoints, double-click the boundary of Eclipse editing interface, or right-click the boundary of Edit interface, shortcut key ctrl+shift+b.

2, the F11 key starts the debugging program, the program installs to the handset, does not run automatically, needs you to manually run to the breakpoint.

3, run to the breakpoint, the program stopped. Next, you can run the program incrementally by using the shortcut keys.

F5 One-step debugging into the inside of the function.
F6 single-Step debugging does not enter the function inside, if installed PowerWord 2006 to the "Take the word switch" shortcut keys to change to other.
The F7 is returned from inside the function to the call point.
F8 continues to the next breakpoint.
F11 this seems to be re-run debug, I am not sure, has been as a rerun debug shortcut keys with, hehe.

4. When you place the cursor over a variable, you can see the value of the variable.

Use of Eclipse development tools-debug Android app using Eclipse's debug

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.