I can't begin to enumerate the ways SO has helped me as a programmer and a professional; it taught me that I don't know everything (which is a tough lesson to learn, especially when you're 18 and top of your class in CS), it taught me that I shouldn't be upset about not knowing everything because nobody else does either, it taught me to ask myself hard questions about the code I was writing, it taught me that being a jerk to people smarter than me was no way to go about getting smarter myself, and it continues to teach me new things every single day.
Probably the most important way SO has helped me generally is that it taught me how to research; I don't want to spend time writing up a question just to have it flagged as a dupe because I didn't do enough research. This has been hugely helpful both in my personal programming endeavors and my professional career (I mean, the word research is right there in my job title).
I guess if I had to pick a specific instance, it would be a question I found yesterdaya question I found yesterday about how to write a proper benchmark in Java. See, I have been having issues with a particular problemparticular problem for a while now, and I thought I had come up with a very effective solution without compromising performance, but the best I could come up with was "this should perform better than what I had before". The benchmarking question really helped me to figure out whether and why I was seeing performance bottlenecks, and sure enough: my independent research into the problem had lead me to an effective solution that perfectly fits my needs.