A logical error, contrary to a fatal runtime error, is a run time error which doesn't fatally terminate a program, but does something not intended.
Is a logical error necessarily caused by the line of code for the earliest state which is wrong?
Or can a logical error be caused by a line of code before the line for the earliest wrong state?
My question mainly comes from that if debugging can help to locate the cause of a logical error, since debugging can only help to find states that are right or wrong. Thanks.
Aucun commentaire:
Enregistrer un commentaire