I’ve got this code that I’m debugging for a while now. I’m not sure what’s it causing it to fail, but each time I execute it, all scripts run smoothly until a certain point. And then…they break into a complete and utter mess. My screen gets flooded with errors, my logs fill with bad requests. What did I do wrong? Where did I make ┬áthe fatal mistake that lead me to this point?

To get the answer to my problem, I need to understand it first. I need to unravel its secrets. I need to become the bug.

Continue reading