What do you call using print statements to debug code?
Posted
by vgm64
on Stack Overflow
See other posts from Stack Overflow
or by vgm64
Published on 2010-03-09T07:08:30Z
Indexed on
2010/03/09
7:21 UTC
Read the original article
Hit count: 303
I'm just curious, but is there a name for the process using print statements to debug your code? An example in pseudocode
x=3.2e39
print x
y = function1(x)
print y
z = function2(y)
print z
w = function3(z)
print w
Executation:
3.2e39
3.2e36
NaN
NaN
reveals some bad math in function2. If there's no standard name, what do you call it?
© Stack Overflow or respective owner