We can use the button "Switch On/Off" in SAT to trace transaction which are not launched by backend
Suppose I want to trace the performance when I click product hyperlink in search result. First I have to set a breakpoint to the event handler and launch UI to trigger the breakpoint.
Once breakpoint is triggered, click button highlighted above, select the session and click button “Activate Measurement”.
Once done there is a new yellow light indicating that trace is switched on. The trace file is also generated accordingly.
Then click F8 to finish execution, and deactivate the trace. Now the SAT file is ready with a green light turned on.
At this time, please do not directly go to SAT and view your trace file: It will not work. Instead please just double click the green light, it will automatically format SAT file for you.
Once done, it will also be displayed correctly in SAT.