⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trace5.htm

📁 ST20 Embedded Toolset R2.0.5用于开发基于ST20芯片机顶盒软件的开发平台,2.0.5版本,国内找不到的.在国外论坛上花了N天才找到!
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Quadralay WebWorks Publisher Professional Edition 6.0.5">
<meta name="TEMPLATEBASE" content="book_html">
<meta name="LASTUPDATED" content="12/04/03 13:42:26">
<title>6.4 Working with trace records</title>

<STYLE TYPE="text/css">
<!--
	span.Signal { text-transform: uppercase; font-family: Verdana }
-->
</STYLE>

</head>

<body link="#3366CC" vlink="#9999CC" text="#000000" alink="#0000CC" bgcolor="#FFFFFF"
background="images/backgrnd.gif">

<p><img src="images/stlogo.gif" width="106" height="83" align="left"
alt="logo here!"> </p>

<table width="331" border="0" align="right" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="a_userto.htm"><img src="images/navtoc.gif" width="84" height="23"
    border="0" alt="TOC"> </a></td>
    <td><a href="trace4.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"> </a></td>
    <td><a href="trace6.htm"><img src="images/navnext.gif" width="83" height="23"
    border="0" alt="NEXT"> </a></td>
    <td><a href="a_userix.htm"><img src="images/navidx.gif" width="84" height="23"
    border="0" alt="INDEX"> </a></td>
  </tr>
</table>

<p><br clear="all">
</p>

<hr align="left">

<blockquote>
<h2>
  <a name="1226342"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">6.4 	 Working with trace records</font>
</h2><hr>


<p>
  <a name="1227593"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">This section describes how the <strong>Trace and Profile</strong> window can be used to navigate, view and filter the results of a trace.</font>
</p>


<h3>
  <a name="1227537"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">6.4.1 	 Navigating the trace results view</font>
</h3>


<p>
  <a name="1227538"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">In the view, a record is selected by either clicking anywhere in its row or by supplying a <strong>Record Index</strong> value in the <strong>Goto</strong> dialog available from the <strong>Trace and Profile</strong> menu, see <a href="guia17.htm#1143751"><font  color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Section燗.4.7: Trace and Profile menu</i></font></a>. </font>
</p>


<p>
  <a name="1227542"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">The currently selected row is highlighted, and the <strong>Goto</strong> value contains the <strong>Record Index</strong> of the selected row. Once a row is selected, the rows can be navigated using the following keys:</font>
</p>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1227543"> </a><strong>Up</strong> and <strong>Down</strong> move through the records one row at a time,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1227544"> </a><strong>Ctrl+Home</strong> moves to the start of the view,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1227545"> </a><strong>Ctrl+End</strong> moves to the end of the view,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1227546"> </a><strong>Page Up</strong> and <strong>Page Down</strong> move through the records one screen at a time.</font></p>
</ul>

<h5>
  <a name="1227547"> </a><i><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">Source synchronisation</font></i>
</h5>


<p>
  <a name="1227548"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Once a row is selected, the <strong>Editor</strong> or <strong>Disassembly</strong> window can be opened and located to a column value by double clicking the following columns within the selected row:</font>
</p>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1227549"> </a><strong>To IPtr, From IPtr</strong> or <strong>Capture Data IPtr</strong> open the <strong>Disassembly</strong> window (if it is not already in view) and highlight that <span class=Signal>Iptr</span> address,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1227550"> </a><strong>To IPtr Source Reference</strong>, <strong>From IPtr Source Reference</strong> or <strong>Capture Data IPtr Source Reference</strong> open the code in an <strong>Editor</strong> window and identify the suitable line.</font></p>
  <dl>
    <dt> <a name="1227551"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">If the <strong>Disassembly</strong> window is in view, the instruction for the source line is highlighted.</font>
  </dl>
</ul>

<h5>
  <a name="1227552"> </a><i><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">Column control</font></i>
</h5>


<p>
  <a name="1227553"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">A column may be hidden from a view table using the <strong>Columns</strong> dialog in the <strong>Trace and Profile</strong> menu, see <a href="guia17.htm#1143751"><font  color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Section燗.4.7: Trace and Profile menu</i></font></a><font  face="Verdana, Arial, Helvetica, sans-serif"><i>. </i></font></font>
</p>


<p>
  <a name="1227565"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">In the <strong>Columns</strong> dialog is a tick box for all possible columns. If a column is ticked, it is displayed if the trace settings can generate the data for that column. There is no warning if a column cannot be displayed. For example, the <strong>Task Name</strong> column can be requested on a DCU2, but the trace settings do not support the generation of this column (as <span class=Signal>Wptr</span> is required). All columns can be selected by clicking on <strong>Select All</strong> and they can all be hidden by clicking on <strong>Clear All</strong>.</font>
</p>


<p>
  <a name="1227566"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">In a view tab, the width of a column can be manually resized by selecting a column edge in the column title. It can be auto-sized to the maximum width of a field value by double clicking the edge in the column title. A column can be moved left or right relative to the other columns by dragging and dropping the column title.
<br><br>
<table border="1" cellpadding="5" cellspacing="0">
  <caption><b><i><font face="Verdana, Arial, Helvetica, sans-serif"><a name="1227617"> </a><font face="Helvetica">Figure 21:  Columns dialog</font></font></i></b></caption>
  <tr>
    <td><font face="Verdana, Arial, Helvetica, sans-serif"><a name="1227615"> </a><div ><font size=2><img src="images/tracea4.gif" height="396" width="327">
</font></div></font></td>
  </tr>
</table>



</font>
</p>


<h3>
  <a name="1227655"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">6.4.2 	 Updating records</font>
</h3>


<p>
  <a name="1227656"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Sometimes trace records are available but are not displayed in the <strong>Trace and Profile</strong> window until the window is refreshed. This is shown in the <strong>Pending buffers</strong> status indicator. </font>
</p>


<p>
  <a name="1227682"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Depending on the settings in the <strong>Trace and Profile Acquisition Settings</strong> window, these records may be downloaded to the <strong>Trace and Profile</strong> window automatically, or either the <strong>Stop Trace</strong> or <strong>Update View</strong> button must be clicked to download the current contents of the target trace buffer</font>
</p>


<p>
  <a name="1227683"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">When new records are incorporated into the view, the pending buffers value is reset to 0. In this way, the information displayed can be manipulated by the user without new records being added.</font>
</p>


<h3>
  <a name="1223348"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">6.4.3 	 The record information displayed in the tabs</font>
</h3>


<p>
  <a name="1223349"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Each record is displayed in an individual row. The fields displayed depend upon the trace settings. <a href="trace5.htm#1223522"><font  color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Table

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -