views:

36

answers:

1

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:

  • getMyresult()
  • getParam()
  • buildSomething()
  • nextOption()

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.

+2  A: 

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.

Eugene Kuleshov
awesome. that works good enough. CMD+F5 on mac for anyone interested.
Tony Eichelberger