Debugging a Program With dbx

-thread tid

The event is executed only if the thread that caused it matches tid.