Intel® System Debugger User Guide

ID 648476
Date 06/13/2024
Confidential
Document Table of Contents

Enabling and Disabling Tracing

To start recording trace data (enable tracing), use the !enable command. To stop recording trace data (disable tracing), use the !disable command.

Note:

As long as tracing is enabled, the trace output buffer gets filled. When the buffer is full, older trace data is overwritten by newer trace data. To make sure useful trace data is not overwritten, it is recommended to disable tracing as early as possible.

To show the current enable state, use the !showenable command.

The following code snippet is an example how to use the !enable and !disable commands together with !showenable:

2: kd> !showenable

<0> Tracing is disabled.

<1> Tracing is disabled.

<2> Tracing is disabled.

<3> Tracing is disabled.

2: kd> !enable

2: kd> !showenable

<0> Tracing is enabled.

<1> Tracing is enabled.

<2> Tracing is enabled.

<3> Tracing is enabled.

2: kd> !disable /here

2: kd> !showenable

<0> Tracing is enabled.

<1> Tracing is enabled.

<2> Tracing is disabled.

<3> Tracing is enabled.

2: kd> !disable

2: kd> !showenable

<0> Tracing is disabled.

<1> Tracing is disabled.

<2> Tracing is disabled.

<3> Tracing is disabled.