Documentation/Source/eric4.Debugger.DebuggerInterfaceNone.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.Debugger.DebuggerInterfaceNone</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.Debugger.DebuggerInterfaceNone</h1>
24 <p>
25 Module implementing a dummy debugger interface for the debug server.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>ClientDefaultCapabilities</td></tr><tr><td>ClientTypeAssociations</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#DebuggerInterfaceNone">DebuggerInterfaceNone</a></td>
35 <td>Class implementing a dummy debugger interface for the debug server.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr>
41 <td><a href="#getRegistryData">getRegistryData</a></td>
42 <td>Module functionto get characterising data for the debugger interface.</td>
43 </tr>
44 </table>
45 <hr /><hr />
46 <a NAME="DebuggerInterfaceNone" ID="DebuggerInterfaceNone"></a>
47 <h2>DebuggerInterfaceNone</h2>
48 <p>
49 Class implementing a dummy debugger interface for the debug server.
50 </p>
51 <h3>Derived from</h3>
52 QObject
53 <h3>Class Attributes</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#DebuggerInterfaceNone.__init__">DebuggerInterfaceNone</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#DebuggerInterfaceNone.flush">flush</a></td>
64 <td>Public slot to flush the queue.</td>
65 </tr><tr>
66 <td><a href="#DebuggerInterfaceNone.getClientCapabilities">getClientCapabilities</a></td>
67 <td>Public method to retrieve the debug clients capabilities.</td>
68 </tr><tr>
69 <td><a href="#DebuggerInterfaceNone.isConnected">isConnected</a></td>
70 <td>Public method to test, if a debug client has connected.</td>
71 </tr><tr>
72 <td><a href="#DebuggerInterfaceNone.newConnection">newConnection</a></td>
73 <td>Public slot to handle a new connection.</td>
74 </tr><tr>
75 <td><a href="#DebuggerInterfaceNone.remoteBanner">remoteBanner</a></td>
76 <td>Public slot to get the banner info of the remote client.</td>
77 </tr><tr>
78 <td><a href="#DebuggerInterfaceNone.remoteBreakpoint">remoteBreakpoint</a></td>
79 <td>Public method to set or clear a breakpoint.</td>
80 </tr><tr>
81 <td><a href="#DebuggerInterfaceNone.remoteBreakpointEnable">remoteBreakpointEnable</a></td>
82 <td>Public method to enable or disable a breakpoint.</td>
83 </tr><tr>
84 <td><a href="#DebuggerInterfaceNone.remoteBreakpointIgnore">remoteBreakpointIgnore</a></td>
85 <td>Public method to ignore a breakpoint the next couple of occurrences.</td>
86 </tr><tr>
87 <td><a href="#DebuggerInterfaceNone.remoteCapabilities">remoteCapabilities</a></td>
88 <td>Public slot to get the debug clients capabilities.</td>
89 </tr><tr>
90 <td><a href="#DebuggerInterfaceNone.remoteClientSetFilter">remoteClientSetFilter</a></td>
91 <td>Public method to set a variables filter list.</td>
92 </tr><tr>
93 <td><a href="#DebuggerInterfaceNone.remoteClientVariable">remoteClientVariable</a></td>
94 <td>Public method to request the variables of the debugged program.</td>
95 </tr><tr>
96 <td><a href="#DebuggerInterfaceNone.remoteClientVariables">remoteClientVariables</a></td>
97 <td>Public method to request the variables of the debugged program.</td>
98 </tr><tr>
99 <td><a href="#DebuggerInterfaceNone.remoteCompletion">remoteCompletion</a></td>
100 <td>Public slot to get the a list of possible commandline completions from the remote client.</td>
101 </tr><tr>
102 <td><a href="#DebuggerInterfaceNone.remoteContinue">remoteContinue</a></td>
103 <td>Public method to continue the debugged program.</td>
104 </tr><tr>
105 <td><a href="#DebuggerInterfaceNone.remoteCoverage">remoteCoverage</a></td>
106 <td>Public method to load a new program to collect coverage data.</td>
107 </tr><tr>
108 <td><a href="#DebuggerInterfaceNone.remoteEnvironment">remoteEnvironment</a></td>
109 <td>Public method to set the environment for a program to debug, run, ...</td>
110 </tr><tr>
111 <td><a href="#DebuggerInterfaceNone.remoteEval">remoteEval</a></td>
112 <td>Public method to evaluate arg in the current context of the debugged program.</td>
113 </tr><tr>
114 <td><a href="#DebuggerInterfaceNone.remoteExec">remoteExec</a></td>
115 <td>Public method to execute stmt in the current context of the debugged program.</td>
116 </tr><tr>
117 <td><a href="#DebuggerInterfaceNone.remoteLoad">remoteLoad</a></td>
118 <td>Public method to load a new program to debug.</td>
119 </tr><tr>
120 <td><a href="#DebuggerInterfaceNone.remoteProfile">remoteProfile</a></td>
121 <td>Public method to load a new program to collect profiling data.</td>
122 </tr><tr>
123 <td><a href="#DebuggerInterfaceNone.remoteRawInput">remoteRawInput</a></td>
124 <td>Public method to send the raw input to the debugged program.</td>
125 </tr><tr>
126 <td><a href="#DebuggerInterfaceNone.remoteRun">remoteRun</a></td>
127 <td>Public method to load a new program to run.</td>
128 </tr><tr>
129 <td><a href="#DebuggerInterfaceNone.remoteSetThread">remoteSetThread</a></td>
130 <td>Public method to request to set the given thread as current thread.</td>
131 </tr><tr>
132 <td><a href="#DebuggerInterfaceNone.remoteStatement">remoteStatement</a></td>
133 <td>Public method to execute a Python statement.</td>
134 </tr><tr>
135 <td><a href="#DebuggerInterfaceNone.remoteStep">remoteStep</a></td>
136 <td>Public method to single step the debugged program.</td>
137 </tr><tr>
138 <td><a href="#DebuggerInterfaceNone.remoteStepOut">remoteStepOut</a></td>
139 <td>Public method to step out the debugged program.</td>
140 </tr><tr>
141 <td><a href="#DebuggerInterfaceNone.remoteStepOver">remoteStepOver</a></td>
142 <td>Public method to step over the debugged program.</td>
143 </tr><tr>
144 <td><a href="#DebuggerInterfaceNone.remoteStepQuit">remoteStepQuit</a></td>
145 <td>Public method to stop the debugged program.</td>
146 </tr><tr>
147 <td><a href="#DebuggerInterfaceNone.remoteThreadList">remoteThreadList</a></td>
148 <td>Public method to request the list of threads from the client.</td>
149 </tr><tr>
150 <td><a href="#DebuggerInterfaceNone.remoteUTPrepare">remoteUTPrepare</a></td>
151 <td>Public method to prepare a new unittest run.</td>
152 </tr><tr>
153 <td><a href="#DebuggerInterfaceNone.remoteUTRun">remoteUTRun</a></td>
154 <td>Public method to start a unittest run.</td>
155 </tr><tr>
156 <td><a href="#DebuggerInterfaceNone.remoteUTStop">remoteUTStop</a></td>
157 <td>public method to stop a unittest run.</td>
158 </tr><tr>
159 <td><a href="#DebuggerInterfaceNone.remoteWatchpoint">remoteWatchpoint</a></td>
160 <td>Public method to set or clear a watch expression.</td>
161 </tr><tr>
162 <td><a href="#DebuggerInterfaceNone.remoteWatchpointEnable">remoteWatchpointEnable</a></td>
163 <td>Public method to enable or disable a watch expression.</td>
164 </tr><tr>
165 <td><a href="#DebuggerInterfaceNone.remoteWatchpointIgnore">remoteWatchpointIgnore</a></td>
166 <td>Public method to ignore a watch expression the next couple of occurrences.</td>
167 </tr><tr>
168 <td><a href="#DebuggerInterfaceNone.shutdown">shutdown</a></td>
169 <td>Public method to cleanly shut down.</td>
170 </tr><tr>
171 <td><a href="#DebuggerInterfaceNone.startRemote">startRemote</a></td>
172 <td>Public method to start a remote Python interpreter.</td>
173 </tr><tr>
174 <td><a href="#DebuggerInterfaceNone.startRemoteForProject">startRemoteForProject</a></td>
175 <td>Public method to start a remote Python interpreter for a project.</td>
176 </tr>
177 </table>
178 <a NAME="DebuggerInterfaceNone.__init__" ID="DebuggerInterfaceNone.__init__"></a>
179 <h4>DebuggerInterfaceNone (Constructor)</h4>
180 <b>DebuggerInterfaceNone</b>(<i>debugServer, passive</i>)
181 <p>
182 Constructor
183 </p><dl>
184 <dt><i>debugServer</i></dt>
185 <dd>
186 reference to the debug server (DebugServer)
187 </dd><dt><i>passive</i></dt>
188 <dd>
189 flag indicating passive connection mode (boolean)
190 </dd>
191 </dl><a NAME="DebuggerInterfaceNone.flush" ID="DebuggerInterfaceNone.flush"></a>
192 <h4>DebuggerInterfaceNone.flush</h4>
193 <b>flush</b>(<i></i>)
194 <p>
195 Public slot to flush the queue.
196 </p><a NAME="DebuggerInterfaceNone.getClientCapabilities" ID="DebuggerInterfaceNone.getClientCapabilities"></a>
197 <h4>DebuggerInterfaceNone.getClientCapabilities</h4>
198 <b>getClientCapabilities</b>(<i></i>)
199 <p>
200 Public method to retrieve the debug clients capabilities.
201 </p><dl>
202 <dt>Returns:</dt>
203 <dd>
204 debug client capabilities (integer)
205 </dd>
206 </dl><a NAME="DebuggerInterfaceNone.isConnected" ID="DebuggerInterfaceNone.isConnected"></a>
207 <h4>DebuggerInterfaceNone.isConnected</h4>
208 <b>isConnected</b>(<i></i>)
209 <p>
210 Public method to test, if a debug client has connected.
211 </p><dl>
212 <dt>Returns:</dt>
213 <dd>
214 flag indicating the connection status (boolean)
215 </dd>
216 </dl><a NAME="DebuggerInterfaceNone.newConnection" ID="DebuggerInterfaceNone.newConnection"></a>
217 <h4>DebuggerInterfaceNone.newConnection</h4>
218 <b>newConnection</b>(<i>sock</i>)
219 <p>
220 Public slot to handle a new connection.
221 </p><dl>
222 <dt><i>sockreference</i></dt>
223 <dd>
224 to the socket object (QTcpSocket)
225 </dd>
226 </dl><dl>
227 <dt>Returns:</dt>
228 <dd>
229 flag indicating success (boolean)
230 </dd>
231 </dl><a NAME="DebuggerInterfaceNone.remoteBanner" ID="DebuggerInterfaceNone.remoteBanner"></a>
232 <h4>DebuggerInterfaceNone.remoteBanner</h4>
233 <b>remoteBanner</b>(<i></i>)
234 <p>
235 Public slot to get the banner info of the remote client.
236 </p><a NAME="DebuggerInterfaceNone.remoteBreakpoint" ID="DebuggerInterfaceNone.remoteBreakpoint"></a>
237 <h4>DebuggerInterfaceNone.remoteBreakpoint</h4>
238 <b>remoteBreakpoint</b>(<i>fn, line, set, cond = None, temp = False</i>)
239 <p>
240 Public method to set or clear a breakpoint.
241 </p><dl>
242 <dt><i>fn</i></dt>
243 <dd>
244 filename the breakpoint belongs to (string)
245 </dd><dt><i>line</i></dt>
246 <dd>
247 linenumber of the breakpoint (int)
248 </dd><dt><i>set</i></dt>
249 <dd>
250 flag indicating setting or resetting a breakpoint (boolean)
251 </dd><dt><i>cond</i></dt>
252 <dd>
253 condition of the breakpoint (string)
254 </dd><dt><i>temp</i></dt>
255 <dd>
256 flag indicating a temporary breakpoint (boolean)
257 </dd>
258 </dl><a NAME="DebuggerInterfaceNone.remoteBreakpointEnable" ID="DebuggerInterfaceNone.remoteBreakpointEnable"></a>
259 <h4>DebuggerInterfaceNone.remoteBreakpointEnable</h4>
260 <b>remoteBreakpointEnable</b>(<i>fn, line, enable</i>)
261 <p>
262 Public method to enable or disable a breakpoint.
263 </p><dl>
264 <dt><i>fn</i></dt>
265 <dd>
266 filename the breakpoint belongs to (string)
267 </dd><dt><i>line</i></dt>
268 <dd>
269 linenumber of the breakpoint (int)
270 </dd><dt><i>enable</i></dt>
271 <dd>
272 flag indicating enabling or disabling a breakpoint (boolean)
273 </dd>
274 </dl><a NAME="DebuggerInterfaceNone.remoteBreakpointIgnore" ID="DebuggerInterfaceNone.remoteBreakpointIgnore"></a>
275 <h4>DebuggerInterfaceNone.remoteBreakpointIgnore</h4>
276 <b>remoteBreakpointIgnore</b>(<i>fn, line, count</i>)
277 <p>
278 Public method to ignore a breakpoint the next couple of occurrences.
279 </p><dl>
280 <dt><i>fn</i></dt>
281 <dd>
282 filename the breakpoint belongs to (string)
283 </dd><dt><i>line</i></dt>
284 <dd>
285 linenumber of the breakpoint (int)
286 </dd><dt><i>count</i></dt>
287 <dd>
288 number of occurrences to ignore (int)
289 </dd>
290 </dl><a NAME="DebuggerInterfaceNone.remoteCapabilities" ID="DebuggerInterfaceNone.remoteCapabilities"></a>
291 <h4>DebuggerInterfaceNone.remoteCapabilities</h4>
292 <b>remoteCapabilities</b>(<i></i>)
293 <p>
294 Public slot to get the debug clients capabilities.
295 </p><a NAME="DebuggerInterfaceNone.remoteClientSetFilter" ID="DebuggerInterfaceNone.remoteClientSetFilter"></a>
296 <h4>DebuggerInterfaceNone.remoteClientSetFilter</h4>
297 <b>remoteClientSetFilter</b>(<i>scope, filter</i>)
298 <p>
299 Public method to set a variables filter list.
300 </p><dl>
301 <dt><i>scope</i></dt>
302 <dd>
303 the scope of the variables (0 = local, 1 = global)
304 </dd><dt><i>filter</i></dt>
305 <dd>
306 regexp string for variable names to filter out (string)
307 </dd>
308 </dl><a NAME="DebuggerInterfaceNone.remoteClientVariable" ID="DebuggerInterfaceNone.remoteClientVariable"></a>
309 <h4>DebuggerInterfaceNone.remoteClientVariable</h4>
310 <b>remoteClientVariable</b>(<i>scope, filter, var, framenr = 0</i>)
311 <p>
312 Public method to request the variables of the debugged program.
313 </p><dl>
314 <dt><i>scope</i></dt>
315 <dd>
316 the scope of the variables (0 = local, 1 = global)
317 </dd><dt><i>filter</i></dt>
318 <dd>
319 list of variable types to filter out (list of int)
320 </dd><dt><i>var</i></dt>
321 <dd>
322 list encoded name of variable to retrieve (string)
323 </dd><dt><i>framenr</i></dt>
324 <dd>
325 framenumber of the variables to retrieve (int)
326 </dd>
327 </dl><a NAME="DebuggerInterfaceNone.remoteClientVariables" ID="DebuggerInterfaceNone.remoteClientVariables"></a>
328 <h4>DebuggerInterfaceNone.remoteClientVariables</h4>
329 <b>remoteClientVariables</b>(<i>scope, filter, framenr = 0</i>)
330 <p>
331 Public method to request the variables of the debugged program.
332 </p><dl>
333 <dt><i>scope</i></dt>
334 <dd>
335 the scope of the variables (0 = local, 1 = global)
336 </dd><dt><i>filter</i></dt>
337 <dd>
338 list of variable types to filter out (list of int)
339 </dd><dt><i>framenr</i></dt>
340 <dd>
341 framenumber of the variables to retrieve (int)
342 </dd>
343 </dl><a NAME="DebuggerInterfaceNone.remoteCompletion" ID="DebuggerInterfaceNone.remoteCompletion"></a>
344 <h4>DebuggerInterfaceNone.remoteCompletion</h4>
345 <b>remoteCompletion</b>(<i>text</i>)
346 <p>
347 Public slot to get the a list of possible commandline completions
348 from the remote client.
349 </p><dl>
350 <dt><i>text</i></dt>
351 <dd>
352 the text to be completed (string)
353 </dd>
354 </dl><a NAME="DebuggerInterfaceNone.remoteContinue" ID="DebuggerInterfaceNone.remoteContinue"></a>
355 <h4>DebuggerInterfaceNone.remoteContinue</h4>
356 <b>remoteContinue</b>(<i>special = False</i>)
357 <p>
358 Public method to continue the debugged program.
359 </p><dl>
360 <dt><i>special</i></dt>
361 <dd>
362 flag indicating a special continue operation
363 </dd>
364 </dl><a NAME="DebuggerInterfaceNone.remoteCoverage" ID="DebuggerInterfaceNone.remoteCoverage"></a>
365 <h4>DebuggerInterfaceNone.remoteCoverage</h4>
366 <b>remoteCoverage</b>(<i>fn, argv, wd, erase = False</i>)
367 <p>
368 Public method to load a new program to collect coverage data.
369 </p><dl>
370 <dt><i>fn</i></dt>
371 <dd>
372 the filename to run (string)
373 </dd><dt><i>argv</i></dt>
374 <dd>
375 the commandline arguments to pass to the program (string)
376 </dd><dt><i>wd</i></dt>
377 <dd>
378 the working directory for the program (string)
379 </dd><dt><i>erase=</i></dt>
380 <dd>
381 flag indicating that coverage info should be
382 cleared first (boolean)
383 </dd>
384 </dl><a NAME="DebuggerInterfaceNone.remoteEnvironment" ID="DebuggerInterfaceNone.remoteEnvironment"></a>
385 <h4>DebuggerInterfaceNone.remoteEnvironment</h4>
386 <b>remoteEnvironment</b>(<i>env</i>)
387 <p>
388 Public method to set the environment for a program to debug, run, ...
389 </p><dl>
390 <dt><i>env</i></dt>
391 <dd>
392 environment settings (dictionary)
393 </dd>
394 </dl><a NAME="DebuggerInterfaceNone.remoteEval" ID="DebuggerInterfaceNone.remoteEval"></a>
395 <h4>DebuggerInterfaceNone.remoteEval</h4>
396 <b>remoteEval</b>(<i>arg</i>)
397 <p>
398 Public method to evaluate arg in the current context of the debugged program.
399 </p><dl>
400 <dt><i>arg</i></dt>
401 <dd>
402 the arguments to evaluate (string)
403 </dd>
404 </dl><a NAME="DebuggerInterfaceNone.remoteExec" ID="DebuggerInterfaceNone.remoteExec"></a>
405 <h4>DebuggerInterfaceNone.remoteExec</h4>
406 <b>remoteExec</b>(<i>stmt</i>)
407 <p>
408 Public method to execute stmt in the current context of the debugged program.
409 </p><dl>
410 <dt><i>stmt</i></dt>
411 <dd>
412 statement to execute (string)
413 </dd>
414 </dl><a NAME="DebuggerInterfaceNone.remoteLoad" ID="DebuggerInterfaceNone.remoteLoad"></a>
415 <h4>DebuggerInterfaceNone.remoteLoad</h4>
416 <b>remoteLoad</b>(<i>fn, argv, wd, traceInterpreter = False, autoContinue = True, autoFork = False, forkChild = False</i>)
417 <p>
418 Public method to load a new program to debug.
419 </p><dl>
420 <dt><i>fn</i></dt>
421 <dd>
422 the filename to debug (string)
423 </dd><dt><i>argv</i></dt>
424 <dd>
425 the commandline arguments to pass to the program (string)
426 </dd><dt><i>wd</i></dt>
427 <dd>
428 the working directory for the program (string)
429 </dd><dt><i>traceInterpreter=</i></dt>
430 <dd>
431 flag indicating if the interpreter library should be
432 traced as well (boolean)
433 </dd><dt><i>autoContinue=</i></dt>
434 <dd>
435 flag indicating, that the debugger should not stop
436 at the first executable line (boolean)
437 </dd><dt><i>autoFork=</i></dt>
438 <dd>
439 flag indicating the automatic fork mode (boolean)
440 </dd><dt><i>forkChild=</i></dt>
441 <dd>
442 flag indicating to debug the child after forking (boolean)
443 </dd>
444 </dl><a NAME="DebuggerInterfaceNone.remoteProfile" ID="DebuggerInterfaceNone.remoteProfile"></a>
445 <h4>DebuggerInterfaceNone.remoteProfile</h4>
446 <b>remoteProfile</b>(<i>fn, argv, wd, erase = False</i>)
447 <p>
448 Public method to load a new program to collect profiling data.
449 </p><dl>
450 <dt><i>fn</i></dt>
451 <dd>
452 the filename to run (string)
453 </dd><dt><i>argv</i></dt>
454 <dd>
455 the commandline arguments to pass to the program (string)
456 </dd><dt><i>wd</i></dt>
457 <dd>
458 the working directory for the program (string)
459 </dd><dt><i>erase=</i></dt>
460 <dd>
461 flag indicating that timing info should be cleared first (boolean)
462 </dd>
463 </dl><a NAME="DebuggerInterfaceNone.remoteRawInput" ID="DebuggerInterfaceNone.remoteRawInput"></a>
464 <h4>DebuggerInterfaceNone.remoteRawInput</h4>
465 <b>remoteRawInput</b>(<i>s</i>)
466 <p>
467 Public method to send the raw input to the debugged program.
468 </p><dl>
469 <dt><i>s</i></dt>
470 <dd>
471 the raw input (string)
472 </dd>
473 </dl><a NAME="DebuggerInterfaceNone.remoteRun" ID="DebuggerInterfaceNone.remoteRun"></a>
474 <h4>DebuggerInterfaceNone.remoteRun</h4>
475 <b>remoteRun</b>(<i>fn, argv, wd</i>)
476 <p>
477 Public method to load a new program to run.
478 </p><dl>
479 <dt><i>fn</i></dt>
480 <dd>
481 the filename to run (string)
482 </dd><dt><i>argv</i></dt>
483 <dd>
484 the commandline arguments to pass to the program (string)
485 </dd><dt><i>wd</i></dt>
486 <dd>
487 the working directory for the program (string)
488 </dd>
489 </dl><a NAME="DebuggerInterfaceNone.remoteSetThread" ID="DebuggerInterfaceNone.remoteSetThread"></a>
490 <h4>DebuggerInterfaceNone.remoteSetThread</h4>
491 <b>remoteSetThread</b>(<i>tid</i>)
492 <p>
493 Public method to request to set the given thread as current thread.
494 </p><dl>
495 <dt><i>tid</i></dt>
496 <dd>
497 id of the thread (integer)
498 </dd>
499 </dl><a NAME="DebuggerInterfaceNone.remoteStatement" ID="DebuggerInterfaceNone.remoteStatement"></a>
500 <h4>DebuggerInterfaceNone.remoteStatement</h4>
501 <b>remoteStatement</b>(<i>stmt</i>)
502 <p>
503 Public method to execute a Python statement.
504 </p><dl>
505 <dt><i>stmt</i></dt>
506 <dd>
507 the Python statement to execute (string). It
508 should not have a trailing newline.
509 </dd>
510 </dl><a NAME="DebuggerInterfaceNone.remoteStep" ID="DebuggerInterfaceNone.remoteStep"></a>
511 <h4>DebuggerInterfaceNone.remoteStep</h4>
512 <b>remoteStep</b>(<i></i>)
513 <p>
514 Public method to single step the debugged program.
515 </p><a NAME="DebuggerInterfaceNone.remoteStepOut" ID="DebuggerInterfaceNone.remoteStepOut"></a>
516 <h4>DebuggerInterfaceNone.remoteStepOut</h4>
517 <b>remoteStepOut</b>(<i></i>)
518 <p>
519 Public method to step out the debugged program.
520 </p><a NAME="DebuggerInterfaceNone.remoteStepOver" ID="DebuggerInterfaceNone.remoteStepOver"></a>
521 <h4>DebuggerInterfaceNone.remoteStepOver</h4>
522 <b>remoteStepOver</b>(<i></i>)
523 <p>
524 Public method to step over the debugged program.
525 </p><a NAME="DebuggerInterfaceNone.remoteStepQuit" ID="DebuggerInterfaceNone.remoteStepQuit"></a>
526 <h4>DebuggerInterfaceNone.remoteStepQuit</h4>
527 <b>remoteStepQuit</b>(<i></i>)
528 <p>
529 Public method to stop the debugged program.
530 </p><a NAME="DebuggerInterfaceNone.remoteThreadList" ID="DebuggerInterfaceNone.remoteThreadList"></a>
531 <h4>DebuggerInterfaceNone.remoteThreadList</h4>
532 <b>remoteThreadList</b>(<i></i>)
533 <p>
534 Public method to request the list of threads from the client.
535 </p><a NAME="DebuggerInterfaceNone.remoteUTPrepare" ID="DebuggerInterfaceNone.remoteUTPrepare"></a>
536 <h4>DebuggerInterfaceNone.remoteUTPrepare</h4>
537 <b>remoteUTPrepare</b>(<i>fn, tn, tfn, cov, covname, coverase</i>)
538 <p>
539 Public method to prepare a new unittest run.
540 </p><dl>
541 <dt><i>fn</i></dt>
542 <dd>
543 the filename to load (string)
544 </dd><dt><i>tn</i></dt>
545 <dd>
546 the testname to load (string)
547 </dd><dt><i>tfn</i></dt>
548 <dd>
549 the test function name to load tests from (string)
550 </dd><dt><i>cov</i></dt>
551 <dd>
552 flag indicating collection of coverage data is requested
553 </dd><dt><i>covname</i></dt>
554 <dd>
555 filename to be used to assemble the coverage caches
556 filename
557 </dd><dt><i>coverase</i></dt>
558 <dd>
559 flag indicating erasure of coverage data is requested
560 </dd>
561 </dl><a NAME="DebuggerInterfaceNone.remoteUTRun" ID="DebuggerInterfaceNone.remoteUTRun"></a>
562 <h4>DebuggerInterfaceNone.remoteUTRun</h4>
563 <b>remoteUTRun</b>(<i></i>)
564 <p>
565 Public method to start a unittest run.
566 </p><a NAME="DebuggerInterfaceNone.remoteUTStop" ID="DebuggerInterfaceNone.remoteUTStop"></a>
567 <h4>DebuggerInterfaceNone.remoteUTStop</h4>
568 <b>remoteUTStop</b>(<i></i>)
569 <p>
570 public method to stop a unittest run.
571 </p><a NAME="DebuggerInterfaceNone.remoteWatchpoint" ID="DebuggerInterfaceNone.remoteWatchpoint"></a>
572 <h4>DebuggerInterfaceNone.remoteWatchpoint</h4>
573 <b>remoteWatchpoint</b>(<i>cond, set, temp = False</i>)
574 <p>
575 Public method to set or clear a watch expression.
576 </p><dl>
577 <dt><i>cond</i></dt>
578 <dd>
579 expression of the watch expression (string)
580 </dd><dt><i>set</i></dt>
581 <dd>
582 flag indicating setting or resetting a watch expression (boolean)
583 </dd><dt><i>temp</i></dt>
584 <dd>
585 flag indicating a temporary watch expression (boolean)
586 </dd>
587 </dl><a NAME="DebuggerInterfaceNone.remoteWatchpointEnable" ID="DebuggerInterfaceNone.remoteWatchpointEnable"></a>
588 <h4>DebuggerInterfaceNone.remoteWatchpointEnable</h4>
589 <b>remoteWatchpointEnable</b>(<i>cond, enable</i>)
590 <p>
591 Public method to enable or disable a watch expression.
592 </p><dl>
593 <dt><i>cond</i></dt>
594 <dd>
595 expression of the watch expression (string)
596 </dd><dt><i>enable</i></dt>
597 <dd>
598 flag indicating enabling or disabling a watch expression (boolean)
599 </dd>
600 </dl><a NAME="DebuggerInterfaceNone.remoteWatchpointIgnore" ID="DebuggerInterfaceNone.remoteWatchpointIgnore"></a>
601 <h4>DebuggerInterfaceNone.remoteWatchpointIgnore</h4>
602 <b>remoteWatchpointIgnore</b>(<i>cond, count</i>)
603 <p>
604 Public method to ignore a watch expression the next couple of occurrences.
605 </p><dl>
606 <dt><i>cond</i></dt>
607 <dd>
608 expression of the watch expression (string)
609 </dd><dt><i>count</i></dt>
610 <dd>
611 number of occurrences to ignore (int)
612 </dd>
613 </dl><a NAME="DebuggerInterfaceNone.shutdown" ID="DebuggerInterfaceNone.shutdown"></a>
614 <h4>DebuggerInterfaceNone.shutdown</h4>
615 <b>shutdown</b>(<i></i>)
616 <p>
617 Public method to cleanly shut down.
618 </p><p>
619 It closes our socket and shuts down
620 the debug client. (Needed on Win OS)
621 </p><a NAME="DebuggerInterfaceNone.startRemote" ID="DebuggerInterfaceNone.startRemote"></a>
622 <h4>DebuggerInterfaceNone.startRemote</h4>
623 <b>startRemote</b>(<i>port, runInConsole</i>)
624 <p>
625 Public method to start a remote Python interpreter.
626 </p><dl>
627 <dt><i>port</i></dt>
628 <dd>
629 portnumber the debug server is listening on (integer)
630 </dd><dt><i>runInConsole</i></dt>
631 <dd>
632 flag indicating to start the debugger in a
633 console window (boolean)
634 </dd>
635 </dl><dl>
636 <dt>Returns:</dt>
637 <dd>
638 client process object (QProcess) and a flag to indicate
639 a network connection (boolean)
640 </dd>
641 </dl><a NAME="DebuggerInterfaceNone.startRemoteForProject" ID="DebuggerInterfaceNone.startRemoteForProject"></a>
642 <h4>DebuggerInterfaceNone.startRemoteForProject</h4>
643 <b>startRemoteForProject</b>(<i>port, runInConsole</i>)
644 <p>
645 Public method to start a remote Python interpreter for a project.
646 </p><dl>
647 <dt><i>port</i></dt>
648 <dd>
649 portnumber the debug server is listening on (integer)
650 </dd><dt><i>runInConsole</i></dt>
651 <dd>
652 flag indicating to start the debugger in a
653 console window (boolean)
654 </dd>
655 </dl><dl>
656 <dt>Returns:</dt>
657 <dd>
658 client process object (QProcess) and a flag to indicate
659 a network connection (boolean)
660 </dd>
661 </dl>
662 <div align="right"><a href="#top">Up</a></div>
663 <hr /><hr />
664 <a NAME="getRegistryData" ID="getRegistryData"></a>
665 <h2>getRegistryData</h2>
666 <b>getRegistryData</b>(<i></i>)
667 <p>
668 Module functionto get characterising data for the debugger interface.
669 </p><dl>
670 <dt>Returns:</dt>
671 <dd>
672 list of the following data. Client type (string), client
673 capabilities (integer), client type association (list of strings)
674 </dd>
675 </dl>
676 <div align="right"><a href="#top">Up</a></div>
677 <hr />
678 </body></html>

eric ide

mercurial