16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.DebugClients.Python.BreakpointWatch</h1> |
23 <h1>eric6.DebugClients.Python.BreakpointWatch</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the breakpoint and watch class. |
26 Module implementing the breakpoint and watch class. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#Breakpoint">Breakpoint</a></td> |
38 <td><a href="#Breakpoint">Breakpoint</a></td> |
34 <td>Breakpoint class.</td> |
39 <td>Breakpoint class.</td> |
35 </tr><tr> |
40 </tr> |
|
41 <tr> |
36 <td><a href="#Watch">Watch</a></td> |
42 <td><a href="#Watch">Watch</a></td> |
37 <td>Watch class.</td> |
43 <td>Watch class.</td> |
38 </tr> |
44 </tr> |
39 </table> |
45 </table> |
40 <h3>Functions</h3> |
46 <h3>Functions</h3> |
|
47 |
41 <table> |
48 <table> |
42 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
43 </table> |
50 </table> |
44 <hr /><hr /> |
51 <hr /> |
|
52 <hr /> |
45 <a NAME="Breakpoint" ID="Breakpoint"></a> |
53 <a NAME="Breakpoint" ID="Breakpoint"></a> |
46 <h2>Breakpoint</h2> |
54 <h2>Breakpoint</h2> |
|
55 |
47 <p> |
56 <p> |
48 Breakpoint class. |
57 Breakpoint class. |
49 </p><p> |
58 </p> |
|
59 <p> |
50 Implements temporary breakpoints, ignore counts, disabling and |
60 Implements temporary breakpoints, ignore counts, disabling and |
51 (re)-enabling, and conditionals. |
61 (re)-enabling, and conditionals. |
52 </p><p> |
62 </p> |
|
63 <p> |
53 Breakpoints are indexed by the file,line tuple using breaks. It |
64 Breakpoints are indexed by the file,line tuple using breaks. It |
54 points to a single Breakpoint instance. This is rather different to |
65 points to a single Breakpoint instance. This is rather different to |
55 the original bdb, since there may be more than one breakpoint per line. |
66 the original bdb, since there may be more than one breakpoint per line. |
56 </p><p> |
67 </p> |
|
68 <p> |
57 To test for a specific line in a file there is another dict breakInFile, |
69 To test for a specific line in a file there is another dict breakInFile, |
58 which is indexed only by filename and holds all line numbers where |
70 which is indexed only by filename and holds all line numbers where |
59 breakpoints are. |
71 breakpoints are. |
60 </p> |
72 </p> |
61 <h3>Derived from</h3> |
73 <h3>Derived from</h3> |
62 None |
74 None |
63 <h3>Class Attributes</h3> |
75 <h3>Class Attributes</h3> |
|
76 |
64 <table> |
77 <table> |
65 <tr><td>breakInFile</td></tr><tr><td>breakInFrameCache</td></tr><tr><td>breaks</td></tr> |
78 <tr><td>breakInFile</td></tr><tr><td>breakInFrameCache</td></tr><tr><td>breaks</td></tr> |
66 </table> |
79 </table> |
67 <h3>Class Methods</h3> |
80 <h3>Class Methods</h3> |
|
81 |
68 <table> |
82 <table> |
69 <tr><td>None</td></tr> |
83 <tr><td>None</td></tr> |
70 </table> |
84 </table> |
71 <h3>Methods</h3> |
85 <h3>Methods</h3> |
72 <table> |
86 |
|
87 <table> |
|
88 |
73 <tr> |
89 <tr> |
74 <td><a href="#Breakpoint.__init__">Breakpoint</a></td> |
90 <td><a href="#Breakpoint.__init__">Breakpoint</a></td> |
75 <td>Constructor</td> |
91 <td>Constructor</td> |
76 </tr><tr> |
92 </tr> |
|
93 <tr> |
77 <td><a href="#Breakpoint.deleteMe">deleteMe</a></td> |
94 <td><a href="#Breakpoint.deleteMe">deleteMe</a></td> |
78 <td>Public method to clear this breakpoint.</td> |
95 <td>Public method to clear this breakpoint.</td> |
79 </tr><tr> |
96 </tr> |
|
97 <tr> |
80 <td><a href="#Breakpoint.disable">disable</a></td> |
98 <td><a href="#Breakpoint.disable">disable</a></td> |
81 <td>Public method to disable this breakpoint.</td> |
99 <td>Public method to disable this breakpoint.</td> |
82 </tr><tr> |
100 </tr> |
|
101 <tr> |
83 <td><a href="#Breakpoint.enable">enable</a></td> |
102 <td><a href="#Breakpoint.enable">enable</a></td> |
84 <td>Public method to enable this breakpoint.</td> |
103 <td>Public method to enable this breakpoint.</td> |
85 </tr> |
104 </tr> |
86 </table> |
105 </table> |
87 <h3>Static Methods</h3> |
106 <h3>Static Methods</h3> |
88 <table> |
107 |
|
108 <table> |
|
109 |
89 <tr> |
110 <tr> |
90 <td><a href="#Breakpoint.clear_all_breaks">clear_all_breaks</a></td> |
111 <td><a href="#Breakpoint.clear_all_breaks">clear_all_breaks</a></td> |
91 <td>Static method to clear all breakpoints.</td> |
112 <td>Static method to clear all breakpoints.</td> |
92 </tr><tr> |
113 </tr> |
|
114 <tr> |
93 <td><a href="#Breakpoint.clear_break">clear_break</a></td> |
115 <td><a href="#Breakpoint.clear_break">clear_break</a></td> |
94 <td>Static method reimplemented from bdb.py to clear a breakpoint.</td> |
116 <td>Static method reimplemented from bdb.py to clear a breakpoint.</td> |
95 </tr><tr> |
117 </tr> |
|
118 <tr> |
96 <td><a href="#Breakpoint.effectiveBreak">effectiveBreak</a></td> |
119 <td><a href="#Breakpoint.effectiveBreak">effectiveBreak</a></td> |
97 <td>Static method to determine which breakpoint for this filename:lineno is to be acted upon.</td> |
120 <td>Static method to determine which breakpoint for this filename:lineno is to be acted upon.</td> |
98 </tr><tr> |
121 </tr> |
|
122 <tr> |
99 <td><a href="#Breakpoint.get_break">get_break</a></td> |
123 <td><a href="#Breakpoint.get_break">get_break</a></td> |
100 <td>Static method to get the breakpoint of a particular line.</td> |
124 <td>Static method to get the breakpoint of a particular line.</td> |
101 </tr> |
125 </tr> |
102 </table> |
126 </table> |
|
127 |
103 <a NAME="Breakpoint.__init__" ID="Breakpoint.__init__"></a> |
128 <a NAME="Breakpoint.__init__" ID="Breakpoint.__init__"></a> |
104 <h4>Breakpoint (Constructor)</h4> |
129 <h4>Breakpoint (Constructor)</h4> |
105 <b>Breakpoint</b>(<i>filename, lineno, temporary=False, cond=None</i>) |
130 <b>Breakpoint</b>(<i>filename, lineno, temporary=False, cond=None</i>) |
|
131 |
106 <p> |
132 <p> |
107 Constructor |
133 Constructor |
108 </p><dl> |
134 </p> |
|
135 <dl> |
|
136 |
109 <dt><i>filename</i> (str)</dt> |
137 <dt><i>filename</i> (str)</dt> |
110 <dd> |
138 <dd> |
111 file name where a breakpoint is set |
139 file name where a breakpoint is set |
112 </dd><dt><i>lineno</i> (int)</dt> |
140 </dd> |
|
141 <dt><i>lineno</i> (int)</dt> |
113 <dd> |
142 <dd> |
114 line number of the breakpoint |
143 line number of the breakpoint |
115 </dd><dt><i>temporary=</i> (bool)</dt> |
144 </dd> |
|
145 <dt><i>temporary=</i> (bool)</dt> |
116 <dd> |
146 <dd> |
117 flag to indicate a temporary breakpoint |
147 flag to indicate a temporary breakpoint |
118 </dd><dt><i>cond=</i> (str)</dt> |
148 </dd> |
|
149 <dt><i>cond=</i> (str)</dt> |
119 <dd> |
150 <dd> |
120 Python expression which dynamically enables this bp |
151 Python expression which dynamically enables this bp |
121 </dd> |
152 </dd> |
122 </dl><a NAME="Breakpoint.deleteMe" ID="Breakpoint.deleteMe"></a> |
153 </dl> |
|
154 <a NAME="Breakpoint.deleteMe" ID="Breakpoint.deleteMe"></a> |
123 <h4>Breakpoint.deleteMe</h4> |
155 <h4>Breakpoint.deleteMe</h4> |
124 <b>deleteMe</b>(<i></i>) |
156 <b>deleteMe</b>(<i></i>) |
|
157 |
125 <p> |
158 <p> |
126 Public method to clear this breakpoint. |
159 Public method to clear this breakpoint. |
127 </p><a NAME="Breakpoint.disable" ID="Breakpoint.disable"></a> |
160 </p> |
|
161 <a NAME="Breakpoint.disable" ID="Breakpoint.disable"></a> |
128 <h4>Breakpoint.disable</h4> |
162 <h4>Breakpoint.disable</h4> |
129 <b>disable</b>(<i></i>) |
163 <b>disable</b>(<i></i>) |
|
164 |
130 <p> |
165 <p> |
131 Public method to disable this breakpoint. |
166 Public method to disable this breakpoint. |
132 </p><a NAME="Breakpoint.enable" ID="Breakpoint.enable"></a> |
167 </p> |
|
168 <a NAME="Breakpoint.enable" ID="Breakpoint.enable"></a> |
133 <h4>Breakpoint.enable</h4> |
169 <h4>Breakpoint.enable</h4> |
134 <b>enable</b>(<i></i>) |
170 <b>enable</b>(<i></i>) |
|
171 |
135 <p> |
172 <p> |
136 Public method to enable this breakpoint. |
173 Public method to enable this breakpoint. |
137 </p><a NAME="Breakpoint.clear_all_breaks" ID="Breakpoint.clear_all_breaks"></a> |
174 </p> |
|
175 <a NAME="Breakpoint.clear_all_breaks" ID="Breakpoint.clear_all_breaks"></a> |
138 <h4>Breakpoint.clear_all_breaks (static)</h4> |
176 <h4>Breakpoint.clear_all_breaks (static)</h4> |
139 <b>clear_all_breaks</b>(<i></i>) |
177 <b>clear_all_breaks</b>(<i></i>) |
|
178 |
140 <p> |
179 <p> |
141 Static method to clear all breakpoints. |
180 Static method to clear all breakpoints. |
142 </p><a NAME="Breakpoint.clear_break" ID="Breakpoint.clear_break"></a> |
181 </p> |
|
182 <a NAME="Breakpoint.clear_break" ID="Breakpoint.clear_break"></a> |
143 <h4>Breakpoint.clear_break (static)</h4> |
183 <h4>Breakpoint.clear_break (static)</h4> |
144 <b>clear_break</b>(<i>lineno</i>) |
184 <b>clear_break</b>(<i>lineno</i>) |
|
185 |
145 <p> |
186 <p> |
146 Static method reimplemented from bdb.py to clear a breakpoint. |
187 Static method reimplemented from bdb.py to clear a breakpoint. |
147 </p><dl> |
188 </p> |
|
189 <dl> |
|
190 |
148 <dt><i>filename</i> (str)</dt> |
191 <dt><i>filename</i> (str)</dt> |
149 <dd> |
192 <dd> |
150 file name of the bp to retrieve |
193 file name of the bp to retrieve |
151 </dd><dt><i>lineno</i> (int)</dt> |
194 </dd> |
|
195 <dt><i>lineno</i> (int)</dt> |
152 <dd> |
196 <dd> |
153 line number of the bp to retrieve |
197 line number of the bp to retrieve |
154 </dd> |
198 </dd> |
155 </dl><a NAME="Breakpoint.effectiveBreak" ID="Breakpoint.effectiveBreak"></a> |
199 </dl> |
|
200 <a NAME="Breakpoint.effectiveBreak" ID="Breakpoint.effectiveBreak"></a> |
156 <h4>Breakpoint.effectiveBreak (static)</h4> |
201 <h4>Breakpoint.effectiveBreak (static)</h4> |
157 <b>effectiveBreak</b>(<i>lineno, frame</i>) |
202 <b>effectiveBreak</b>(<i>lineno, frame</i>) |
|
203 |
158 <p> |
204 <p> |
159 Static method to determine which breakpoint for this filename:lineno |
205 Static method to determine which breakpoint for this filename:lineno |
160 is to be acted upon. |
206 is to be acted upon. |
161 </p><p> |
207 </p> |
|
208 <p> |
162 Called only if we know there is a bpt at this |
209 Called only if we know there is a bpt at this |
163 location. Returns breakpoint that was triggered and a flag |
210 location. Returns breakpoint that was triggered and a flag |
164 that indicates if it is ok to delete a temporary bp. |
211 that indicates if it is ok to delete a temporary bp. |
165 </p><dl> |
212 </p> |
|
213 <dl> |
|
214 |
166 <dt><i>filename</i> (str)</dt> |
215 <dt><i>filename</i> (str)</dt> |
167 <dd> |
216 <dd> |
168 file name of the bp to retrieve |
217 file name of the bp to retrieve |
169 </dd><dt><i>lineno</i> (int)</dt> |
218 </dd> |
|
219 <dt><i>lineno</i> (int)</dt> |
170 <dd> |
220 <dd> |
171 line number of the bp to retrieve |
221 line number of the bp to retrieve |
172 </dd><dt><i>frame</i> (frame object)</dt> |
222 </dd> |
|
223 <dt><i>frame</i> (frame object)</dt> |
173 <dd> |
224 <dd> |
174 the current execution frame |
225 the current execution frame |
175 </dd> |
226 </dd> |
176 </dl><dl> |
227 </dl> |
|
228 <dl> |
177 <dt>Returns:</dt> |
229 <dt>Returns:</dt> |
178 <dd> |
230 <dd> |
179 tuple of Breakpoint and a flag to indicate, that a |
231 tuple of Breakpoint and a flag to indicate, that a |
180 temporary breakpoint may be deleted |
232 temporary breakpoint may be deleted |
181 </dd> |
233 </dd> |
182 </dl><dl> |
234 </dl> |
|
235 <dl> |
183 <dt>Return Type:</dt> |
236 <dt>Return Type:</dt> |
184 <dd> |
237 <dd> |
185 tuple of Breakpoint, bool |
238 tuple of Breakpoint, bool |
186 </dd> |
239 </dd> |
187 </dl><a NAME="Breakpoint.get_break" ID="Breakpoint.get_break"></a> |
240 </dl> |
|
241 <a NAME="Breakpoint.get_break" ID="Breakpoint.get_break"></a> |
188 <h4>Breakpoint.get_break (static)</h4> |
242 <h4>Breakpoint.get_break (static)</h4> |
189 <b>get_break</b>(<i>lineno</i>) |
243 <b>get_break</b>(<i>lineno</i>) |
|
244 |
190 <p> |
245 <p> |
191 Static method to get the breakpoint of a particular line. |
246 Static method to get the breakpoint of a particular line. |
192 </p><p> |
247 </p> |
|
248 <p> |
193 Because eric6 supports only one breakpoint per line, this |
249 Because eric6 supports only one breakpoint per line, this |
194 method will return only one breakpoint. |
250 method will return only one breakpoint. |
195 </p><dl> |
251 </p> |
|
252 <dl> |
|
253 |
196 <dt><i>filename</i> (str)</dt> |
254 <dt><i>filename</i> (str)</dt> |
197 <dd> |
255 <dd> |
198 file name of the bp to retrieve |
256 file name of the bp to retrieve |
199 </dd><dt><i>lineno</i> (int)</dt> |
257 </dd> |
|
258 <dt><i>lineno</i> (int)</dt> |
200 <dd> |
259 <dd> |
201 line number of the bp to retrieve |
260 line number of the bp to retrieve |
202 </dd> |
261 </dd> |
203 </dl><dl> |
262 </dl> |
|
263 <dl> |
204 <dt>Returns:</dt> |
264 <dt>Returns:</dt> |
205 <dd> |
265 <dd> |
206 Breakpoint or None, if there is no bp |
266 Breakpoint or None, if there is no bp |
207 </dd> |
267 </dd> |
208 </dl><dl> |
268 </dl> |
|
269 <dl> |
209 <dt>Return Type:</dt> |
270 <dt>Return Type:</dt> |
210 <dd> |
271 <dd> |
211 Breakpoint object or None |
272 Breakpoint object or None |
212 </dd> |
273 </dd> |
213 </dl> |
274 </dl> |
214 <div align="right"><a href="#top">Up</a></div> |
275 <div align="right"><a href="#top">Up</a></div> |
215 <hr /><hr /> |
276 <hr /> |
|
277 <hr /> |
216 <a NAME="Watch" ID="Watch"></a> |
278 <a NAME="Watch" ID="Watch"></a> |
217 <h2>Watch</h2> |
279 <h2>Watch</h2> |
|
280 |
218 <p> |
281 <p> |
219 Watch class. |
282 Watch class. |
220 </p><p> |
283 </p> |
|
284 <p> |
221 Implements temporary watches, ignore counts, disabling and |
285 Implements temporary watches, ignore counts, disabling and |
222 (re)-enabling, and conditionals. |
286 (re)-enabling, and conditionals. |
223 </p> |
287 </p> |
224 <h3>Derived from</h3> |
288 <h3>Derived from</h3> |
225 None |
289 None |
226 <h3>Class Attributes</h3> |
290 <h3>Class Attributes</h3> |
|
291 |
227 <table> |
292 <table> |
228 <tr><td>watches</td></tr> |
293 <tr><td>watches</td></tr> |
229 </table> |
294 </table> |
230 <h3>Class Methods</h3> |
295 <h3>Class Methods</h3> |
|
296 |
231 <table> |
297 <table> |
232 <tr><td>None</td></tr> |
298 <tr><td>None</td></tr> |
233 </table> |
299 </table> |
234 <h3>Methods</h3> |
300 <h3>Methods</h3> |
235 <table> |
301 |
|
302 <table> |
|
303 |
236 <tr> |
304 <tr> |
237 <td><a href="#Watch.__init__">Watch</a></td> |
305 <td><a href="#Watch.__init__">Watch</a></td> |
238 <td>Constructor</td> |
306 <td>Constructor</td> |
239 </tr><tr> |
307 </tr> |
|
308 <tr> |
240 <td><a href="#Watch.deleteMe">deleteMe</a></td> |
309 <td><a href="#Watch.deleteMe">deleteMe</a></td> |
241 <td>Public method to clear this watch expression.</td> |
310 <td>Public method to clear this watch expression.</td> |
242 </tr><tr> |
311 </tr> |
|
312 <tr> |
243 <td><a href="#Watch.disable">disable</a></td> |
313 <td><a href="#Watch.disable">disable</a></td> |
244 <td>Public method to disable this watch.</td> |
314 <td>Public method to disable this watch.</td> |
245 </tr><tr> |
315 </tr> |
|
316 <tr> |
246 <td><a href="#Watch.enable">enable</a></td> |
317 <td><a href="#Watch.enable">enable</a></td> |
247 <td>Public method to enable this watch.</td> |
318 <td>Public method to enable this watch.</td> |
248 </tr> |
319 </tr> |
249 </table> |
320 </table> |
250 <h3>Static Methods</h3> |
321 <h3>Static Methods</h3> |
251 <table> |
322 |
|
323 <table> |
|
324 |
252 <tr> |
325 <tr> |
253 <td><a href="#Watch.clear_all_watches">clear_all_watches</a></td> |
326 <td><a href="#Watch.clear_all_watches">clear_all_watches</a></td> |
254 <td>Static method to clear all watch expressions.</td> |
327 <td>Static method to clear all watch expressions.</td> |
255 </tr><tr> |
328 </tr> |
|
329 <tr> |
256 <td><a href="#Watch.clear_watch">clear_watch</a></td> |
330 <td><a href="#Watch.clear_watch">clear_watch</a></td> |
257 <td>Static method to clear a watch expression.</td> |
331 <td>Static method to clear a watch expression.</td> |
258 </tr><tr> |
332 </tr> |
|
333 <tr> |
259 <td><a href="#Watch.effectiveWatch">effectiveWatch</a></td> |
334 <td><a href="#Watch.effectiveWatch">effectiveWatch</a></td> |
260 <td>Static method to determine, if a watch expression is effective.</td> |
335 <td>Static method to determine, if a watch expression is effective.</td> |
261 </tr><tr> |
336 </tr> |
|
337 <tr> |
262 <td><a href="#Watch.get_watch">get_watch</a></td> |
338 <td><a href="#Watch.get_watch">get_watch</a></td> |
263 <td>Static method to get a watch expression.</td> |
339 <td>Static method to get a watch expression.</td> |
264 </tr> |
340 </tr> |
265 </table> |
341 </table> |
|
342 |
266 <a NAME="Watch.__init__" ID="Watch.__init__"></a> |
343 <a NAME="Watch.__init__" ID="Watch.__init__"></a> |
267 <h4>Watch (Constructor)</h4> |
344 <h4>Watch (Constructor)</h4> |
268 <b>Watch</b>(<i>cond, compiledCond, flag, temporary=False</i>) |
345 <b>Watch</b>(<i>cond, compiledCond, flag, temporary=False</i>) |
|
346 |
269 <p> |
347 <p> |
270 Constructor |
348 Constructor |
271 </p><dl> |
349 </p> |
|
350 <dl> |
|
351 |
272 <dt><i>cond</i> (str)</dt> |
352 <dt><i>cond</i> (str)</dt> |
273 <dd> |
353 <dd> |
274 condition as string with flag |
354 condition as string with flag |
275 </dd><dt><i>compiledCond</i> (code object)</dt> |
355 </dd> |
|
356 <dt><i>compiledCond</i> (code object)</dt> |
276 <dd> |
357 <dd> |
277 precompiled condition |
358 precompiled condition |
278 </dd><dt><i>flag</i> (str)</dt> |
359 </dd> |
|
360 <dt><i>flag</i> (str)</dt> |
279 <dd> |
361 <dd> |
280 indicates type of watch (created or changed) |
362 indicates type of watch (created or changed) |
281 </dd><dt><i>temporary=</i> (bool)</dt> |
363 </dd> |
|
364 <dt><i>temporary=</i> (bool)</dt> |
282 <dd> |
365 <dd> |
283 flag for temporary watches |
366 flag for temporary watches |
284 </dd> |
367 </dd> |
285 </dl><a NAME="Watch.deleteMe" ID="Watch.deleteMe"></a> |
368 </dl> |
|
369 <a NAME="Watch.deleteMe" ID="Watch.deleteMe"></a> |
286 <h4>Watch.deleteMe</h4> |
370 <h4>Watch.deleteMe</h4> |
287 <b>deleteMe</b>(<i></i>) |
371 <b>deleteMe</b>(<i></i>) |
|
372 |
288 <p> |
373 <p> |
289 Public method to clear this watch expression. |
374 Public method to clear this watch expression. |
290 </p><a NAME="Watch.disable" ID="Watch.disable"></a> |
375 </p> |
|
376 <a NAME="Watch.disable" ID="Watch.disable"></a> |
291 <h4>Watch.disable</h4> |
377 <h4>Watch.disable</h4> |
292 <b>disable</b>(<i></i>) |
378 <b>disable</b>(<i></i>) |
|
379 |
293 <p> |
380 <p> |
294 Public method to disable this watch. |
381 Public method to disable this watch. |
295 </p><a NAME="Watch.enable" ID="Watch.enable"></a> |
382 </p> |
|
383 <a NAME="Watch.enable" ID="Watch.enable"></a> |
296 <h4>Watch.enable</h4> |
384 <h4>Watch.enable</h4> |
297 <b>enable</b>(<i></i>) |
385 <b>enable</b>(<i></i>) |
|
386 |
298 <p> |
387 <p> |
299 Public method to enable this watch. |
388 Public method to enable this watch. |
300 </p><a NAME="Watch.clear_all_watches" ID="Watch.clear_all_watches"></a> |
389 </p> |
|
390 <a NAME="Watch.clear_all_watches" ID="Watch.clear_all_watches"></a> |
301 <h4>Watch.clear_all_watches (static)</h4> |
391 <h4>Watch.clear_all_watches (static)</h4> |
302 <b>clear_all_watches</b>(<i></i>) |
392 <b>clear_all_watches</b>(<i></i>) |
|
393 |
303 <p> |
394 <p> |
304 Static method to clear all watch expressions. |
395 Static method to clear all watch expressions. |
305 </p><a NAME="Watch.clear_watch" ID="Watch.clear_watch"></a> |
396 </p> |
|
397 <a NAME="Watch.clear_watch" ID="Watch.clear_watch"></a> |
306 <h4>Watch.clear_watch (static)</h4> |
398 <h4>Watch.clear_watch (static)</h4> |
307 <b>clear_watch</b>(<i></i>) |
399 <b>clear_watch</b>(<i></i>) |
|
400 |
308 <p> |
401 <p> |
309 Static method to clear a watch expression. |
402 Static method to clear a watch expression. |
310 </p><dl> |
403 </p> |
|
404 <dl> |
|
405 |
311 <dt><i>cond</i> (str)</dt> |
406 <dt><i>cond</i> (str)</dt> |
312 <dd> |
407 <dd> |
313 expression of the watch expression to be cleared |
408 expression of the watch expression to be cleared |
314 </dd> |
409 </dd> |
315 </dl><a NAME="Watch.effectiveWatch" ID="Watch.effectiveWatch"></a> |
410 </dl> |
|
411 <a NAME="Watch.effectiveWatch" ID="Watch.effectiveWatch"></a> |
316 <h4>Watch.effectiveWatch (static)</h4> |
412 <h4>Watch.effectiveWatch (static)</h4> |
317 <b>effectiveWatch</b>(<i></i>) |
413 <b>effectiveWatch</b>(<i></i>) |
|
414 |
318 <p> |
415 <p> |
319 Static method to determine, if a watch expression is effective. |
416 Static method to determine, if a watch expression is effective. |
320 </p><dl> |
417 </p> |
|
418 <dl> |
|
419 |
321 <dt><i>frame</i> (frame object)</dt> |
420 <dt><i>frame</i> (frame object)</dt> |
322 <dd> |
421 <dd> |
323 the current execution frame |
422 the current execution frame |
324 </dd> |
423 </dd> |
325 </dl><dl> |
424 </dl> |
|
425 <dl> |
326 <dt>Returns:</dt> |
426 <dt>Returns:</dt> |
327 <dd> |
427 <dd> |
328 tuple of watch expression and a flag to indicate, that a |
428 tuple of watch expression and a flag to indicate, that a |
329 temporary watch expression may be deleted |
429 temporary watch expression may be deleted |
330 </dd> |
430 </dd> |
331 </dl><dl> |
431 </dl> |
|
432 <dl> |
332 <dt>Return Type:</dt> |
433 <dt>Return Type:</dt> |
333 <dd> |
434 <dd> |
334 tuple of Watch, int |
435 tuple of Watch, int |
335 </dd> |
436 </dd> |
336 </dl><a NAME="Watch.get_watch" ID="Watch.get_watch"></a> |
437 </dl> |
|
438 <a NAME="Watch.get_watch" ID="Watch.get_watch"></a> |
337 <h4>Watch.get_watch (static)</h4> |
439 <h4>Watch.get_watch (static)</h4> |
338 <b>get_watch</b>(<i></i>) |
440 <b>get_watch</b>(<i></i>) |
|
441 |
339 <p> |
442 <p> |
340 Static method to get a watch expression. |
443 Static method to get a watch expression. |
341 </p><dl> |
444 </p> |
|
445 <dl> |
|
446 |
342 <dt><i>cond</i> (str)</dt> |
447 <dt><i>cond</i> (str)</dt> |
343 <dd> |
448 <dd> |
344 expression of the watch expression to be cleared |
449 expression of the watch expression to be cleared |
345 </dd> |
450 </dd> |
346 </dl><dl> |
451 </dl> |
|
452 <dl> |
347 <dt>Returns:</dt> |
453 <dt>Returns:</dt> |
348 <dd> |
454 <dd> |
349 reference to the watch point |
455 reference to the watch point |
350 </dd> |
456 </dd> |
351 </dl><dl> |
457 </dl> |
|
458 <dl> |
352 <dt>Return Type:</dt> |
459 <dt>Return Type:</dt> |
353 <dd> |
460 <dd> |
354 Watch or None |
461 Watch or None |
355 </dd> |
462 </dd> |
356 </dl> |
463 </dl> |