Saturday, January 26, 2008


My colleague Cedric sent me this funny wisdom on debugging computer code:

The Six Stages of Debugging:
  1. That can’t happen.
  2. That doesn’t happen on my machine.
  3. That shouldn’t happen.
  4. Why in the hell does that happen?
  5. Oh, I see.
  6. How in the hell did that ever work?


jacco said...

Especially when looking at PowerPC register dumps...

Brasto said...

In HEX mode reads OFF, No comments

Johan Stolk said...

Hahahhh.. :-)
Sounds familiar...

$a = true;
$b = "blah";
if ($a == $b)
no of course not.. hm..
yes it is, really... arghl..

if ($a === $b)
ah.. I see.. now this IS false

PHP is funny :-)