Student loan debt is tough to dodge: Unlike other forms of debt, it typically can’t be discharged in bankruptcy.

Some judges within the past year seemed to take a softer stance toward struggling law school graduates carrying tens of thousands of dollars in loans. But during this month alone, federal judges in two states slapped down attempts by law graduates to discharge their student loans through bankruptcy: