Thread CD will break.
If the force is large and sudden, thread CD breaks because as CD is jerked, the pull is not transmitted to AB instantaneously (transmission depends on the elastic properties of the body).
Therefore, before the mass moves, CD breaks.