Describe a challenging bug you encountered in a previous project and the steps you took to resolve it.