Setting up and using Trace

RealView Debugger enables you to define tracepoints and to set complex conditions for generating trace information based on your specifications. You can configure your analyzer and set the control points for a trace capture from within the Code window. The results of the trace capture are displayed using an Analysis window. The Analysis window menus provide most of the options for controlling tracing in RealView Debugger.

 See the RealView Debugger v1.8 Extensions User Guide for examples of using trace in RealView Debugger.

To perform tracing on your program: 

  1. Start RVD.

  2. Connect to a target that supports trace. If you need help with setting up either Trace Hardware or Trace software, refer to the Appendices of the RealView Debugger v1.8 Extensions User Guide.

  3. Load the image you want to analyze.

  4. Select Analyzer/Trace Control Connect Analyzer/Analysis... from the Code window Tools menu to connect to the analyzer.

  5. If you are using an ETM target, configure the ETM.

  6. Set the analysis options that will be common to all your trace captures using the Analysis window Edit menu.

  7. If you want to confine tracing to a specific area of your program,  set tracepoints.

  8. Use Analysis window View menu options to Clear the trace buffer and set the Automatic Update on New Buffer if you need to.

  9. Execute your program.

  10. View the trace capture data using the Analysis window.

image\openred.gif The availability of tracing resources, and options within the Analysis window, are dependent on the hardware you are using. See the Getting Started section in the tracing chapter of the RealView Debugger v1.8 Extensions User Guide for a description of which resources are available for each hardware solution.