1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 01:35:39 +02:00
cdt/doc/org.eclipse.cdt.doc.user/reference/cdt_u_registersview.htm

191 lines
9.8 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Registers view</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h1>Registers view</h1>
<p>The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.debug.ui.RegisterView)")'>Registers</a> view of the Debug perspective lists information about the registers in a selected stack frame.
Values that have changed are highlighted in the Registers view when your program
2007-05-24 21:14:15 +00:00
stops. </p>
<p><img src="../images/view_registers.png" width="414" height="269" alt="Registers View"></p>
<h3>Registers view toolbar options</h3>
2007-05-24 21:14:15 +00:00
<p>The table below lists the icons displayed in the Registers view toolbar.</p>
<table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#999999" width="600">
<tr>
<td width="5%" height="35" align="left"><div align="center"><strong>Icon</strong></div></td>
<td width="25%"><div align="center"><strong>Name</strong></div></td>
<td width="70%"><div align="center"><strong>Description</strong></div></td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_show_type_names.png" alt="Show Type Names icon" width="21" height="21"></div></td>
<td valign="top"><div align="left"><strong>Show Type Names</strong> </div></td>
<td valign="top"><div align="left">Displays the type, (such as <strong>int</strong>) beside each register value.</div></td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_show_logical_struct.png" alt="Show Logical Structure icon" width="22" height="21"></div></td>
<td valign="top"><div align="left"><strong>Show Logical Structure </strong></div></td>
2007-05-24 21:14:15 +00:00
<td valign="top"><div align="left">Changes if logical structures should be shown in the view or not. </div></td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_collapse_all.png" alt="Collapse All icon" width="22" height="22"></div></td>
<td valign="top"><div align="left"><strong>Collapse All </strong></div></td>
2007-05-24 21:14:15 +00:00
<td valign="top"><div align="left">Collapses all the the currently expanded registers.</div></td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_menu_white.png" alt="Menu Layout icon" width="24" height="19"></div></td>
<td valign="top"><strong>View Menu &gt; Layout</strong></td>
<td valign="top">Provides multiple layout options for the Registers view. </td>
2007-05-24 21:14:15 +00:00
</tr>
</table>
2007-05-24 21:14:15 +00:00
<h3>Registers view context menu commands </h3>
<p>The Registers view context menu commands include:</p>
<table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#999999" width="600">
<tr>
<td width="5%" align="left"><div align="center"><strong>Icon</strong></div></td>
<td width="25%"><div align="center"><strong>Name</strong></div></td>
<td width="70%"><div align="center"><strong>Description</strong></div></td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Add Register Group </strong></td>
<td valign="top">Open the <strong>Register Group</strong> dialog which allows you to define a register group that is shown in the Registers view. </td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Assign Value </strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Assigns a value to the selected register. </td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_reg_cast_to_type.png" alt="Cast to Type icon" width="22" height="22"></div></td>
<td valign="top"><strong>Cast To Type... </strong></td>
<td valign="top">Open the <strong>Cast To Type</strong> dialog. </td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_reg_change_value.png" alt="Change Value icon" width="23" height="22"></div></td>
<td valign="top"><strong>Change Value... </strong></td>
<td valign="top">Open the <strong>Set Value</strong> dialog to change the selected registers value. </td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Content Assist </strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Opens a content assist dialog at the current cursor position.</td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Copy</strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Copies the currently selected text or elements to the clipboard </td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_reg_copy_registers.png" alt="Copy Registers icon" width="23" height="22"></div></td>
<td valign="top"><div align="left"><strong>Copy Registers</strong> </div></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Copies the register names and contents to the clipboard </td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_reg_create_watch_expr.png" alt="Create Watch Expression icon" width="24" height="22"></div></td>
<td valign="top"><strong>Create Watch Expression </strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Converts the selected register into a watch expression.</td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Cut</strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Copies the currently selected text or element to the clipboard and removes the element.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_reg_disable.png" alt="Disable icon" width="22" height="21"></div></td>
<td valign="top"><strong>Disable</strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Disables the selected register. </td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_reg_display_array.png" alt="Display as Array icon" width="22" height="21"></div></td>
<td valign="top"><strong>Display As Array...</strong></td>
<td valign="top">Open the <strong>Display As Array</strong> dialog which allows you to specify the start and length of the array. </td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top">&nbsp;</td>
<td valign="top"><strong>Edit Register Group </strong></td>
<td valign="top">Open the <strong>Register Group</strong> dialog to edit the selected register group. </td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_reg_enable.png" alt="Enable icon" width="22" height="21"></div></td>
<td valign="top"><div align="left"><strong>Enable</strong></div></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Enables the selected register. </td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Find...</strong></td>
<td valign="top">Open the <strong>Find</strong> dialog which allows you to find specific elements within the view.</td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Find/Replace</strong></td>
<td valign="top">Open the <strong>Find / Replace</strong> dialog.</td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Format</strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Select a format type. Choices include: BInary, Decimal, Natural, and hexadecimal. </td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Max Length... </strong></td>
<td valign="top">Open the <strong>Configure Details Pane</strong> dialog to set the maximum number of characters to display. Default is 10000. </td>
2007-05-24 21:14:15 +00:00
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Paste</strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Paste the current clipboard content as text.</td>
</tr>
<tr>
<td valign="top">&nbsp;</td>
<td valign="top"><strong>Remove Register Group </strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Removes the currently selected register group. </td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Restore Default Register Groups</strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Restores the original register groups. </td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Restore Original Type </strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Returns the selected register to the original type. </td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Select All </strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Select all the editor content.</td>
</tr>
<tr>
<td valign="top"><div align="center"></div></td>
<td valign="top"><strong>Wrap Text </strong></td>
2007-05-24 21:14:15 +00:00
<td valign="top">Activate to wrap the text contents within the visible area of the Details pane of the Registers view. </td>
</tr>
</table>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_dbg_info.htm">Debug information</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="../tasks/cdt_t_registers.htm">Working with registers</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="cdt_o_views.htm">C/C++ Views</a></p>
<hr />
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</body>
</html>