←back to thread

1371 points yett | 1 comments | | HN request time: 0.209s | source
Show context
gigatexal ◴[] No.43775701[source]
Use a debugger folks. A 10x dev cited this story to me about the ills of not using one.
replies(5): >>43775777 #>>43776985 #>>43777338 #>>43777651 #>>43778686 #
ajross ◴[] No.43775777[source]
Tools like valgrind/asan/msan would have flagged this instantly too. Just a unit test of that vehicle loader would have seen it.

Really this is more a story about poor development practice than it is an interesting bug.

replies(2): >>43775857 #>>43775868 #
1. avidiax ◴[] No.43775868[source]
Problem with valgrind/asan/msan is that you have to start using these tools early in the development process. It can't be a "checklist" item before launch, or you'll have an insurmountable number of bugs, often with them baked in such that fixing the bug causes additional changes that introduce unrelated bugs.