O'Reilly logo

Eclipse 4 Plug-in Development by Example Beginner's Guide by Dr. Alex Blewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – using watch variables and expressions

Finally, it's worth seeing what the Variables view can do.

  1. Create a breakpoint at the start of the execute() method.
  2. Click on the Hello World icon again.
  3. Highlight the openInformation() call and navigate to Run | Step Into Selection.
  4. Select the title in the the Variables view.
  5. Modify where it says Hello in the bottom half of the Variables view and change it to Goodbye:
    Time for action – using watch variables and expressions
  6. Save the value using Ctrl + S (or Cmd + S on OS X).
  7. Click on the Resume icon and the newly updated title can be seen in the dialog.
  8. Click on the Hello World icon again.
  9. With the debugger stopped in the execute() method, highlight event ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required