> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.


# Record Trace

This article aims to help you use DevTool to record Trace for Lynx pages. By following these steps, you will be able to capture detailed information about the page rendering process and engine execution, enabling effective performance analysis and problem diagnosis.

## Setup

1. Install [DevTool Desktop Application](/next/guide/devtool.md#run-lynx-devtool-desktop-application).
2. Use the latest [LynxExplorer app](https://github.com/lynx-family/lynx/releases) or [integrate lynx dev version](/next/guide/start/integrate-lynx-dev-version.md) into your application.
3. Use a data cable to connect your device to your computer.

## Record Trace

### Select Trace

Open the DevTool desktop application and choose `Trace` from the topbar.

![Select Trace Panel](https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/plugin/static/select-lynx-trace-panel-latest2.png)
### Select the app

Pick the target app you want to profile from the available device list.

![Select Target App](https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/plugin/static/select-target-app-latest.png)
### Start recording

Press the `Start` button to start recording trace.

![Start Trace](https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/plugin/static/start-trace-latest.png)
### Stop recording

Click the `Stop` button to stop recording trace.

![Stop Trace](https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/plugin/static/stop-trace-latest.png)
### Analyze

After stopping, the trace data will be displayed for analysis.

![Analyze Trace](https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/plugin/static/analyze-trace-latest.png)
### Download trace data(optional)

If needed, click the `Download` button to save the trace file to your computer.

![Download Trace](https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/plugin/static/download-trace-latest.png)
### View or manage historical trace data

Click **History** button to see previous trace data.

![Trace History](https://lf-lynx.tiktok-cdns.com/obj/lynx-artifacts-oss-sg/plugin/static/history-trace-latest.png)
You can select a trace file to `view`, `download`, or `delete` as needed on Trace History panel.

### FAQ

##### After clicking `Start` button, the message "Current app does not integrate lynx and lynx-trace components with dev version, please integrate dev version first according to the following document" appears.

- Use the latest [LynxExplorer app](https://github.com/lynx-family/lynx/releases), or refer to [integrate lynx dev version](/next/guide/start/integrate-lynx-dev-version.md) to integrate the dev version of lynx.

##### After clicking `Start` button, the message "Tracing already started" appears.

- A trace recording is already in progress. Click `Stop` button to end it.

## Next Steps

- [Advance Usage](/next/guide/devtool/trace/launch-trace): Explore advanced features like recording startup trace, JavaScript profiling, and custom trace events

