Sergey Senkov Sergey Senkov - 10 days ago 5
Java Question

Intellij Idea. Is any way to set brakepoints on all methods of the chosen class?

I`m new to Intellij Idea. I have a huge (2300 lines) legacy class AssetManager and I need to brakepoint all calls of its methods to understand how does this mess work.

Is any way to set brakepoints on all methods of the choosen class?

Answer

I have discovered workaround :

1. I have set "Toggle Brakepoint" hotkey to Alt+Numpad 0.
2. After that you can click on first method
3. Use "Toggle Brakepoint"
4. Alt+Down - goto Next Method. ( Alt+Up - goto Previous Method. )
5. Repeat 3 step.

Comments