If you encountered a significant bug in your code during a project deadline, how would you prioritize your tasks to resolve it?

Situational