Error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Error

If i had 500 coding line e.g and many of programming commands what should i do if I had an error on line 39 e.g and i had reviewed it and found nothing false in that line but I was too lazy to review every line to see where the error existed ? Then what's the best way should I behave in to handle this error i had? In general .... What are you gonna do or the steps you take when you have an error in your program in order to solving it? " Assuming that you are very lazy person "

14th Jul 2020, 3:25 AM
ebrahem hesham
ebrahem hesham - avatar
2 Answers
+ 3
If you know the problem area, set a breakpoint there and use the debugger to track values a step at a time in your code. You can watch each variable to see what it does.
14th Jul 2020, 3:31 AM
Slick
Slick - avatar
+ 2
Debugging. Look up where line 39 is called. Follow it up.
14th Jul 2020, 3:29 AM
Sandra Meyer
Sandra Meyer - avatar