Documentation/Source/eric6.Debugger.DebuggerInterfaceNone.html

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

eric ide

mercurial