tags:

views:

59

answers:

1

In Eclipse, is there a way you can set Method Breakpoints on all the methods of the class without going to individual methods? The motivation behind is that, any time a method gets hit, it would go to that method in debug mode.

A: 

No direct way that I know of.
But if you add AspectJ (that is aspect-oriented extension), you could write an "advice" that you would set on each method of a Class when entering them on runtime.

alt text

You could then set a breakpoint in that advice code.

VonC