11

debug hell

senior: i'm going to read the code changes of the PR that caused this bug, many files , lots of lines of code to see if i can suss out this issue

me: skimmed the PR, i give up, unga bunga time, time to compare the variables in the debugger between the different implementations, found the difference

due credit, the unga bunga approach worked this time, might nto always work

Comments
  • 3
    Yeah, but scraping diffs should be a last resort.
  • 3
    git bisect is your best friend. :)
  • 1
    Unit testing is a real friend.
    Good testing coverage points the location of error
Add Comment