Eclipse Debug Settings

Asked

Viewed 956 times

0

Good afternoon.

I’m having a problem debugging my project on Eclipse. Native java classes are appearing in the debugging process when the only classes that are interesting to me are the ones that are part of my project. How I choose not to view native Java classes?

Grateful!

  • 1

    Does this happen when the flow reaches the breakpoint? you tell it to enter the code?

  • 1

    If I were you I wouldn’t do that. It might get confused when some method throw exception.

1 answer

1

Launch or/and configure Debug Step Filtering:

Window - Preferenes - Java - Debug - Step Filtering

The option Use Step Filter must be triggered and the classes/packages you do not want to debug marked (as a minimum java.* and javax.*).

See below for an example:

Screenshot Preferences

if the package/class in question is missing - java.* and javax.* - just use the respective left button: Add Packages... or Add Class... to select packages or classes; or Add Filter... to enter text form.

Obs: there is also a button on the Debugger screen (Perspective) to trigger/turn off the use of Step Filter directly (Shift+F5).

  • In Use Step Filter there was only the option java.lang.Classloader, I removed it however, classes like String.class or Pattern.class are still being shown in debug.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.