Disentangling the reaction mechanisms of weakly bound nuclei