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

📄 c-debugger2.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    Debugger   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="c-debugger.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="c-debugger1.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="c-debugger3.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="90684">8.2  &nbsp;&nbsp;Debugger GUI</a></i></h3></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="90688"> </a><a href="c-debugger2.html#90692">Figure&nbsp;8-1</a> illustrates the GUI elements you can use to interact with the debugger.<div class="frame"><h4 class="EntityTitle"><a name="90692"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 8-1:&nbsp;&nbsp;Debugging Windows</font></a></h4><dl class="margin"><div class="Anchor"><a name="90717"> </a><img class="figure" border="0" src="images/c-debugger11.gif"></div></dl></div></p><dd><p class="Body"><a name="90822"> </a>The <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Debug</font></b> menu provides the complete list of Tornado GUI debugger commands, as well as their keyboard shortcuts (<a href="c-debugger2.html#89911"><i class="title">8.2.1&nbsp;Debugger Toolbar, Buttons, and Menu Commands</i></a>).</p><dd><p class="Body"><a name="90818"> </a>The <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Debug</font></b> toolbar provides buttons for the most common debugger commands, as well as for opening and closing windows that display data, memory, and stack information (see <a href="c-debugger2.html#89911"><i class="title">8.2.1&nbsp;Debugger Toolbar, Buttons, and Menu Commands</i></a>).</p><dd><p class="Body"><a name="88961"> </a>You use the editor window to keep track of the code you are debugging. You can click in this window to specify information for debugger commands (such as symbol names, or lines of code). The debugger in turn uses the attribute panel, in the left margin of the editor window, to show breakpoints and the execution context. (See <a href="c-debugger3.html#90445"><i class="title">8.3&nbsp;Using the Debugger</i></a>.)</p><dd><p class="Body"><a name="90756"> </a>The debugger command line window for CrossWind provides a command-line interface to the debugger (see <a href="c-debugger5.html#85154"><i class="title">8.5&nbsp;Using the Debugger Command Line</i></a>). The window is not needed for standard debugger operations; the graphical interface provide simpler controls. </p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H3"><i><a name="89911">8.2.1  &nbsp;&nbsp;Debugger Toolbar, Buttons, and Menu Commands</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="93542"> </a><b></b>The <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Debug</font></b> toolbar has buttons for the most common debugging commands, as well as for displaying auxiliary debugger windows. The toolbar shown as a floating palette in <a href="c-debugger2.html#89894">Figure&nbsp;8-2</a>. <div class="frame"><h4 class="EntityTitle"><a name="89894"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 8-2:&nbsp;&nbsp;Debug Toolbar</font></a></h4><dl class="margin"><div class="Anchor"><a name="89910"> </a><img class="figure" border="0" src="images/c-debugger20.gif"></div></dl></div> </p><dd><p class="Body"><a name="93560"> </a>The commands in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Debug</font></b> menu include alternatives to the buttons in the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Debug</font></b> toolbar, as well as additional debugger functions. Keyboard shortcuts are also available for all graphical debugger commands</p><dd><p class="Body"><a name="89977"> </a>The debugger buttons and menu commands are described in <a href="c-debugger2.html#89982">Table&nbsp;8-1</a>. <p class="table"><h4 class="EntityTitle"><a name="89982"><font face="Helvetica, sans-serif" size="-1" class="sans">Table 8-1:&nbsp;&nbsp;Debugger Buttons and Commands</font></a></h4><table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="20"><hr class="tablerule"></td></tr><tr valign="middle"><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="89988"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Button</font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="89990"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Menu Command</font></b></div></th><td width="10">&nbsp;</td><th rowspan="1" colspan="1"><div class="CellHeading"><b><a name="89992"> </a><font face="Helvetica, sans-serif" size="-1" class="sans">Description</font></b></div></th><td width="10">&nbsp;</td></tr><tr><td colspan="20"><hr class="tablerule2"></td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="90615"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90617"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Source Search Path</font></b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90619"> </a>Identify source search paths for the debugger. Opens the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Debugger Source Search Path</font></b> dialog box. See <a href="c-debugger3.html#84322"><i class="title">8.3.2&nbsp;Setting the Search Path</i></a>.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="90000"> </a><img class="figure" border="0" src="images/c-debugger58.gif"></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90002"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Run</font></b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90004"> </a>Run a routine on the target as a new task under debugger control. Opens the <b>Run Task</b> dialog box, which allows you to choose the routine. See <a href="c-debugger3.html#84529"><i class="title">8.3.7&nbsp;Continuing Through a Program</i></a>.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="90638"> </a>n/a </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90640"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Detach</font></b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90642"> </a>Detach from the task currently under debugger control, leaving it in the state present (suspended or running) when you give the command. See <a href="c-debugger3.html#90512"><i class="title">8.3.9&nbsp;Detaching from a Running Task</i></a>.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="93486"> </a>n/a</div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="93488"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Detach and Resume </font></b></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="93490"> </a>Detach from the task currently under debugger control, first ensuring that it is running. See <a href="c-debugger3.html#90512"><i class="title">8.3.9&nbsp;Detaching from a Running Task</i></a></div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="91029"> </a>n/a </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="91031"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Attach</font></b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="91033"> </a>Attach the debugger to a task. See <a href="c-debugger3.html#84608"><i class="title">8.3.8&nbsp;Attaching to a Running Task</i></a>. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="91023"> </a><img class="figure" border="0" src="images/c-debugger22.gif"></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="91025"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Interrupt Debugger</font></b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="91027"> </a>Interrupt program execution. See <a href="c-debugger3.html#90479"><i class="title">8.3.5&nbsp;Interrupting a Program</i></a>. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="90006"> </a><img class="figure" border="0" src="images/c-debugger23.gif"></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90008"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Stop Debugging</font></b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90010"> </a>Stop the debugger. See <a href="c-debugger3.html#83930"><i class="title">8.3.1&nbsp;Starting and Stopping the Debugger</i></a>. </div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="91063"> </a>n/a </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="91065"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Breakpoints</font></b> </div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="91067"> </a>Open the <b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Breakpoints</font></b> window. See <a href="c-debugger3.html#84428"><i class="title">8.3.6&nbsp;Setting Breakpoints</i></a>.</div></td><td width="10">&nbsp;</td></tr><tr valign="top"><td colspan=1 rowspan=1><div class="CellBody"><a name="90012"> </a><img class="figure" border="0" src="images/c-debugger26.gif"></div></td><td width="10">&nbsp;</td><td colspan=1 rowspan=1><div class="CellBody"><a name="90014"> </a><b class="guiLabel"><font face="Helvetica, sans-serif" size="-1" class="sans">Toggle Breakpoint</font></b> </div></td><td width="10">&nbsp;</td>

⌨️ 快捷键说明

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