I'm cheating here a little... my KDX is running great, but I am having problems with the kids KX-60. This should probably go in the pit bike forum, but I know the people here better :).
So say you had a KDX that would start (badly) then idle OK at low RPM (if you could get it running) and pull hard up in revs but completely cut out (like you hit the kill switch) then catch again... repeat, repeat, repeat. Its soaking the plugs also (fouling them badly). What would you suspect?
I pulled the plug, and it gets a weak spark, but it is there. If I unthread the spark plug boot and just go from the wire to the engine, I get a nice bright spark jumping a 6 to 10mm gap. So I don't think it is the coil or ignition system.
The gas is fresh, the petcock seems to flow fine, the tank vent is clear.
I cleaned the carb, no change. Jetting was fine before it started behaving badly Timing was recently adjusted and it ran fine afterwards.
It looks like it leaks a little transmission fluid out the front output shaft seal, I'll get around to fixing that someday. It's not bad, and ATF type F is cheap. ;)
I popped the cover off the stator, and it had a little dried water in there (the kid sank it up to the airbox in a puddle). So I cleaned it out with contact cleaner. It wasn't bad though, and I don't see any evidence of oil in there.
I repacked the exhaust (loosly, which is what this bike has always needed in the past to run well).
I didn't do a formal compression check, but if I stuff my finger in the spark plug hole, it pops it out fine when I turn the bike over, so its not something dramatic like a hole in the piston.
I'm thinking my next check will be carb float height, and make sure (again) the petcock is flowing OK (I'll drain the whole tank through a cofee filter and see if anything unexpected comes out). And clean the carb AGAIN. And I'll order a new spark plug boot and wire, just because the current one is like 20 years old now.
Any suggestions or other tests?
On topic for KDX, I came from a four stroke (KLR-250) to the KDX and got everything I wanted... lots more power, lots less weight, lots easier maintenance. The bike spoiled me. So I got the kid a KX-60, thinking it would be the same experience... so far it's been a fussy little high maintenance thing, though it sure has a nice suspension and runs great when running.
It really makes me appreciate the KDX... a two stroke built for reliability and tractability and long term low hassle fun.