Skip to main content
summaryrefslogtreecommitdiffstats
blob: a6a5df24df499214a35b8c781066b17f914bbea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!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">
</head>
<body>

<h1>Registers view</h1>

<p>The <b>Registers</b> 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 
stops. </p>
<p><img src="../images/view_registers.png" width="414" height="269"></p>
<dl>
  <h3>Registers view toolbar icons</h3>
  <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="17%" height="35" align="left"><div align="center"><b>Command</b></div></td>
      <td width="31%"><div align="center"><b>Name</b></div></td>
      <td width="52%"><div align="center"><b>Description</b></div></td>
    </tr>
    <tr>
      <td valign="top"><div align="center"><img src="../images/icon_show_type_names.png" width="21" height="21"></div></td>
      <td valign="top"><div align="left">Show Type Names </div></td>
      <td valign="top"><div align="left">Displays the type, (such as <b>int</b>) beside each register value.</div></td>
    </tr>
    <tr>
      <td valign="top"><div align="center"><img src="../images/icon_show_logical_struct.png" width="22" height="21"></div></td>
      <td valign="top"><div align="left">Show Logical Structure </div></td>
      <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" width="22" height="22"></div></td>
      <td valign="top"><div align="left">Collapse All </div></td>
      <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" width="24" height="19"></div></td>
      <td valign="top">Menu &gt; Layout</td>
      <td valign="top">Provides multiple layout options for the Breakpoints view. </td>
    </tr>
  </table>
</dl>
<dl>
  <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="19%" align="left"><div align="center"><b>Command</b></div></td>
      <td width="35%"><div align="center"><b>Name</b></div></td>
      <td width="46%"><div align="center"><b>Description</b></div></td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Add Register Group </td>
      <td valign="top">Open the <b>Register Group</b> dialog which allows you to define a register group that is shown in the Registers view. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Assign Value </td>
      <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" width="22" height="22"></div></td>
      <td valign="top">Cast To Type... </td>
      <td valign="top">Open the <b>Cast To Type</b> dialog. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"><img src="../images/icon_reg_change_value.png" width="23" height="22"></div></td>
      <td valign="top">Change Value... </td>
      <td valign="top">Open the <b>Set Value</b> dialog to change the selected registers value. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Content Assist </td>
      <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">Copy</td>
      <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" width="23" height="22"></div></td>
      <td valign="top"><div align="left">Copy Registers </div></td>
      <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" width="24" height="22"></div></td>
      <td valign="top">Create Watch Expression </td>
      <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">Cut</td>
      <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" width="22" height="21"></div></td>
      <td valign="top">Disable</td>
      <td valign="top">Disables the selected register. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"><img src="../images/icon_reg_display_array.png" width="22" height="21"></div></td>
      <td valign="top">Display As Array...</td>
      <td valign="top">Open the <b>Display As Array</b> dialog which allows you to specify the start and length of the array. </td>
    </tr>
    <tr>
      <td valign="top">&nbsp;</td>
      <td valign="top">Edit Register Group </td>
      <td valign="top">Open the <b>Register Group</b> dialog to edit the selected register group. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"><img src="../images/icon_reg_enable.png" width="22" height="21"></div></td>
      <td valign="top"><div align="left">Enable</div></td>
      <td valign="top">Enables the selected register. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Find...</td>
      <td valign="top">Open the <b>Find</b> dialog which allows you to find specific elements within the view.</td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Find/Replace</td>
      <td valign="top">Open the <b>Find / Replace</b> dialog.</td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Format</td>
      <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">Max Length... </td>
      <td valign="top">Open the <b>Configure Details Pane</b> dialog to set the maximum number of characters to display. Default is 10000. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Paste</td>
      <td valign="top">Paste the current clipboard content as text.</td>
    </tr>
    <tr>
      <td valign="top">&nbsp;</td>
      <td valign="top">Remove Register Group </td>
      <td valign="top">Removes the currently selected register group. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Restore Default Register Groups</td>
      <td valign="top">Restores the original register groups. </td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Restore Original Type </td>
      <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">Select All </td>
      <td valign="top">Select all the editor content.</td>
    </tr>
    <tr>
      <td valign="top"><div align="center"></div></td>
      <td valign="top">Wrap Text </td>
      <td valign="top">Activate to wrap the text contents within the visible area of the Details pane of the Registers view. </td>
    </tr>
  </table>
</dl>
<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">Views</a></p>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > 

</body>

</html>

Back to the top