How to easily find the error's & solved it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to easily find the error's & solved it?

10th Aug 2018, 4:20 PM
Yash Garg
Yash Garg - avatar
3 Answers
+ 3
Just go line by line and find your error.Need a lot of practice and great knowledge.Always use dry run on your code.First write on copy and then computer.Read every line of code properly. In such a way you can find your error easily.
10th Aug 2018, 4:26 PM
Maninder $ingh
Maninder $ingh - avatar
+ 1
you can always place breakpoints when debugging, depends on your IDE tho.
10th Aug 2018, 10:51 PM
Fyrahh
Fyrahh - avatar
+ 1
you can also write log messages so when it gets past a certain point you can say, "successfully created.." or something like that, be creative
10th Aug 2018, 10:52 PM
Fyrahh
Fyrahh - avatar