I know that BTrace can trace any target method of a java program. However, I want to know if it can trace a method that is directly defined in code. Like the button listener method, cause I want to trace this event.
button1.addActionListener(new ActionListener () {
public void actionPerformed(ActionEvent e) {
.....
}
}