Walking out was an over-reaction, but I can understand what provoked it. Senior managers here don't see a process, they just see the end result and assume it comes out complete in a brain dump.
As an example, I recently had some problems getting a Broadcom NIC talking to the network for our new CVS server. A passing project manager suggested that I put windows on the box, install visual sourcesafe and import the code (about 250,000 lines + history) into it. He figured I could do that on my weekend so his team could access it by the live date.
I ended up finding the answer
here (surprise, surprise!), tested using DHCP, switched to fixed IP, got it working and had my weekend off. I'm no rocket scientist, but I do know how to use a methodical process to analyse a problem, rather than trivialising it with terms like "cutting code"