Running GUI in Java

We are working on a Java program with a graphical interface, and we are looking for a tool that shows us which parts of the code are executed when clicking on the buttons in the graphical interface. Any suggestions? thanks in advance

+6
source share
4 answers

Eclipse with debug mode can do this, you just need to set breakpoints in your listeners and click on buttons.

This works out of the box with eclipse ... a simple Debug debugger and it did.

+7
source

Personally, I use the BlueJ debugger:

http://www.stfrank.com/debug-21.png

+2
source

The easiest way is to use print statements. If you need more complexity, use either an IDE (e.g. Eclipse, NetBeans, etc.) in debug mode, or some sort of logging mechanism (e.g. log4j).

+2
source

I am using Swing Explorer

+1
source

Source: https://habr.com/ru/post/900131/


All Articles