The shortcut keys that Eclipse uses in debug debugging

Source: Internet
Author: User

Scope function Shortcut Global Single step back F7

Global single-Step skip F6

Global single-step jump into F5

Global single-Step jump selection Ctrl+f5

Global Debug Last started F11

Global Continue F8

Global use filters to step SHIFT+F5

Global Add/Remove breakpoints Global display Ctrl+d

Global Run last boot ctrl+f11

Global Run to row ctrl+r

Global Execution Ctrl+u

1.Step into (also F5) jump

2.Step over (also F6) skip

3.Step return (also F7) executes the current method, and then return jumps out of this method

4.step filter Progressive filtering is performed until an unfiltered position or breakpoint is encountered (set Filter:window-preferences-java-debug-step Filtering)

5.resume restarts debug and runs until breakpoint is encountered.

For example: A and B two breakpoints, the debug process found a breakpoint is useless, remove a breakpoint, run resume will skip a directly to the B breakpoint.

6.hit count set execution times for a for loop in the program (set breakpoint view-right-click count)

7.inspect check operation. Executes an expression that displays the execution value

8.watch real-time monitoring of changes in objects, methods, or variables Select a variable, right-click to view "Watch"

9. Variables in the variables view can change the value of the variable, and the variables view selects the variable right-click--change value. For quick commissioning.

10. Breakpoint Properties:

1) How many times hit count executes and suspend for loop

2) Enable condition meets your input criteria (for ture\ changes) on hold

3) Suspend this thread when suspend thread is multi-threaded

4) Suspend VM suspend virtual machine

The 11.debug process modifies some code after the--〉save&build-->resume--> is re-suspended on the breakpoint

12.resume when debug debugging runs out of exception, run resume and start debugging again from the breakpoint

13. If a row has many methods, when the first press F5 key to jump into this line first method, F6 step by step debugging, F7 jump out of this method. When the second press F5 key to jump into this line the second method, F6 step by step debugging, F7 jump out of this method. And so on. To enter this line the first few methods, just a few times F5 and F7.

The shortcut keys that Eclipse uses in debug debugging

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.