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

后端 未结 6 1519
我在风中等你
我在风中等你 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:32

    This is similar to Sergey Senkov's answer, but without hotkeys.

    In the structure view, click on the first method. Repeat the following for each method:

    1. Context Menu Key
    2. M to toggle the method breakpoint.
    3. Down

提交回复
热议问题