Debuggers are nearly useless.
All you need is a trace function and a Touhou® plushie. Litter suspect parts of your code with the trace function while simultaneously explaining the problem to your Touhou® plushie and you will quickly and easily find the culprit of the incident.