One debugging session took me a week to complete. It was a large-scale banking app that had a couple of race conditions, and while some were easy to identify and fix, one proved super difficult to track down.
The main problem was that this app wasn't deployable locally as a single unit; one could only run parts of it. This made things even more complicated, as concurrency bugs are hard to spot on their own.
The funny story was that I reported the problem to management and wanted to fix it, but I got denied since it only affected <0.01% of transactions per day. Then one day, a super important transaction crashed mid-processing for a big shoot client, and they got very upset...
I was tasked with finding all race conditions and other oddities the very same day 🙃
Fun times.
@ChShersh Dude the very very hardest problems I have debugged took 2 days, and I haven't had anything that took that long in about 20 years because I got better at programming and debugging. If you are spending a week on a small set of 'if' statements, mega omega red flag.
