Generate debug information

Process DWARF debug information and line numbers for a higher level of detail in your capture session.

Before you begin

To process debug information, you must have built the image using the -g compiler option.

Procedure

  1. In the Start view, select the Use advanced mode checkbox.

  2. Click Capture Settings.

  3. In the Analysis section, select Enable source code cross-references to process source code mappings and call stack information. If you clear Enable source code cross-references, the source section shows a No source available message.

    Note

    • Selecting Enable source code cross-references results in higher memory usage.

    • This option can be changed when you re-analyze the stored capture.

  4. Click Save.

Results

The report data that is automatically generated after the termination of the capture session contains information to help you debug your code, including:

  • Source code mappings.

  • Call stack information.