~ubuntu-branches/ubuntu/trusty/anjuta/trusty-proposed

« back to all changes in this revision

Viewing changes to manuals/anjuta-manual/gl/debug-watch.page

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-03-06 01:11:30 UTC
  • mfrom: (1.1.44)
  • Revision ID: package-import@ubuntu.com-20120306011130-yumg9s1nprogue2a
Tags: 2:3.3.91-0ubuntu1
* New upstream release.
* debian/control.in:
  - Bump minimum glade to 3.11 and vala to 0.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="debug-watch" xml:lang="gl">
 
3
 
 
4
  <info xmlns:facet="http://projectmallard.org/facet/1.0/">
 
5
    <facet:tag key="all-pages" value="whatever"/> <!--Include page in index-->
 
6
    <link type="guide" xref="debug-data" group="second"/>
 
7
    <revision pkgversion="3.0" version="0.1" date="2011-03-27" status="incomplete"/>
 
8
    <desc>Monitorizar expresións e variábeis</desc>
 
9
    <credit type="author">
 
10
      <name>Sébastien Granjoux</name>
 
11
      <email>seb.sfo@free.fr</email>
 
12
    </credit>
 
13
    <credit type="editor">
 
14
      <name>Philip Chimento</name>
 
15
      <email>philip.chimento@gmail.com</email>
 
16
    </credit>
 
17
  </info>
 
18
 
 
19
  <title>Vixiar expresións</title>
 
20
 
 
21
  <p>Watch expressions, or watches for short, are expressions that the debugger
 
22
  evaluates and prints the result of every time the program is stopped; for
 
23
  example, after every <link xref="debug-step">single-step</link>
 
24
  through the program.</p>
 
25
 
 
26
  <section>
 
27
    <title>Lista de expresións vixiadas</title>
 
28
 
 
29
    <steps>
 
30
      <item>
 
31
        <p>From the <gui>main menu</gui>, select <guiseq><gui>View</gui>
 
32
        <gui>Watches</gui></guiseq> to open the <gui>Watches</gui>
 
33
        window.</p>
 
34
      </item>
 
35
    </steps>
 
36
 
 
37
    <p>Like local variables, all watch expressions are displayed in a tree with children used to
 
38
    represent structure or array members.</p>
 
39
  
 
40
    <terms>
 
41
      <item>
 
42
        <title>Variábeis</title>
 
43
        <p>The name of the variable or the expression.</p>
 
44
      </item>
 
45
      <item>
 
46
        <title>Valor</title>
 
47
        <p>The variable or expression value.</p>
 
48
      </item>
 
49
      <item>
 
50
        <title>Tipo</title>
 
51
        <p>The type of the variable or of the expression result.</p>
 
52
      </item>
 
53
    </terms>
 
54
  </section>
 
55
 
 
56
  <section>
 
57
    <title>Actualizar vixilancias</title>
 
58
 
 
59
    <p>Watch expressions can be updated automatically as soon as the
 
60
    program is stopped or on user request.</p>
 
61
 
 
62
    <p>To set a watch expression to update automatically:</p>
 
63
 
 
64
    <steps>
 
65
      <item>
 
66
        <p>In the <gui>Watches</gui> window, select the watch you want to
 
67
        update automatically. Right-click and check that <gui>Automatic Update</gui>
 
68
        if checked. If not, select it.</p>
 
69
      </item>
 
70
    </steps>
 
71
 
 
72
    <p>To update a watch expression manually:</p>
 
73
 
 
74
    <steps>
 
75
      <item>
 
76
        <p>In the <gui>Watches</gui> window, right click and select <gui>Update Watch</gui> to
 
77
        update the selected watch.</p>
 
78
      </item>
 
79
    </steps>
 
80
 
 
81
    <p>To update all watch expressions manually at once:</p>
 
82
 
 
83
    <steps>
 
84
      <item>
 
85
        <p>In the <gui>Watches</gui> window, right click and select <gui>Update all</gui> to
 
86
        update all watches at the same time.</p>
 
87
      </item>
 
88
    </steps>
 
89
 
 
90
  </section>
 
91
 
 
92
 
 
93
  <section>
 
94
    <title>Engadir unha vixilancia a unha expresión</title>
 
95
 
 
96
    <p>To add an expression to the watch list:</p>
 
97
 
 
98
    <steps>
 
99
      <item>
 
100
        <p>From the <gui>main menu</gui>, select <guiseq><gui>Debug</gui>
 
101
        <gui>Add Watch...</gui></guiseq> or in the <gui>Watches</gui>
 
102
        window, right-click and select <gui>Add Watch...</gui>.</p>
 
103
      </item>
 
104
      <item>
 
105
        <p>Enter the expression to watch. Check <gui>Automatic Update</gui>
 
106
        if you want the expression to be evaluated each time the program
 
107
        is stopped.</p>
 
108
      </item>
 
109
    </steps>
 
110
 
 
111
    <p>An expression can be evaluated and then added as a watch like this:</p>
 
112
 
 
113
    <steps>
 
114
      <item>
 
115
        <p>From the <gui>main menu</gui>, select <guiseq><gui>Debug</gui>
 
116
        <gui>Inspect/Evaluate</gui></guiseq> or right click in the
 
117
        <gui>Editor</gui> window and select <gui>Inspect/Evaluate</gui>.</p>
 
118
      </item>
 
119
      <item>
 
120
        <p>Click on <gui>Add</gui> button to add this expression to the watches
 
121
        list.</p>
 
122
      </item>
 
123
    </steps>
 
124
 
 
125
  </section>
 
126
 
 
127
  <section>
 
128
    <title>Quitar unha vixilancia</title>
 
129
 
 
130
    <p>Pode quitar unha expresión da lista de vixilancias.</p>
 
131
 
 
132
    <steps>
 
133
      <item>
 
134
        <p>In the <gui>Watches</gui> window, select the watch you want to remove,
 
135
        then right-click and select <gui>Remove Watch</gui>.</p>
 
136
      </item>
 
137
    </steps>
 
138
 
 
139
    <p>Pódese quitar todas as vixilancias ao mesmo tempo</p>
 
140
 
 
141
    <steps>
 
142
      <item>
 
143
        <p>In the <gui>Watches</gui> window, right-click and select <gui>Remove all</gui>.</p>
 
144
      </item>
 
145
    </steps>
 
146
 
 
147
  </section>
 
148
 
 
149
  <section>
 
150
    <title>Cambiar o valor dunha variábel</title>
 
151
 
 
152
    <p>If a watch expression corresponds to a variable, you can change
 
153
    its value.</p>
 
154
 
 
155
    <steps>
 
156
      <item>
 
157
        <p>In the <gui>Watches</gui> window, select the variable you want to
 
158
        edit and double click in the <gui>Value</gui> column.</p>
 
159
      </item>
 
160
      <item>
 
161
        <p>Introducir un valor novo.</p>
 
162
      </item>
 
163
    </steps>
 
164
  </section>
 
165
 
 
166
 
 
167
</page>