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

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

    You can follow the steps below:

    1. Run -> View breakpoints -> Add -> Java Method Breakpoints

    2. Class pattern -> full reference of your class (e.g., mypackage.MyClass)

    3. Method Name -> * (i.e., asterisk wild card)

提交回复
热议问题