Time for action – setting up step filtering

Step filters allow for uninteresting packages and classes to be ignored during step debugging.

  1. Run the target Eclipse instance in debug mode.
  2. Ensure that a breakpoint is set at the start of the execute method of the SampleHandler class.
  3. Click on the hello world icon, and the debugger should open at the first line, as before.
  4. Click on Step Into five or six times. At each point, the code will jump to the next method in the expression, first through various methods in HandlerUtil and then into ExecutionEvent.
  5. Click on resume Time for action – setting up step filtering to continue.
  6. Open Preferences and then navigate to Java | Debug | Step Filtering

Get Eclipse Plug-in Development Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.