📄 os20rto3.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 16:06:08">
<title>11.2 Task awareness</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_refman.htm"><img src="images/navtoc.gif" width="84" height="23"
border="0" alt="TOC"> </a></td>
<td><a href="os20rto2.htm"><img src="images/navprev.gif" width="80" height="23"
border="0" alt="PREV"> </a></td>
<td><a href="os20rto4.htm"><img src="images/navnext.gif" width="83" height="23"
border="0" alt="NEXT"> </a></td>
<td><a href="a_refmaa.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="1204448"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">11.2 Task awareness</font>
</h2><hr>
<p>
<a name="1204449"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The most important features of task awareness in <strong>st20run</strong> revolve around the ability to extract the list of active tasks from the running target, and determine which task was running when the target stops.</font>
</p>
<p>
<a name="1204450"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The task awareness features of <strong>st20run</strong> are visible in a number of ways.</font>
</p>
<ul>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204451"> </a>ST Visual Develop provides a complete GUI development environment. For full details, see the <em>ST20 Embedded Toolset User Manual</em>, particularly the chapter <em>Debugging with ST Visual Develop</em>.</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1207586"> </a>Most obviously, the <strong>Tasks</strong> window and the <font size=2 face=Courier><strong>task</strong></font> command show a list of all tasks in the system, and details about those tasks.</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1205422"> </a>The <strong>Editor</strong> window can be switched to display the last code which the chosen task executed when it stopped executing, whatever the reason. This then affects any local variables displayed, where the variable from the selected task's stack frame is printed.</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204453"> </a>Similarly, in the <strong>Callstack</strong> window and the <font size=2 face=Courier><strong>where</strong></font> command, any task can be selected, not just the one which was executing when the target stopped.</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1207563"> </a>The <strong>Callstack</strong> window shows the call hierarchy for the task selected in the <strong>Tasks</strong> window.</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204454"> </a>Break events can be task specific (that is they are only triggered if the specified task is the one which is currently running). This is particularly useful when a function is executed by a number of tasks.</font></p>
<p> <font size=2 face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204455"> </a>A task can be explicitly selected through the selection box in the <strong>Command Console</strong> window, or using the <font size=2 face=Courier><strong>context</strong></font> command, which sets the default task to be used in future operations and commands.</font></p>
</ul>
</blockquote>
<hr>
<table width="331" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td><a href="a_refman.htm"><img src="images/navtoc.gif" width="84" height="23"
border="0" alt="TOC"> </a></td>
<td><a href="os20rto2.htm"><img src="images/navprev.gif" width="80" height="23"
border="0" alt="PREV"> </a></td>
<td><a href="os20rto4.htm"><img src="images/navnext.gif" width="83" height="23"
border="0" alt="NEXT"> </a></td>
<td><a href="a_refmaa.htm"><img src="images/navidx.gif" width="84" height="23"
border="0" alt="INDEX"> </a></td>
</tr>
</table>
<font size=1 face="Verdana, Arial, Helvetica, sans-serif"> © 2001, 2002, 2003 STMicroelectronics. All Rights Reserved.<br>
ADCS 7250966F</font>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -