Breakup vs. complete fusion for weakly bound nuclei