Use the timing light trick. Hang a cheap neon timing light on the bike and hook it up to one sparkplug. When the engine quits, look at the light to see if it is still flashing. This will narrow the problem down to ignition or fuel delivery.
Let's hope there's intelligent life somewhere in space 'cause it's buggar all down here. -- Monte Python