Resume/Suspend Toggle Button

The Resume/Suspend toggle button is used to start or stop the trace. This toggle button appears on launching the debug session of an application. The default status of trace collection is ON. Therefore, when the application is debugged, the Suspend toggle button appears next to the data source. When clicked, the button toggles to Resume.

Figure 1. Stop Toggle Button
Stop Toggle Button

To stop trace collection:

  1. Debug the application.

    The Suspend toggle button appears next to the data source name in the Software Analysis view.

  2. When the application halts at the program entry point main(), click the Suspend toggle button.

    The button toggles to Resume.

  3. Click Resume in the Debug view.
  4. Click Suspend in the Debug view after some time.
  5. Look at the trace data in the Software Analysis view.

    The trace is not collected.

To start trace collection:

  1. Click Resume toggle button.

    The button toggles to Suspend.

  2. Click Resume in the Debug view.
  3. Click Suspend in the Debug view after some time.
  4. Look at the trace data in the Software Analysis view.

    The trace is collected.

The toggle button disappears when you click Resume in the Debug view or terminate the debug session. After clicking Suspend in the Debug view, it is visible again with the last selected status.