Add debugging for incorrect dynamic dependency reporting.