Reputation: 7142
I have used IntelliJ Idea on a few projects and I really like the feature it has in the debugger where I can step into a line of code, but choose which of the methods I REALLY want to step into, instead of going through them all until I hit the one I want.
For example, the debugger stops at this line:
String restult = getMyResult(getParam(), buildSomething(), nextOption(x));
I want to hit ctrl+F5 and have a list popup with:
and I can select getMyResult and step into that method while skipping the other three.
It sure miss that feature when I am debugging in eclipse, does anyone know if there is something comparable?
I know about the Step Filtering options in Eclipse, but that is not quite what I want.
Upvotes: 8
Views: 1489
Reputation: 66
You can:
Does not work all of the time tho.
Upvotes: 0
Reputation: 3724
In IntelliJ Idea 10.5
It is called Smart Step Into
In menu it can be found "Run -> Smart Step Into"
Upvotes: -1
Reputation: 31795
You can simply put a cursor on method you want and hit Ctrl-F5, so no additional selection needed. Alternatively you can use Ctrl+Alt-Clik using mouse do do the same.
Upvotes: 10