(a) A devisee shall not be liable to the creditor of his testator unless it appears that the personal assets of the testator and the real property descended to his heirs were insufficient to discharge the debt, or unless it appears that after due proceedings the creditor has been unable to recover the debt, or any part thereof from the personal representatives of the testator or from his next of kin, legatees, or heirs.
(b) In either of the cases specified in subsection (a) of this section, the amount of the deficiency of the personal assets, and of the real property descended to satisfy the debt of the plaintiff, or the amount which such plaintiff may have failed to recover from the personal representatives of the testator, his next of kin, legatees, and heirs, may be recovered of the devisees of such testator, to the extent of the value of the real property devised to them respectively.
(c) Subsections (a) and (b) of this section shall not affect the liability of devisees for a debt of their testator where such debt was by his will expressly charged exclusively upon the real property devised, or by the terms of the will made payable by the devisee, or out of the real property devised, before resorting to the personal property or to any other real property descended or devised.