ED of debt and bankruptcy

I am unclear about an earlier thread: If our marital debt is equitably divided and my ex declares bankruptcy, that that mean that she does not have to pay her share of the debt? Does the whole debt then fall on me, or just my half?

*not an attorney

A court can order one of you to pay the debt, but your agreement is with the bank, they can still go after you for anything you guaranteed.

If she is discharged from responsibility for the debt the it is all yours.

One has to pay the entire debt in this case.