Does anyone know how to set a breakpoint in the following Person.toString() when using Eclipse or IntelliJ IDEA?
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
@ToString
@AllArgsConstructor
@Data
public class Person {
private String lastName;
private String firstName;
}
EDIT:
If possible, I want to stop only when toString() is called.