Bankruptcy is designed to free struggling people from crushing levels of debt, but it's not a cure-all. There are several kinds of debts that even bankruptcy can't erase [sources: U.S. Courts, Michon, New York Fed]:
The bankruptcy court is also limited by what the debtor reports on his or her financial statements. If a creditor is not listed on bankruptcy documents, the debt will not be discharged. This is yet another reason to hire a bankruptcy attorney.