Surf Roots, Software Thoughts

A blog by Alex Loddengaard

5 Hours of Debugging for This

Guess what? The following C code compiles with no warnings in gcc with the -Wall option:

sh: /usr/bin/states: No such file or directory

My partner and I just spent 5 hours debugging the rest of our code only to find out that the assignments were supposed to be assigning from k1 and k2, not key1 and key2. Shit. Lesson learned I suppose.

2 Comments so far

  1. Robbie March 9th, 2008 9:25 pm

    Ironic how the simplest / dumbest mistakes take the longest to debug, isn’t it?

  2. [...] and we enjoyed most of it. The biggest pains were cross-compiling and running on the N800s and odd GCC behavior. If you’re a UW CSE student and plan to take networks (CSE 461), then try and take it with [...]

Leave a reply