有沒有人知道如何使用Eclipse或IntelliJ IDEA在以下中設置斷點?如何調試lombok對象
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
@ToString
@AllArgsConstructor
@Data
public class Person {
private String lastName;
private String firstName;
}
編輯:
如果可能的話,我想停止,只有當toString()
被調用。
使用[字段斷點](http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fbreakpoints%2Fref-access_option.htm)或「delombok」類 – 2017-07-27 06:06:13
可能的重複:https://stackoverflow.com/questions/24751922/how-to-set-a-breakpoint-in-a-setter-method-in-intellij-idea-that-is-generated -wi?rq = 1 – 2017-07-27 06:08:37
[如何在使用Lombok生成的IntelliJ IDEA的setter方法中設置斷點?](https://stackoverflow.com/questions/24751922/how-to-set-a -interpoint-in-a-setter-method-in-intellij-idea-that-is-generated-wi) –