Are there any countries in the world where the debts of the deceased must be inherited by the deceased's heirs?
In the UK and USA, it seems to be well understood that if the deceased's estate is insufficient to cover any outstanding debts, then those debts are written off once the estate is exhausted; the heirs do not take on any further liability for them. Any discussion of the topic seems to revolve around potential continuation of debts shared via joint credit cards or mortgages, but that's not the sort of thing I'm looking for.
Elsewhere, there seem to be places where things are a little less straightforward. For example, in Poland there seemed to be some quirk in the law which allowed heirs to become unwittingly liable for debts in excess of any assets - see this story, for example - but the law was changed in 2016 to limit the impact. And in Japan, as I understand it (source), inheritors must consent to take on any debts in addition to assets; but as inheritances can be renounced noone is forced to take on debts in excess of assets.
Are there countries where heirs have no choice but to take on full liability for the debts of their ancestors? (If not, has it always been so, or have things been different in the past?)
Update: a bit more googling around found me this (from Slavery International):
Bonded labour is most widespread in South Asian countries such as India and Pakistan. Often entire families have to work to pay off the debt taken by one of its members. Sometimes, the debt can be passed down the generations and children can be held in debt bondage because of a loan their parents had taken decades ago.
Which seems an example of the sort of issue I'm thinking of. However, wikipedia claims
In 1976, Indira Gandhi and the Indian government passed the Bonded Labor System Act of 1976 which released bonded laborers and stated that the practice of debt bondage in India was no longer allowed.
so I'm not sure I can count that, at least not in India (even if, in practice, it still happens, due to custom or coercion). Anywhere where this sort of intergenerational debt bondage still happens and is still unequivocally legal would be certainly be of interest though.