Zeldman
Touchdown! Greaser!
...I'm not, nor will not, put my life or my passengers life in my ability to trouble shoot something while airborne. Fixes should occur on the ground not in the air in my opinion and I'm fine with how I handled this...
And this is what concerns me as a flight instructor and basically as a pilot.
To start off with your previous problem, you will live to fly another day and no one got hurt. Fine and dandy. Live and learn. But....
Lets pretend something else happened, say, for some unknown bizarre unexplainable reason one tank ran out of gas. Will you ride it down to the ground and then try to figure out what happened or will you go through the hopefully ingrained memory items for the engine loss of power.? Which the first Item is change fuel tanks.
The emergency checklist will have you trouble shoot to try to remedy a problem while in the air. I don't remember the electrical/alternator failure checklist, too many years since I have been in a 172, but I would bet it is something similar to what Skydog58 stated.
Multi tasking is part of flying.