Netbeans has a nice "Step Into" feature where if there are multiple method calls on the same line, you can use the arrow keys to choose which one you meant. You can see a screenshot and description on this new and noteworthy page.
I am wondering, does Eclipse have the same feature? I see that Eclipse does have Step Filtering, but that's not the same. I prefer not to F5, F7, F5, ...
Debugger executes the program statement by statement. The debugger will execute the function body if the statement is a function call (a new execution context appears in the “call stack” tab). Otherwise, the debugger will continue to the following statement, just like the “Step Over” action.
1.4. To debug your application, select a Java file with a main method. Right-click on it and select Debug As Java Application. If you started an application once via the context menu, you can use the created launch configuration again via the Debug button in the Eclipse toolbar.
F11/Shift+F11 ⮕ Step into/out This shortcut is to step into the breakpoint or step out of it. It starts the execution or ends the execution of the current breakpoint.
Eclipse had it for ages. While debugger is stopped on a break point, put cursor on a method you want to step into and then use Run menu / Step Into Selection (Ctrl-F5) or just Ctrl+Alt-Click on that method in the editor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With