I've currently got a snippet of java code running in eclipse, which has a bug somewhere. In fixing the bug, I'd like to see what the program's actually doing. I know Java traces where the program goes when it displays an error message; can I access that data to find out where I'm going wrong?
Thanks!
If you are not familiar with breakpoints and debugging process this tutorial from Vogella will help you. Breakpoints will help you to understand the flow of program and can see where it starts and stops.In debugging mode when you hover over variable you can actually see what's happening there and values as well. This way you will know where this error is coming from and what could be the solution.