Skip to content

Manage Dynamic Traces

After you have set up Traces, You can perform the following administrative operations related to Traces. For more information on Traces, see Work with Dynamic Traces for Jave in jetbrains.

View a list of Traces

The Traces tab in the Lightrun Console displays a list of Traces. When you expand a trace instance, a list of its associated Trace Snapshots is displayed. Clicking on a Trace Snapshot will focus the IDE’s editor on the corresponding code line.

View Traces in Plugin ---half

View Trace details

To view the details of a Trace, click the vertical ellipsis () next to the Trace and select More Information.

View Trace information ---half

The Trace Details dialog opens.

trace details ---half

Edit a trace

When editing a Trace, you may want to adjust its settings, modify existing Trace Snapshots, or add and remove Trace Snapshots. One advanced option is limiting the number of Trace Snapshots hits per Trace. While this feature offers fine control, it is typically recommended only for users who need to customize trace behavior in detail, as sensible defaults are already in place.

To edit an existing Trace, you must first deactivate it. Once deactivated, you can modify the Trace configuration, add new Trace Snapshots, or remove any unwanted Trace Snapshots. After making the necessary changes, reactivate the Trace. Deactivating and reactivating the Trace ensures that changes can be made without affecting ongoing Trace Results. This approach is especially useful when you need to add several new Trace Snapshots and want to make all changes effective at once, rather than having each new Trace Snapshot start capturing immediately.

Note that editing a Trace generates a new trace ID for the revised Trace.

To edit a trace:

  1. Go to the Traces tab in the Lightrun plugin.
  2. Click ON next to the Trace you want to edit.
  3. Click the vertical ellipsis () next to the Trace and select Edit.

    Edit Trace --half

    The Edit Trace dialog opens.

    Edit Trace --half

  4. Make the required changes.

  5. Click Save and set the Trace to On.

Delete a Trace or Trace Snapshot

To delete a Trace, you need to set the Trace to ***OFF**. You can delete an entire Trace including the Trace Snapshot included in it and you can also delete a Trace Snapshot within a Trace directly when you select Edit Trace Snapshot.

  1. Go to the Traces tab in the Trace panel.
  2. Click OFF next to the Trace you want to delete.
  3. Click the vertical ellipsis () next to the Trace and select Delete.

    Select Delete ---half

    The Trace is removed from the Trace list.


Last update: February 24, 2025