Most browser dev tools allow to set breakpoints on mouse events (without having to specify the source code line numbers) for JavaScript which can be used to find the handler(s) being executed when the event occurs.
Does something similar in functionality for Java (Swing or AWT API) exist? Or are there any commands or APIs or IDEs to accomplish this?
CodePudding user response:
It appears that there is no known command, API, IDEs, or debuggers that allow to set breakpoints on global events for Java yet.
So, manually pausing the debugger in the beginning and going through the cycle of pausing, continuing, stepping in, and stepping out seems to be the only solution at the moment to step into the event handler code.