Theoretical tracking of resonance-enhanced multiple ionization pathways in X-ray free-electron laser pulses.