Is there any way to set breakpoints on all methods of a class?

后端 未结 6 1515
我在风中等你
我在风中等你 2020-12-24 04:40

Is there any way to set breakpoints on all methods of a given class?

I have a huge (2300 lines) legacy class and I need to set breakpoints on all method calls to und

6条回答
  •  遥遥无期
    2020-12-24 05:25

    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.

提交回复
热议问题