I'm used to that from old British and Italian stuff, but an OBD-II car usually tells you exactly what's wrong.
Got a friend's 2001 Cavalier w/2.2 OHV engine (I know, that's what's wrong, right there...but I digress). Said it wouldn't start. Well, made sure it had a good battery charge and tried to crank it over. Cranks over fine. So I put the OBD connector on, first time didn't have it quite seated and it said it couldn't connect. Pushed the connector all the way on and got a connection but it said no codes.
Well, I was going to do a "tune up" anyhow, so I changed the spark plugs, and while I had them out, checked compression. Seemed ok. When cranking there didn't seem to be any noises like broken timing chain or pistons eating valves... Put the plugs in, and before connecting all of them, I put a plug in a wire and laid it on the valve cover to check spark. Had spark. Hmm.
When turning the key on, you can hear the fuel pump fire up for a couple seconds like normal. Checked the fuel pressure regulator, and there's fuel at the rail. Put some starting fluid in it and fired it up. Ran good and smooth for about 10 seconds, til it ran out of fluid. So obviously the crank position sensor is working and the cam position sensor is working. Which I'd figure considering it didn't throw codes for them. And it runs smoothly so the ignition is doing it's job, and the timing seems fine. it'll fire up every time on the starting fluid. And while it's running, there's no check engine light (though it does light up when it's cranking, so the bulb works)
I guess I need to check fuel pressure next. I was thinking fuel filter, but usually if it's getting by the filter enough to get to the rail, it'll run relatively good at idle, but not be able to rev (at least in every other EFI car I've had). I don't have a fuel pressure tester adapter that I can hook up to the car, though. Drat.
I don't want to just start throwing parts at it. I love OBD II, but not when it's telling me all's well, when it's obviously not. Time for a Scotch. I think the Aberfeldy 21 year ought to do it...