Debugging a Program With dbx

Stopping Execution on a Condition

To stop program execution if a conditional statement evaluates to true:


(dbx) stop cond condition