Explain a challenging technical bug you encountered in a past project and the methodology you used to troubleshoot and resolve it.