[Solved] How can one see which part of the code is running when button is pressed? [closed]


There are specific interfaces that must be implemented by classes that handle GUI events. Select the appropriate interface for the event you are interested in. Search for all classes implementing it. In each class, set a breakpoint or add logging in the overriding method that handles the event. Debug, and do the appropriate GUI action.

That should tell you which class actually handles the event in question. Look at its code. See what it calls. Experiment with more breakpoints or logging as needed.

solved How can one see which part of the code is running when button is pressed? [closed]