Search code examples
eclipsedebuggingnetbeansstep-into

Select which method to "Step Into" in debugger


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, ...


Solution

  • 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.