In theory, our advisor would be close enough to projects to help with these types of problems, but the reality is that most of us are left to fend for ourselves. You certainly learn more by struggling through to solve problems, but there's a point at which it overwhelms the ability to get anything done. It also makes brainstorming more limited. Collaborating is not something I'm learning how to do right now.
I'm a little jealous of some of the other groups in my department, who work much more closely with one another. They seem to be less dependent on their advisors. On the other hand, when the equipment goes down, no one is getting any work done. Maybe the grass always looks greener from a distance.