How to set a trigger from the Disassembly view?

To set a trigger from the Disassembly view:

  1. Open the Debug Configurations dialog box and enable trace and profiling.
  2. Specify the trigger conditions as required.
  3. Save the settings and debug your project.
  4. After the application halts, open the Disassembly view and scroll to the address line of the function or instruction where you want to set the trigger.
  5. Right-click on the marker bar corresponding to that address line and select Trace Triggers >Toggle Trace Trigger A/B .
  6. Resume your application to collect trace.

This is how you set a trigger from the Disassembly view.