When I write code, and it does not as expected, normally the first thing I do is review what I did last. Because that probably caused this unexpected result. Should this fail, and the problom persists, I have System.out.prinln’s set up within the code at different points to tell what is getting run, and when, and (if applicable) what different propertys of different variables are at different times.
But, I know there are debugging tools available, I just dont know anything about them. Also I have no idea if others go through a simmilar problom when a program behaves unexpectidly.
What do you all do when something isnt working?