Debugging

Display

…execute any Java code in the context of a running debugger:

My favorite Eclipse view

  • Window, Show View, Other, Debug, Display

  • Type in your code, highlight the code you want to run…

  • Use the buttons, or Ctrl, Shift, D to execute the code.

    Note: Check the console window for output…

Shortcut Keys

Resume

F8

Step into

F5

Step over

F6

Step return

F7

Variables