The IntelliJ IDEA program has a debugging option, but I don't know if I can check the intermediate values of the variables through it. For example, in the code, when I put a breakpoint, I don't know how I could add the input values to see the intermediate values.
CodePudding user response:
Of course you can debug your code and step through it to better understand what is happening. In essence, you would set a breakpoint at a location of your interest, then tell IntelliJ to run your program in debug mode (breakpoints enabled). How to do this exactly can be seen from various fine resources: