Visualizing Tracepoint Data | ||
---|---|---|
Importing Tracepoint Data | References |
In the Traces folder, double-click the GDB trace or right-click it and select Open from the context menu.
The tracepoint data will be opened in an Events editor, and a C/C++ Postmortem Debugger instance will be launched.
If available in the workspace, the source code corresponding to the first trace record will also be opened in a C/C++ editor.
At this point it is recommended to relocate the Events editor outside of the default editor area, so that it is not hidden by the C/C++ editor.
In the Events editor, a table is shown with one row for each trace record. The Trace Frame column shows the sequential trace record number. The Tracepoint column shows the number assigned by GDB at collection time for this tracepoint. The File column shows the file name, line number and method where the tracepoint was set. The Content column shows the data collected at run-time by the tracepoint.
Searching and filtering can be done on any column by entering a regular expression in the column header.
Trace records can be selected in the Events editor using the keyboard or mouse. The C/C++ Postmortem Debugger in the Debug view will be updated to show the stack trace of the current trace record.
The trace can also be navigated from the Trace Control view by clicking the Next Trace Record or Previous Trace Record buttons. The Events editor and Debug views will be updated.
Importing Tracepoint Data | References |