To add a trigger, select Trace Triggers >Toggle Trace Trigger A/B from the context menu that appears after you right-click on the marker bar of the source editor.