Bad day

Today was a bad day at work. It started out well, but fell apart in the last half hour.
Since I’ve been given to a new project I have felt like I’m not pulling my weight. I’m supposed to be fixing bugs, but I don’t know the code and I’m frequently trying to fix bugs I can’t reproduce. Today I started work on a bug that I felt like I was making progress on. I felt good about myself.
Up until I found out that a senior programmer was working on the same bug and had just fixed it. The only good part of fixing bugs is the catharsis that comes from actually fixing it. So I got all of the pain, and none of the joy. And I continue to feel stupid and unhelpful.