Support nextState() for ComplexNodes. Debug info format changed.