What is the best way for a beginner to learn how to debug a program? Thank you for any answer. | SoloLearn: Learn to code for FREE!

+1

What is the best way for a beginner to learn how to debug a program? Thank you for any answer.

Debugging java

7/6/2020 7:59:29 PM

Lax Lax

2 Answers

New Answer

+3

A little lengthy but tried and tested method is to use print statements for printing the values of variable before and after change. On entering and leaving functions. It is not a substitue for a debugger which is an indispensable tool / skill in programmers armour. Every programmer MUST learn to use a debugger.

+3

Thank you. I now have a good place to start.