|
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>eric5.Debugger.DebugServer</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Debugger.DebugServer</h1> |
|
12 <p> |
|
13 Module implementing the debug server. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>DebuggerInterfaces</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#DebugServer">DebugServer</a></td> |
|
23 <td>Class implementing the debug server embedded within the IDE.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="DebugServer" ID="DebugServer"></a> |
|
32 <h2>DebugServer</h2> |
|
33 <p> |
|
34 Class implementing the debug server embedded within the IDE. |
|
35 </p><h4>Signals</h4> |
|
36 <dl> |
|
37 <dt>clientBanner(banner)</dt> |
|
38 <dd> |
|
39 emitted after the client banner was received |
|
40 </dd><dt>clientBreakConditionError(fn, lineno)</dt> |
|
41 <dd> |
|
42 emitted after the client has signaled |
|
43 a syntax error in a breakpoint condition |
|
44 </dd><dt>clientCapabilities(int capabilities, QString cltype)</dt> |
|
45 <dd> |
|
46 emitted after the clients |
|
47 capabilities were received |
|
48 </dd><dt>clientClearBreak(filename, lineno)</dt> |
|
49 <dd> |
|
50 emitted after the debug client |
|
51 has decided to clear a temporary breakpoint |
|
52 </dd><dt>clientClearWatch(condition)</dt> |
|
53 <dd> |
|
54 emitted after the debug client |
|
55 has decided to clear a temporary watch expression |
|
56 </dd><dt>clientCompletionList(completionList, text)</dt> |
|
57 <dd> |
|
58 emitted after the client |
|
59 the commandline completion list and the reworked searchstring was |
|
60 received from the client |
|
61 </dd><dt>clientException(exception)</dt> |
|
62 <dd> |
|
63 emitted after an exception occured on the |
|
64 client side |
|
65 </dd><dt>clientExit(int)</dt> |
|
66 <dd> |
|
67 emitted with the exit status after the client has exited |
|
68 </dd><dt>clientGone</dt> |
|
69 <dd> |
|
70 emitted if the client went away (planned or unplanned) |
|
71 </dd><dt>clientLine(filename, lineno, forStack)</dt> |
|
72 <dd> |
|
73 emitted after the debug client |
|
74 has executed a line of code |
|
75 </dd><dt>clientOutput</dt> |
|
76 <dd> |
|
77 emitted after the client has sent some output |
|
78 </dd><dt>clientProcessStderr</dt> |
|
79 <dd> |
|
80 emitted after the client has sent some output |
|
81 via stderr |
|
82 </dd><dt>clientProcessStdout</dt> |
|
83 <dd> |
|
84 emitted after the client has sent some output |
|
85 via stdout |
|
86 </dd><dt>clientRawInput(prompt, echo)</dt> |
|
87 <dd> |
|
88 emitted after a raw input request was received |
|
89 </dd><dt>clientRawInputSent</dt> |
|
90 <dd> |
|
91 emitted after the data was sent to the debug client |
|
92 </dd><dt>clientStack(stack)</dt> |
|
93 <dd> |
|
94 emitted after the debug client has executed a |
|
95 line of code |
|
96 </dd><dt>clientStatement(boolean)</dt> |
|
97 <dd> |
|
98 emitted after an interactive command has |
|
99 been executed. The parameter is 0 to indicate that the command is |
|
100 complete and 1 if it needs more input. |
|
101 </dd><dt>clientSyntaxError(exception)</dt> |
|
102 <dd> |
|
103 emitted after a syntax error has been detected |
|
104 on the client side |
|
105 </dd><dt>clientThreadList(currentId, threadList)</dt> |
|
106 <dd> |
|
107 emitted after a thread list |
|
108 has been received |
|
109 </dd><dt>clientThreadSet</dt> |
|
110 <dd> |
|
111 emitted after the client has acknowledged the change |
|
112 of the current thread |
|
113 </dd><dt>clientVariable(scope, variables)</dt> |
|
114 <dd> |
|
115 emitted after a dump for one class |
|
116 variable has been received |
|
117 </dd><dt>clientVariables(scope, variables)</dt> |
|
118 <dd> |
|
119 emitted after a variables dump has |
|
120 been received |
|
121 </dd><dt>clientWatchConditionError(condition)</dt> |
|
122 <dd> |
|
123 emitted after the client has signaled |
|
124 a syntax error in a watch expression |
|
125 </dd><dt>passiveDebugStarted</dt> |
|
126 <dd> |
|
127 emitted after the debug client has connected in |
|
128 passive debug mode |
|
129 </dd><dt>utFinished</dt> |
|
130 <dd> |
|
131 emitted after the client signalled the end of the unittest |
|
132 </dd><dt>utPrepared(nrTests, exc_type, exc_value)</dt> |
|
133 <dd> |
|
134 emitted after the client has |
|
135 loaded a unittest suite |
|
136 </dd><dt>utStartTest(testname, testdocu)</dt> |
|
137 <dd> |
|
138 emitted after the client has started |
|
139 a test |
|
140 </dd><dt>utStopTest</dt> |
|
141 <dd> |
|
142 emitted after the client has finished a test |
|
143 </dd><dt>utTestErrored(testname, exc_info)</dt> |
|
144 <dd> |
|
145 emitted after the client reported |
|
146 an errored test |
|
147 </dd><dt>utTestFailed(testname, exc_info)</dt> |
|
148 <dd> |
|
149 emitted after the client reported |
|
150 a failed test |
|
151 </dd> |
|
152 </dl> |
|
153 <h3>Derived from</h3> |
|
154 QTcpServer |
|
155 <h3>Class Attributes</h3> |
|
156 <table> |
|
157 <tr><td>None</td></tr> |
|
158 </table> |
|
159 <h3>Methods</h3> |
|
160 <table> |
|
161 <tr> |
|
162 <td><a href="#DebugServer.__init__">DebugServer</a></td> |
|
163 <td>Constructor</td> |
|
164 </tr><tr> |
|
165 <td><a href="#DebugServer.__addBreakPoints">__addBreakPoints</a></td> |
|
166 <td>Private slot to add breakpoints.</td> |
|
167 </tr><tr> |
|
168 <td><a href="#DebugServer.__addWatchPoints">__addWatchPoints</a></td> |
|
169 <td>Private slot to set a watch expression.</td> |
|
170 </tr><tr> |
|
171 <td><a href="#DebugServer.__breakPointDataAboutToBeChanged">__breakPointDataAboutToBeChanged</a></td> |
|
172 <td>Private slot to handle the dataAboutToBeChanged signal of the breakpoint model.</td> |
|
173 </tr><tr> |
|
174 <td><a href="#DebugServer.__changeBreakPoints">__changeBreakPoints</a></td> |
|
175 <td>Private slot to set changed breakpoints.</td> |
|
176 </tr><tr> |
|
177 <td><a href="#DebugServer.__changeWatchPoints">__changeWatchPoints</a></td> |
|
178 <td>Private slot to set changed watch expressions.</td> |
|
179 </tr><tr> |
|
180 <td><a href="#DebugServer.__clientClearBreakPoint">__clientClearBreakPoint</a></td> |
|
181 <td>Private slot to handle the clientClearBreak signal.</td> |
|
182 </tr><tr> |
|
183 <td><a href="#DebugServer.__clientClearWatchPoint">__clientClearWatchPoint</a></td> |
|
184 <td>Private slot to handle the clientClearWatch signal.</td> |
|
185 </tr><tr> |
|
186 <td><a href="#DebugServer.__clientProcessError">__clientProcessError</a></td> |
|
187 <td>Private slot to process client output received via stderr.</td> |
|
188 </tr><tr> |
|
189 <td><a href="#DebugServer.__clientProcessOutput">__clientProcessOutput</a></td> |
|
190 <td>Private slot to process client output received via stdout.</td> |
|
191 </tr><tr> |
|
192 <td><a href="#DebugServer.__createDebuggerInterface">__createDebuggerInterface</a></td> |
|
193 <td>Private slot to create the debugger interface object.</td> |
|
194 </tr><tr> |
|
195 <td><a href="#DebugServer.__deleteBreakPoints">__deleteBreakPoints</a></td> |
|
196 <td>Private slot to delete breakpoints.</td> |
|
197 </tr><tr> |
|
198 <td><a href="#DebugServer.__deleteWatchPoints">__deleteWatchPoints</a></td> |
|
199 <td>Private slot to delete watch expressions.</td> |
|
200 </tr><tr> |
|
201 <td><a href="#DebugServer.__makeWatchCondition">__makeWatchCondition</a></td> |
|
202 <td>Private method to construct the condition string.</td> |
|
203 </tr><tr> |
|
204 <td><a href="#DebugServer.__newConnection">__newConnection</a></td> |
|
205 <td>Private slot to handle a new connection.</td> |
|
206 </tr><tr> |
|
207 <td><a href="#DebugServer.__passiveShutDown">__passiveShutDown</a></td> |
|
208 <td>Private method to shut down a passive debug connection.</td> |
|
209 </tr><tr> |
|
210 <td><a href="#DebugServer.__registerDebuggerInterfaces">__registerDebuggerInterfaces</a></td> |
|
211 <td>Private method to register the available debugger interface modules.</td> |
|
212 </tr><tr> |
|
213 <td><a href="#DebugServer.__remoteBreakpointEnable">__remoteBreakpointEnable</a></td> |
|
214 <td>Private method to enable or disable a breakpoint.</td> |
|
215 </tr><tr> |
|
216 <td><a href="#DebugServer.__remoteBreakpointIgnore">__remoteBreakpointIgnore</a></td> |
|
217 <td>Private method to ignore a breakpoint the next couple of occurrences.</td> |
|
218 </tr><tr> |
|
219 <td><a href="#DebugServer.__remoteWatchpoint">__remoteWatchpoint</a></td> |
|
220 <td>Private method to set or clear a watch expression.</td> |
|
221 </tr><tr> |
|
222 <td><a href="#DebugServer.__remoteWatchpointEnable">__remoteWatchpointEnable</a></td> |
|
223 <td>Private method to enable or disable a watch expression.</td> |
|
224 </tr><tr> |
|
225 <td><a href="#DebugServer.__remoteWatchpointIgnore">__remoteWatchpointIgnore</a></td> |
|
226 <td>Private method to ignore a watch expression the next couple of occurrences.</td> |
|
227 </tr><tr> |
|
228 <td><a href="#DebugServer.__restoreBreakpoints">__restoreBreakpoints</a></td> |
|
229 <td>Private method to restore the breakpoints after a restart.</td> |
|
230 </tr><tr> |
|
231 <td><a href="#DebugServer.__restoreWatchpoints">__restoreWatchpoints</a></td> |
|
232 <td>Private method to restore the watch expressions after a restart.</td> |
|
233 </tr><tr> |
|
234 <td><a href="#DebugServer.__setClientType">__setClientType</a></td> |
|
235 <td>Private method to set the client type.</td> |
|
236 </tr><tr> |
|
237 <td><a href="#DebugServer.__splitWatchCondition">__splitWatchCondition</a></td> |
|
238 <td>Private method to split a remote watch expression.</td> |
|
239 </tr><tr> |
|
240 <td><a href="#DebugServer.__watchPointDataAboutToBeChanged">__watchPointDataAboutToBeChanged</a></td> |
|
241 <td>Private slot to handle the dataAboutToBeChanged signal of the watch expression model.</td> |
|
242 </tr><tr> |
|
243 <td><a href="#DebugServer.clientBanner">clientBanner</a></td> |
|
244 <td>Public method to process the client banner info.</td> |
|
245 </tr><tr> |
|
246 <td><a href="#DebugServer.clientBreakConditionError">clientBreakConditionError</a></td> |
|
247 <td>Public method to process the client breakpoint condition error info.</td> |
|
248 </tr><tr> |
|
249 <td><a href="#DebugServer.clientCapabilities">clientCapabilities</a></td> |
|
250 <td>Public method to process the client capabilities info.</td> |
|
251 </tr><tr> |
|
252 <td><a href="#DebugServer.clientClearBreak">clientClearBreak</a></td> |
|
253 <td>Public method to process the client clear breakpoint command.</td> |
|
254 </tr><tr> |
|
255 <td><a href="#DebugServer.clientClearWatch">clientClearWatch</a></td> |
|
256 <td>Public slot to handle the clientClearWatch signal.</td> |
|
257 </tr><tr> |
|
258 <td><a href="#DebugServer.clientCompletionList">clientCompletionList</a></td> |
|
259 <td>Public method to process the client auto completion info.</td> |
|
260 </tr><tr> |
|
261 <td><a href="#DebugServer.clientException">clientException</a></td> |
|
262 <td>Public method to process the exception info from the client.</td> |
|
263 </tr><tr> |
|
264 <td><a href="#DebugServer.clientExit">clientExit</a></td> |
|
265 <td>Public method to process the client exit status.</td> |
|
266 </tr><tr> |
|
267 <td><a href="#DebugServer.clientLine">clientLine</a></td> |
|
268 <td>Public method to process client position feedback.</td> |
|
269 </tr><tr> |
|
270 <td><a href="#DebugServer.clientOutput">clientOutput</a></td> |
|
271 <td>Public method to process a line of client output.</td> |
|
272 </tr><tr> |
|
273 <td><a href="#DebugServer.clientRawInput">clientRawInput</a></td> |
|
274 <td>Public method to process the client raw input command.</td> |
|
275 </tr><tr> |
|
276 <td><a href="#DebugServer.clientStack">clientStack</a></td> |
|
277 <td>Public method to process a client's stack information.</td> |
|
278 </tr><tr> |
|
279 <td><a href="#DebugServer.clientStatement">clientStatement</a></td> |
|
280 <td>Public method to process the input response from the client.</td> |
|
281 </tr><tr> |
|
282 <td><a href="#DebugServer.clientSyntaxError">clientSyntaxError</a></td> |
|
283 <td>Public method to process the syntax error info from the client.</td> |
|
284 </tr><tr> |
|
285 <td><a href="#DebugServer.clientThreadList">clientThreadList</a></td> |
|
286 <td>Public method to process the client thread list info.</td> |
|
287 </tr><tr> |
|
288 <td><a href="#DebugServer.clientThreadSet">clientThreadSet</a></td> |
|
289 <td>Public method to handle the change of the client thread.</td> |
|
290 </tr><tr> |
|
291 <td><a href="#DebugServer.clientUtFinished">clientUtFinished</a></td> |
|
292 <td>Public method to process the client unit test finished info.</td> |
|
293 </tr><tr> |
|
294 <td><a href="#DebugServer.clientUtPrepared">clientUtPrepared</a></td> |
|
295 <td>Public method to process the client unittest prepared info.</td> |
|
296 </tr><tr> |
|
297 <td><a href="#DebugServer.clientUtStartTest">clientUtStartTest</a></td> |
|
298 <td>Public method to process the client start test info.</td> |
|
299 </tr><tr> |
|
300 <td><a href="#DebugServer.clientUtStopTest">clientUtStopTest</a></td> |
|
301 <td>Public method to process the client stop test info.</td> |
|
302 </tr><tr> |
|
303 <td><a href="#DebugServer.clientUtTestErrored">clientUtTestErrored</a></td> |
|
304 <td>Public method to process the client test errored info.</td> |
|
305 </tr><tr> |
|
306 <td><a href="#DebugServer.clientUtTestFailed">clientUtTestFailed</a></td> |
|
307 <td>Public method to process the client test failed info.</td> |
|
308 </tr><tr> |
|
309 <td><a href="#DebugServer.clientVariable">clientVariable</a></td> |
|
310 <td>Public method to process the client variable info.</td> |
|
311 </tr><tr> |
|
312 <td><a href="#DebugServer.clientVariables">clientVariables</a></td> |
|
313 <td>Public method to process the client variables info.</td> |
|
314 </tr><tr> |
|
315 <td><a href="#DebugServer.clientWatchConditionError">clientWatchConditionError</a></td> |
|
316 <td>Public method to process the client watch expression error info.</td> |
|
317 </tr><tr> |
|
318 <td><a href="#DebugServer.getBreakPointModel">getBreakPointModel</a></td> |
|
319 <td>Public slot to get a reference to the breakpoint model object.</td> |
|
320 </tr><tr> |
|
321 <td><a href="#DebugServer.getClientCapabilities">getClientCapabilities</a></td> |
|
322 <td>Public method to retrieve the debug clients capabilities.</td> |
|
323 </tr><tr> |
|
324 <td><a href="#DebugServer.getExtensions">getExtensions</a></td> |
|
325 <td>Public slot to get the extensions associated with the given language.</td> |
|
326 </tr><tr> |
|
327 <td><a href="#DebugServer.getHostAddress">getHostAddress</a></td> |
|
328 <td>Public method to get the IP address or hostname the debug server is listening.</td> |
|
329 </tr><tr> |
|
330 <td><a href="#DebugServer.getSupportedLanguages">getSupportedLanguages</a></td> |
|
331 <td>Public slot to return the supported programming languages.</td> |
|
332 </tr><tr> |
|
333 <td><a href="#DebugServer.getWatchPointModel">getWatchPointModel</a></td> |
|
334 <td>Public slot to get a reference to the watch expression model object.</td> |
|
335 </tr><tr> |
|
336 <td><a href="#DebugServer.isConnected">isConnected</a></td> |
|
337 <td>Public method to test, if the debug server is connected to a backend.</td> |
|
338 </tr><tr> |
|
339 <td><a href="#DebugServer.passiveStartUp">passiveStartUp</a></td> |
|
340 <td>Public method to handle a passive debug connection.</td> |
|
341 </tr><tr> |
|
342 <td><a href="#DebugServer.preferencesChanged">preferencesChanged</a></td> |
|
343 <td>Public slot to handle the preferencesChanged signal.</td> |
|
344 </tr><tr> |
|
345 <td><a href="#DebugServer.remoteBanner">remoteBanner</a></td> |
|
346 <td>Public slot to get the banner info of the remote client.</td> |
|
347 </tr><tr> |
|
348 <td><a href="#DebugServer.remoteBreakpoint">remoteBreakpoint</a></td> |
|
349 <td>Public method to set or clear a breakpoint.</td> |
|
350 </tr><tr> |
|
351 <td><a href="#DebugServer.remoteCapabilities">remoteCapabilities</a></td> |
|
352 <td>Public slot to get the debug clients capabilities.</td> |
|
353 </tr><tr> |
|
354 <td><a href="#DebugServer.remoteClientSetFilter">remoteClientSetFilter</a></td> |
|
355 <td>Public method to set a variables filter list.</td> |
|
356 </tr><tr> |
|
357 <td><a href="#DebugServer.remoteClientVariable">remoteClientVariable</a></td> |
|
358 <td>Public method to request the variables of the debugged program.</td> |
|
359 </tr><tr> |
|
360 <td><a href="#DebugServer.remoteClientVariables">remoteClientVariables</a></td> |
|
361 <td>Public method to request the variables of the debugged program.</td> |
|
362 </tr><tr> |
|
363 <td><a href="#DebugServer.remoteCompletion">remoteCompletion</a></td> |
|
364 <td>Public slot to get the a list of possible commandline completions from the remote client.</td> |
|
365 </tr><tr> |
|
366 <td><a href="#DebugServer.remoteContinue">remoteContinue</a></td> |
|
367 <td>Public method to continue the debugged program.</td> |
|
368 </tr><tr> |
|
369 <td><a href="#DebugServer.remoteCoverage">remoteCoverage</a></td> |
|
370 <td>Public method to load a new program to collect coverage data.</td> |
|
371 </tr><tr> |
|
372 <td><a href="#DebugServer.remoteEnvironment">remoteEnvironment</a></td> |
|
373 <td>Public method to set the environment for a program to debug, run, ...</td> |
|
374 </tr><tr> |
|
375 <td><a href="#DebugServer.remoteEval">remoteEval</a></td> |
|
376 <td>Public method to evaluate arg in the current context of the debugged program.</td> |
|
377 </tr><tr> |
|
378 <td><a href="#DebugServer.remoteExec">remoteExec</a></td> |
|
379 <td>Public method to execute stmt in the current context of the debugged program.</td> |
|
380 </tr><tr> |
|
381 <td><a href="#DebugServer.remoteLoad">remoteLoad</a></td> |
|
382 <td>Public method to load a new program to debug.</td> |
|
383 </tr><tr> |
|
384 <td><a href="#DebugServer.remoteProfile">remoteProfile</a></td> |
|
385 <td>Public method to load a new program to collect profiling data.</td> |
|
386 </tr><tr> |
|
387 <td><a href="#DebugServer.remoteRawInput">remoteRawInput</a></td> |
|
388 <td>Public method to send the raw input to the debugged program.</td> |
|
389 </tr><tr> |
|
390 <td><a href="#DebugServer.remoteRun">remoteRun</a></td> |
|
391 <td>Public method to load a new program to run.</td> |
|
392 </tr><tr> |
|
393 <td><a href="#DebugServer.remoteSetThread">remoteSetThread</a></td> |
|
394 <td>Public method to request to set the given thread as current thread.</td> |
|
395 </tr><tr> |
|
396 <td><a href="#DebugServer.remoteStatement">remoteStatement</a></td> |
|
397 <td>Public method to execute a Python statement.</td> |
|
398 </tr><tr> |
|
399 <td><a href="#DebugServer.remoteStep">remoteStep</a></td> |
|
400 <td>Public method to single step the debugged program.</td> |
|
401 </tr><tr> |
|
402 <td><a href="#DebugServer.remoteStepOut">remoteStepOut</a></td> |
|
403 <td>Public method to step out the debugged program.</td> |
|
404 </tr><tr> |
|
405 <td><a href="#DebugServer.remoteStepOver">remoteStepOver</a></td> |
|
406 <td>Public method to step over the debugged program.</td> |
|
407 </tr><tr> |
|
408 <td><a href="#DebugServer.remoteStepQuit">remoteStepQuit</a></td> |
|
409 <td>Public method to stop the debugged program.</td> |
|
410 </tr><tr> |
|
411 <td><a href="#DebugServer.remoteThreadList">remoteThreadList</a></td> |
|
412 <td>Public method to request the list of threads from the client.</td> |
|
413 </tr><tr> |
|
414 <td><a href="#DebugServer.remoteUTPrepare">remoteUTPrepare</a></td> |
|
415 <td>Public method to prepare a new unittest run.</td> |
|
416 </tr><tr> |
|
417 <td><a href="#DebugServer.remoteUTRun">remoteUTRun</a></td> |
|
418 <td>Public method to start a unittest run.</td> |
|
419 </tr><tr> |
|
420 <td><a href="#DebugServer.remoteUTStop">remoteUTStop</a></td> |
|
421 <td>public method to stop a unittest run.</td> |
|
422 </tr><tr> |
|
423 <td><a href="#DebugServer.shutdownServer">shutdownServer</a></td> |
|
424 <td>Public method to cleanly shut down.</td> |
|
425 </tr><tr> |
|
426 <td><a href="#DebugServer.startClient">startClient</a></td> |
|
427 <td>Public method to start a debug client.</td> |
|
428 </tr> |
|
429 </table> |
|
430 <a NAME="DebugServer.__init__" ID="DebugServer.__init__"></a> |
|
431 <h4>DebugServer (Constructor)</h4> |
|
432 <b>DebugServer</b>(<i></i>) |
|
433 <p> |
|
434 Constructor |
|
435 </p><a NAME="DebugServer.__addBreakPoints" ID="DebugServer.__addBreakPoints"></a> |
|
436 <h4>DebugServer.__addBreakPoints</h4> |
|
437 <b>__addBreakPoints</b>(<i>parentIndex, start, end</i>) |
|
438 <p> |
|
439 Private slot to add breakpoints. |
|
440 </p><dl> |
|
441 <dt><i>parentIndex</i></dt> |
|
442 <dd> |
|
443 index of parent item (QModelIndex) |
|
444 </dd><dt><i>start</i></dt> |
|
445 <dd> |
|
446 start row (integer) |
|
447 </dd><dt><i>end</i></dt> |
|
448 <dd> |
|
449 end row (integer) |
|
450 </dd> |
|
451 </dl><a NAME="DebugServer.__addWatchPoints" ID="DebugServer.__addWatchPoints"></a> |
|
452 <h4>DebugServer.__addWatchPoints</h4> |
|
453 <b>__addWatchPoints</b>(<i>parentIndex, start, end</i>) |
|
454 <p> |
|
455 Private slot to set a watch expression. |
|
456 </p><dl> |
|
457 <dt><i>parentIndex</i></dt> |
|
458 <dd> |
|
459 index of parent item (QModelIndex) |
|
460 </dd><dt><i>start</i></dt> |
|
461 <dd> |
|
462 start row (integer) |
|
463 </dd><dt><i>end</i></dt> |
|
464 <dd> |
|
465 end row (integer) |
|
466 </dd> |
|
467 </dl><a NAME="DebugServer.__breakPointDataAboutToBeChanged" ID="DebugServer.__breakPointDataAboutToBeChanged"></a> |
|
468 <h4>DebugServer.__breakPointDataAboutToBeChanged</h4> |
|
469 <b>__breakPointDataAboutToBeChanged</b>(<i>startIndex, endIndex</i>) |
|
470 <p> |
|
471 Private slot to handle the dataAboutToBeChanged signal of the breakpoint model. |
|
472 </p><dl> |
|
473 <dt><i>startIndex</i></dt> |
|
474 <dd> |
|
475 start index of the rows to be changed (QModelIndex) |
|
476 </dd><dt><i>endIndex</i></dt> |
|
477 <dd> |
|
478 end index of the rows to be changed (QModelIndex) |
|
479 </dd> |
|
480 </dl><a NAME="DebugServer.__changeBreakPoints" ID="DebugServer.__changeBreakPoints"></a> |
|
481 <h4>DebugServer.__changeBreakPoints</h4> |
|
482 <b>__changeBreakPoints</b>(<i>startIndex, endIndex</i>) |
|
483 <p> |
|
484 Private slot to set changed breakpoints. |
|
485 </p><dl> |
|
486 <dt><i>indexes</i></dt> |
|
487 <dd> |
|
488 indexes of changed breakpoints. |
|
489 </dd> |
|
490 </dl><a NAME="DebugServer.__changeWatchPoints" ID="DebugServer.__changeWatchPoints"></a> |
|
491 <h4>DebugServer.__changeWatchPoints</h4> |
|
492 <b>__changeWatchPoints</b>(<i>startIndex, endIndex</i>) |
|
493 <p> |
|
494 Private slot to set changed watch expressions. |
|
495 </p><dl> |
|
496 <dt><i>startIndex</i></dt> |
|
497 <dd> |
|
498 start index of the rows to be changed (QModelIndex) |
|
499 </dd><dt><i>endIndex</i></dt> |
|
500 <dd> |
|
501 end index of the rows to be changed (QModelIndex) |
|
502 </dd> |
|
503 </dl><a NAME="DebugServer.__clientClearBreakPoint" ID="DebugServer.__clientClearBreakPoint"></a> |
|
504 <h4>DebugServer.__clientClearBreakPoint</h4> |
|
505 <b>__clientClearBreakPoint</b>(<i>fn, lineno</i>) |
|
506 <p> |
|
507 Private slot to handle the clientClearBreak signal. |
|
508 </p><dl> |
|
509 <dt><i>fn</i></dt> |
|
510 <dd> |
|
511 filename of breakpoint to clear (string) |
|
512 </dd><dt><i>lineno</i></dt> |
|
513 <dd> |
|
514 line number of breakpoint to clear (integer) |
|
515 </dd> |
|
516 </dl><a NAME="DebugServer.__clientClearWatchPoint" ID="DebugServer.__clientClearWatchPoint"></a> |
|
517 <h4>DebugServer.__clientClearWatchPoint</h4> |
|
518 <b>__clientClearWatchPoint</b>(<i>condition</i>) |
|
519 <p> |
|
520 Private slot to handle the clientClearWatch signal. |
|
521 </p><dl> |
|
522 <dt><i>condition</i></dt> |
|
523 <dd> |
|
524 expression of watch expression to clear (string) |
|
525 </dd> |
|
526 </dl><a NAME="DebugServer.__clientProcessError" ID="DebugServer.__clientProcessError"></a> |
|
527 <h4>DebugServer.__clientProcessError</h4> |
|
528 <b>__clientProcessError</b>(<i></i>) |
|
529 <p> |
|
530 Private slot to process client output received via stderr. |
|
531 </p><a NAME="DebugServer.__clientProcessOutput" ID="DebugServer.__clientProcessOutput"></a> |
|
532 <h4>DebugServer.__clientProcessOutput</h4> |
|
533 <b>__clientProcessOutput</b>(<i></i>) |
|
534 <p> |
|
535 Private slot to process client output received via stdout. |
|
536 </p><a NAME="DebugServer.__createDebuggerInterface" ID="DebugServer.__createDebuggerInterface"></a> |
|
537 <h4>DebugServer.__createDebuggerInterface</h4> |
|
538 <b>__createDebuggerInterface</b>(<i>clientType = None</i>) |
|
539 <p> |
|
540 Private slot to create the debugger interface object. |
|
541 </p><dl> |
|
542 <dt><i>clientType</i></dt> |
|
543 <dd> |
|
544 type of the client interface to be created (string) |
|
545 </dd> |
|
546 </dl><a NAME="DebugServer.__deleteBreakPoints" ID="DebugServer.__deleteBreakPoints"></a> |
|
547 <h4>DebugServer.__deleteBreakPoints</h4> |
|
548 <b>__deleteBreakPoints</b>(<i>parentIndex, start, end</i>) |
|
549 <p> |
|
550 Private slot to delete breakpoints. |
|
551 </p><dl> |
|
552 <dt><i>parentIndex</i></dt> |
|
553 <dd> |
|
554 index of parent item (QModelIndex) |
|
555 </dd><dt><i>start</i></dt> |
|
556 <dd> |
|
557 start row (integer) |
|
558 </dd><dt><i>end</i></dt> |
|
559 <dd> |
|
560 end row (integer) |
|
561 </dd> |
|
562 </dl><a NAME="DebugServer.__deleteWatchPoints" ID="DebugServer.__deleteWatchPoints"></a> |
|
563 <h4>DebugServer.__deleteWatchPoints</h4> |
|
564 <b>__deleteWatchPoints</b>(<i>parentIndex, start, end</i>) |
|
565 <p> |
|
566 Private slot to delete watch expressions. |
|
567 </p><dl> |
|
568 <dt><i>parentIndex</i></dt> |
|
569 <dd> |
|
570 index of parent item (QModelIndex) |
|
571 </dd><dt><i>start</i></dt> |
|
572 <dd> |
|
573 start row (integer) |
|
574 </dd><dt><i>end</i></dt> |
|
575 <dd> |
|
576 end row (integer) |
|
577 </dd> |
|
578 </dl><a NAME="DebugServer.__makeWatchCondition" ID="DebugServer.__makeWatchCondition"></a> |
|
579 <h4>DebugServer.__makeWatchCondition</h4> |
|
580 <b>__makeWatchCondition</b>(<i>cond, special</i>) |
|
581 <p> |
|
582 Private method to construct the condition string. |
|
583 </p><dl> |
|
584 <dt><i>cond</i></dt> |
|
585 <dd> |
|
586 condition (string) |
|
587 </dd><dt><i>special</i></dt> |
|
588 <dd> |
|
589 special condition (string) |
|
590 </dd> |
|
591 </dl><dl> |
|
592 <dt>Returns:</dt> |
|
593 <dd> |
|
594 condition string (string) |
|
595 </dd> |
|
596 </dl><a NAME="DebugServer.__newConnection" ID="DebugServer.__newConnection"></a> |
|
597 <h4>DebugServer.__newConnection</h4> |
|
598 <b>__newConnection</b>(<i></i>) |
|
599 <p> |
|
600 Private slot to handle a new connection. |
|
601 </p><a NAME="DebugServer.__passiveShutDown" ID="DebugServer.__passiveShutDown"></a> |
|
602 <h4>DebugServer.__passiveShutDown</h4> |
|
603 <b>__passiveShutDown</b>(<i></i>) |
|
604 <p> |
|
605 Private method to shut down a passive debug connection. |
|
606 </p><a NAME="DebugServer.__registerDebuggerInterfaces" ID="DebugServer.__registerDebuggerInterfaces"></a> |
|
607 <h4>DebugServer.__registerDebuggerInterfaces</h4> |
|
608 <b>__registerDebuggerInterfaces</b>(<i></i>) |
|
609 <p> |
|
610 Private method to register the available debugger interface modules. |
|
611 </p><a NAME="DebugServer.__remoteBreakpointEnable" ID="DebugServer.__remoteBreakpointEnable"></a> |
|
612 <h4>DebugServer.__remoteBreakpointEnable</h4> |
|
613 <b>__remoteBreakpointEnable</b>(<i>fn, line, enable</i>) |
|
614 <p> |
|
615 Private method to enable or disable a breakpoint. |
|
616 </p><dl> |
|
617 <dt><i>fn</i></dt> |
|
618 <dd> |
|
619 filename the breakpoint belongs to (string) |
|
620 </dd><dt><i>line</i></dt> |
|
621 <dd> |
|
622 linenumber of the breakpoint (int) |
|
623 </dd><dt><i>enable</i></dt> |
|
624 <dd> |
|
625 flag indicating enabling or disabling a breakpoint (boolean) |
|
626 </dd> |
|
627 </dl><a NAME="DebugServer.__remoteBreakpointIgnore" ID="DebugServer.__remoteBreakpointIgnore"></a> |
|
628 <h4>DebugServer.__remoteBreakpointIgnore</h4> |
|
629 <b>__remoteBreakpointIgnore</b>(<i>fn, line, count</i>) |
|
630 <p> |
|
631 Private method to ignore a breakpoint the next couple of occurrences. |
|
632 </p><dl> |
|
633 <dt><i>fn</i></dt> |
|
634 <dd> |
|
635 filename the breakpoint belongs to (string) |
|
636 </dd><dt><i>line</i></dt> |
|
637 <dd> |
|
638 linenumber of the breakpoint (int) |
|
639 </dd><dt><i>count</i></dt> |
|
640 <dd> |
|
641 number of occurrences to ignore (int) |
|
642 </dd> |
|
643 </dl><a NAME="DebugServer.__remoteWatchpoint" ID="DebugServer.__remoteWatchpoint"></a> |
|
644 <h4>DebugServer.__remoteWatchpoint</h4> |
|
645 <b>__remoteWatchpoint</b>(<i>cond, set, temp = False</i>) |
|
646 <p> |
|
647 Private method to set or clear a watch expression. |
|
648 </p><dl> |
|
649 <dt><i>cond</i></dt> |
|
650 <dd> |
|
651 expression of the watch expression (string) |
|
652 </dd><dt><i>set</i></dt> |
|
653 <dd> |
|
654 flag indicating setting or resetting a watch expression (boolean) |
|
655 </dd><dt><i>temp</i></dt> |
|
656 <dd> |
|
657 flag indicating a temporary watch expression (boolean) |
|
658 </dd> |
|
659 </dl><a NAME="DebugServer.__remoteWatchpointEnable" ID="DebugServer.__remoteWatchpointEnable"></a> |
|
660 <h4>DebugServer.__remoteWatchpointEnable</h4> |
|
661 <b>__remoteWatchpointEnable</b>(<i>cond, enable</i>) |
|
662 <p> |
|
663 Private method to enable or disable a watch expression. |
|
664 </p><dl> |
|
665 <dt><i>cond</i></dt> |
|
666 <dd> |
|
667 expression of the watch expression (string) |
|
668 </dd><dt><i>enable</i></dt> |
|
669 <dd> |
|
670 flag indicating enabling or disabling a watch expression (boolean) |
|
671 </dd> |
|
672 </dl><a NAME="DebugServer.__remoteWatchpointIgnore" ID="DebugServer.__remoteWatchpointIgnore"></a> |
|
673 <h4>DebugServer.__remoteWatchpointIgnore</h4> |
|
674 <b>__remoteWatchpointIgnore</b>(<i>cond, count</i>) |
|
675 <p> |
|
676 Private method to ignore a watch expression the next couple of occurrences. |
|
677 </p><dl> |
|
678 <dt><i>cond</i></dt> |
|
679 <dd> |
|
680 expression of the watch expression (string) |
|
681 </dd><dt><i>count</i></dt> |
|
682 <dd> |
|
683 number of occurrences to ignore (int) |
|
684 </dd> |
|
685 </dl><a NAME="DebugServer.__restoreBreakpoints" ID="DebugServer.__restoreBreakpoints"></a> |
|
686 <h4>DebugServer.__restoreBreakpoints</h4> |
|
687 <b>__restoreBreakpoints</b>(<i></i>) |
|
688 <p> |
|
689 Private method to restore the breakpoints after a restart. |
|
690 </p><a NAME="DebugServer.__restoreWatchpoints" ID="DebugServer.__restoreWatchpoints"></a> |
|
691 <h4>DebugServer.__restoreWatchpoints</h4> |
|
692 <b>__restoreWatchpoints</b>(<i></i>) |
|
693 <p> |
|
694 Private method to restore the watch expressions after a restart. |
|
695 </p><a NAME="DebugServer.__setClientType" ID="DebugServer.__setClientType"></a> |
|
696 <h4>DebugServer.__setClientType</h4> |
|
697 <b>__setClientType</b>(<i>clType</i>) |
|
698 <p> |
|
699 Private method to set the client type. |
|
700 </p><dl> |
|
701 <dt><i>clType</i></dt> |
|
702 <dd> |
|
703 type of client to be started (string) |
|
704 </dd> |
|
705 </dl><a NAME="DebugServer.__splitWatchCondition" ID="DebugServer.__splitWatchCondition"></a> |
|
706 <h4>DebugServer.__splitWatchCondition</h4> |
|
707 <b>__splitWatchCondition</b>(<i>cond</i>) |
|
708 <p> |
|
709 Private method to split a remote watch expression. |
|
710 </p><dl> |
|
711 <dt><i>cond</i></dt> |
|
712 <dd> |
|
713 remote expression (string) |
|
714 </dd> |
|
715 </dl><dl> |
|
716 <dt>Returns:</dt> |
|
717 <dd> |
|
718 tuple of local expression (string) and special condition (string) |
|
719 </dd> |
|
720 </dl><a NAME="DebugServer.__watchPointDataAboutToBeChanged" ID="DebugServer.__watchPointDataAboutToBeChanged"></a> |
|
721 <h4>DebugServer.__watchPointDataAboutToBeChanged</h4> |
|
722 <b>__watchPointDataAboutToBeChanged</b>(<i>startIndex, endIndex</i>) |
|
723 <p> |
|
724 Private slot to handle the dataAboutToBeChanged signal of the |
|
725 watch expression model. |
|
726 </p><dl> |
|
727 <dt><i>startIndex</i></dt> |
|
728 <dd> |
|
729 start index of the rows to be changed (QModelIndex) |
|
730 </dd><dt><i>endIndex</i></dt> |
|
731 <dd> |
|
732 end index of the rows to be changed (QModelIndex) |
|
733 </dd> |
|
734 </dl><a NAME="DebugServer.clientBanner" ID="DebugServer.clientBanner"></a> |
|
735 <h4>DebugServer.clientBanner</h4> |
|
736 <b>clientBanner</b>(<i>version, platform, debugClient</i>) |
|
737 <p> |
|
738 Public method to process the client banner info. |
|
739 </p><dl> |
|
740 <dt><i>version</i></dt> |
|
741 <dd> |
|
742 interpreter version info (string) |
|
743 </dd><dt><i>platform</i></dt> |
|
744 <dd> |
|
745 hostname of the client (string) |
|
746 </dd><dt><i>debugClient</i></dt> |
|
747 <dd> |
|
748 additional debugger type info (string) |
|
749 </dd> |
|
750 </dl><a NAME="DebugServer.clientBreakConditionError" ID="DebugServer.clientBreakConditionError"></a> |
|
751 <h4>DebugServer.clientBreakConditionError</h4> |
|
752 <b>clientBreakConditionError</b>(<i>filename, lineno</i>) |
|
753 <p> |
|
754 Public method to process the client breakpoint condition error info. |
|
755 </p><dl> |
|
756 <dt><i>filename</i></dt> |
|
757 <dd> |
|
758 filename of the breakpoint (string) |
|
759 </dd><dt><i>lineno</i></dt> |
|
760 <dd> |
|
761 line umber of the breakpoint (integer) |
|
762 </dd> |
|
763 </dl><a NAME="DebugServer.clientCapabilities" ID="DebugServer.clientCapabilities"></a> |
|
764 <h4>DebugServer.clientCapabilities</h4> |
|
765 <b>clientCapabilities</b>(<i>capabilities, clientType</i>) |
|
766 <p> |
|
767 Public method to process the client capabilities info. |
|
768 </p><dl> |
|
769 <dt><i>capabilities</i></dt> |
|
770 <dd> |
|
771 bitmaks with the client capabilities (integer) |
|
772 </dd><dt><i>clientType</i></dt> |
|
773 <dd> |
|
774 type of the debug client (string) |
|
775 </dd> |
|
776 </dl><a NAME="DebugServer.clientClearBreak" ID="DebugServer.clientClearBreak"></a> |
|
777 <h4>DebugServer.clientClearBreak</h4> |
|
778 <b>clientClearBreak</b>(<i>filename, lineno</i>) |
|
779 <p> |
|
780 Public method to process the client clear breakpoint command. |
|
781 </p><dl> |
|
782 <dt><i>filename</i></dt> |
|
783 <dd> |
|
784 filename of the breakpoint (string) |
|
785 </dd><dt><i>lineno</i></dt> |
|
786 <dd> |
|
787 line umber of the breakpoint (integer) |
|
788 </dd> |
|
789 </dl><a NAME="DebugServer.clientClearWatch" ID="DebugServer.clientClearWatch"></a> |
|
790 <h4>DebugServer.clientClearWatch</h4> |
|
791 <b>clientClearWatch</b>(<i>condition</i>) |
|
792 <p> |
|
793 Public slot to handle the clientClearWatch signal. |
|
794 </p><dl> |
|
795 <dt><i>condition</i></dt> |
|
796 <dd> |
|
797 expression of watch expression to clear (string) |
|
798 </dd> |
|
799 </dl><a NAME="DebugServer.clientCompletionList" ID="DebugServer.clientCompletionList"></a> |
|
800 <h4>DebugServer.clientCompletionList</h4> |
|
801 <b>clientCompletionList</b>(<i>completionList, text</i>) |
|
802 <p> |
|
803 Public method to process the client auto completion info. |
|
804 </p><dl> |
|
805 <dt><i>completionList</i></dt> |
|
806 <dd> |
|
807 list of possible completions (list of strings) |
|
808 </dd><dt><i>text</i></dt> |
|
809 <dd> |
|
810 the text to be completed (string) |
|
811 </dd> |
|
812 </dl><a NAME="DebugServer.clientException" ID="DebugServer.clientException"></a> |
|
813 <h4>DebugServer.clientException</h4> |
|
814 <b>clientException</b>(<i>exceptionType, exceptionMessage, stackTrace</i>) |
|
815 <p> |
|
816 Public method to process the exception info from the client. |
|
817 </p><dl> |
|
818 <dt><i>exceptionType</i></dt> |
|
819 <dd> |
|
820 type of exception raised (string) |
|
821 </dd><dt><i>exceptionMessage</i></dt> |
|
822 <dd> |
|
823 message given by the exception (string) |
|
824 </dd><dt><i>stackTrace</i></dt> |
|
825 <dd> |
|
826 list of stack entries with the exception position |
|
827 first. Each stack entry is a list giving the filename and the linenumber. |
|
828 </dd> |
|
829 </dl><a NAME="DebugServer.clientExit" ID="DebugServer.clientExit"></a> |
|
830 <h4>DebugServer.clientExit</h4> |
|
831 <b>clientExit</b>(<i>status</i>) |
|
832 <p> |
|
833 Public method to process the client exit status. |
|
834 </p><dl> |
|
835 <dt><i>status</i></dt> |
|
836 <dd> |
|
837 exit code as a string (string) |
|
838 </dd> |
|
839 </dl><a NAME="DebugServer.clientLine" ID="DebugServer.clientLine"></a> |
|
840 <h4>DebugServer.clientLine</h4> |
|
841 <b>clientLine</b>(<i>filename, lineno, forStack = False</i>) |
|
842 <p> |
|
843 Public method to process client position feedback. |
|
844 </p><dl> |
|
845 <dt><i>filename</i></dt> |
|
846 <dd> |
|
847 name of the file currently being executed (string) |
|
848 </dd><dt><i>lineno</i></dt> |
|
849 <dd> |
|
850 line of code currently being executed (integer) |
|
851 </dd><dt><i>forStack</i></dt> |
|
852 <dd> |
|
853 flag indicating this is for a stack dump (boolean) |
|
854 </dd> |
|
855 </dl><a NAME="DebugServer.clientOutput" ID="DebugServer.clientOutput"></a> |
|
856 <h4>DebugServer.clientOutput</h4> |
|
857 <b>clientOutput</b>(<i>line</i>) |
|
858 <p> |
|
859 Public method to process a line of client output. |
|
860 </p><dl> |
|
861 <dt><i>line</i></dt> |
|
862 <dd> |
|
863 client output (string) |
|
864 </dd> |
|
865 </dl><a NAME="DebugServer.clientRawInput" ID="DebugServer.clientRawInput"></a> |
|
866 <h4>DebugServer.clientRawInput</h4> |
|
867 <b>clientRawInput</b>(<i>prompt, echo</i>) |
|
868 <p> |
|
869 Public method to process the client raw input command. |
|
870 </p><dl> |
|
871 <dt><i>prompt</i></dt> |
|
872 <dd> |
|
873 the input prompt (string) |
|
874 </dd><dt><i>echo</i></dt> |
|
875 <dd> |
|
876 flag indicating an echoing of the input (boolean) |
|
877 </dd> |
|
878 </dl><a NAME="DebugServer.clientStack" ID="DebugServer.clientStack"></a> |
|
879 <h4>DebugServer.clientStack</h4> |
|
880 <b>clientStack</b>(<i>stack</i>) |
|
881 <p> |
|
882 Public method to process a client's stack information. |
|
883 </p><dl> |
|
884 <dt><i>stack</i></dt> |
|
885 <dd> |
|
886 list of stack entries. Each entry is a tuple of three |
|
887 values giving the filename, linenumber and method |
|
888 (list of lists of (string, integer, string)) |
|
889 </dd> |
|
890 </dl><a NAME="DebugServer.clientStatement" ID="DebugServer.clientStatement"></a> |
|
891 <h4>DebugServer.clientStatement</h4> |
|
892 <b>clientStatement</b>(<i>more</i>) |
|
893 <p> |
|
894 Public method to process the input response from the client. |
|
895 </p><dl> |
|
896 <dt><i>more</i></dt> |
|
897 <dd> |
|
898 flag indicating that more user input is required |
|
899 </dd> |
|
900 </dl><a NAME="DebugServer.clientSyntaxError" ID="DebugServer.clientSyntaxError"></a> |
|
901 <h4>DebugServer.clientSyntaxError</h4> |
|
902 <b>clientSyntaxError</b>(<i>message, filename, lineNo, characterNo</i>) |
|
903 <p> |
|
904 Public method to process the syntax error info from the client. |
|
905 </p><dl> |
|
906 <dt><i>message</i></dt> |
|
907 <dd> |
|
908 message of the syntax error (string) |
|
909 </dd><dt><i>filename</i></dt> |
|
910 <dd> |
|
911 translated filename of the syntax error position (string) |
|
912 </dd><dt><i>lineNo</i></dt> |
|
913 <dd> |
|
914 line number of the syntax error position (integer) |
|
915 </dd><dt><i>characterNo</i></dt> |
|
916 <dd> |
|
917 character number of the syntax error position (integer) |
|
918 </dd> |
|
919 </dl><a NAME="DebugServer.clientThreadList" ID="DebugServer.clientThreadList"></a> |
|
920 <h4>DebugServer.clientThreadList</h4> |
|
921 <b>clientThreadList</b>(<i>currentId, threadList</i>) |
|
922 <p> |
|
923 Public method to process the client thread list info. |
|
924 </p><dl> |
|
925 <dt><i>currentID</i></dt> |
|
926 <dd> |
|
927 id of the current thread (integer) |
|
928 </dd><dt><i>threadList</i></dt> |
|
929 <dd> |
|
930 list of dictionaries containing the thread data |
|
931 </dd> |
|
932 </dl><a NAME="DebugServer.clientThreadSet" ID="DebugServer.clientThreadSet"></a> |
|
933 <h4>DebugServer.clientThreadSet</h4> |
|
934 <b>clientThreadSet</b>(<i></i>) |
|
935 <p> |
|
936 Public method to handle the change of the client thread. |
|
937 </p><a NAME="DebugServer.clientUtFinished" ID="DebugServer.clientUtFinished"></a> |
|
938 <h4>DebugServer.clientUtFinished</h4> |
|
939 <b>clientUtFinished</b>(<i></i>) |
|
940 <p> |
|
941 Public method to process the client unit test finished info. |
|
942 </p><a NAME="DebugServer.clientUtPrepared" ID="DebugServer.clientUtPrepared"></a> |
|
943 <h4>DebugServer.clientUtPrepared</h4> |
|
944 <b>clientUtPrepared</b>(<i>result, exceptionType, exceptionValue</i>) |
|
945 <p> |
|
946 Public method to process the client unittest prepared info. |
|
947 </p><dl> |
|
948 <dt><i>result</i></dt> |
|
949 <dd> |
|
950 number of test cases (0 = error) (integer) |
|
951 </dd><dt><i>exceptionType</i></dt> |
|
952 <dd> |
|
953 exception type (string) |
|
954 </dd><dt><i>exceptionValue</i></dt> |
|
955 <dd> |
|
956 exception message (string) |
|
957 </dd> |
|
958 </dl><a NAME="DebugServer.clientUtStartTest" ID="DebugServer.clientUtStartTest"></a> |
|
959 <h4>DebugServer.clientUtStartTest</h4> |
|
960 <b>clientUtStartTest</b>(<i>testname, doc</i>) |
|
961 <p> |
|
962 Public method to process the client start test info. |
|
963 </p><dl> |
|
964 <dt><i>testname</i></dt> |
|
965 <dd> |
|
966 name of the test (string) |
|
967 </dd><dt><i>doc</i></dt> |
|
968 <dd> |
|
969 short description of the test (string) |
|
970 </dd> |
|
971 </dl><a NAME="DebugServer.clientUtStopTest" ID="DebugServer.clientUtStopTest"></a> |
|
972 <h4>DebugServer.clientUtStopTest</h4> |
|
973 <b>clientUtStopTest</b>(<i></i>) |
|
974 <p> |
|
975 Public method to process the client stop test info. |
|
976 </p><a NAME="DebugServer.clientUtTestErrored" ID="DebugServer.clientUtTestErrored"></a> |
|
977 <h4>DebugServer.clientUtTestErrored</h4> |
|
978 <b>clientUtTestErrored</b>(<i>testname, traceback</i>) |
|
979 <p> |
|
980 Public method to process the client test errored info. |
|
981 </p><dl> |
|
982 <dt><i>testname</i></dt> |
|
983 <dd> |
|
984 name of the test (string) |
|
985 </dd><dt><i>traceback</i></dt> |
|
986 <dd> |
|
987 lines of traceback info (string) |
|
988 </dd> |
|
989 </dl><a NAME="DebugServer.clientUtTestFailed" ID="DebugServer.clientUtTestFailed"></a> |
|
990 <h4>DebugServer.clientUtTestFailed</h4> |
|
991 <b>clientUtTestFailed</b>(<i>testname, traceback</i>) |
|
992 <p> |
|
993 Public method to process the client test failed info. |
|
994 </p><dl> |
|
995 <dt><i>testname</i></dt> |
|
996 <dd> |
|
997 name of the test (string) |
|
998 </dd><dt><i>traceback</i></dt> |
|
999 <dd> |
|
1000 lines of traceback info (string) |
|
1001 </dd> |
|
1002 </dl><a NAME="DebugServer.clientVariable" ID="DebugServer.clientVariable"></a> |
|
1003 <h4>DebugServer.clientVariable</h4> |
|
1004 <b>clientVariable</b>(<i>scope, variables</i>) |
|
1005 <p> |
|
1006 Public method to process the client variable info. |
|
1007 </p><dl> |
|
1008 <dt><i>scope</i></dt> |
|
1009 <dd> |
|
1010 scope of the variables (-1 = empty global, 1 = global, 0 = local) |
|
1011 </dd><dt><i>variables</i></dt> |
|
1012 <dd> |
|
1013 the list of members of a classvariable from the client |
|
1014 </dd> |
|
1015 </dl><a NAME="DebugServer.clientVariables" ID="DebugServer.clientVariables"></a> |
|
1016 <h4>DebugServer.clientVariables</h4> |
|
1017 <b>clientVariables</b>(<i>scope, variables</i>) |
|
1018 <p> |
|
1019 Public method to process the client variables info. |
|
1020 </p><dl> |
|
1021 <dt><i>scope</i></dt> |
|
1022 <dd> |
|
1023 scope of the variables (-1 = empty global, 1 = global, 0 = local) |
|
1024 </dd><dt><i>variables</i></dt> |
|
1025 <dd> |
|
1026 the list of variables from the client |
|
1027 </dd> |
|
1028 </dl><a NAME="DebugServer.clientWatchConditionError" ID="DebugServer.clientWatchConditionError"></a> |
|
1029 <h4>DebugServer.clientWatchConditionError</h4> |
|
1030 <b>clientWatchConditionError</b>(<i>condition</i>) |
|
1031 <p> |
|
1032 Public method to process the client watch expression error info. |
|
1033 </p><dl> |
|
1034 <dt><i>condition</i></dt> |
|
1035 <dd> |
|
1036 expression of watch expression to clear (string) |
|
1037 </dd> |
|
1038 </dl><a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a> |
|
1039 <h4>DebugServer.getBreakPointModel</h4> |
|
1040 <b>getBreakPointModel</b>(<i></i>) |
|
1041 <p> |
|
1042 Public slot to get a reference to the breakpoint model object. |
|
1043 </p><dl> |
|
1044 <dt>Returns:</dt> |
|
1045 <dd> |
|
1046 reference to the breakpoint model object (BreakPointModel) |
|
1047 </dd> |
|
1048 </dl><a NAME="DebugServer.getClientCapabilities" ID="DebugServer.getClientCapabilities"></a> |
|
1049 <h4>DebugServer.getClientCapabilities</h4> |
|
1050 <b>getClientCapabilities</b>(<i>type</i>) |
|
1051 <p> |
|
1052 Public method to retrieve the debug clients capabilities. |
|
1053 </p><dl> |
|
1054 <dt><i>type</i></dt> |
|
1055 <dd> |
|
1056 debug client type (string) |
|
1057 </dd> |
|
1058 </dl><dl> |
|
1059 <dt>Returns:</dt> |
|
1060 <dd> |
|
1061 debug client capabilities (integer) |
|
1062 </dd> |
|
1063 </dl><a NAME="DebugServer.getExtensions" ID="DebugServer.getExtensions"></a> |
|
1064 <h4>DebugServer.getExtensions</h4> |
|
1065 <b>getExtensions</b>(<i>language</i>) |
|
1066 <p> |
|
1067 Public slot to get the extensions associated with the given language. |
|
1068 </p><dl> |
|
1069 <dt><i>language</i></dt> |
|
1070 <dd> |
|
1071 language to get extensions for (string) |
|
1072 </dd> |
|
1073 </dl><dl> |
|
1074 <dt>Returns:</dt> |
|
1075 <dd> |
|
1076 tuple of extensions associated with the language (tuple of strings) |
|
1077 </dd> |
|
1078 </dl><a NAME="DebugServer.getHostAddress" ID="DebugServer.getHostAddress"></a> |
|
1079 <h4>DebugServer.getHostAddress</h4> |
|
1080 <b>getHostAddress</b>(<i>localhost</i>) |
|
1081 <p> |
|
1082 Public method to get the IP address or hostname the debug server is listening. |
|
1083 </p><dl> |
|
1084 <dt><i>localhost</i></dt> |
|
1085 <dd> |
|
1086 flag indicating to return the address for localhost (boolean) |
|
1087 </dd> |
|
1088 </dl><dl> |
|
1089 <dt>Returns:</dt> |
|
1090 <dd> |
|
1091 IP address or hostname (string) |
|
1092 </dd> |
|
1093 </dl><a NAME="DebugServer.getSupportedLanguages" ID="DebugServer.getSupportedLanguages"></a> |
|
1094 <h4>DebugServer.getSupportedLanguages</h4> |
|
1095 <b>getSupportedLanguages</b>(<i>shellOnly = False</i>) |
|
1096 <p> |
|
1097 Public slot to return the supported programming languages. |
|
1098 </p><dl> |
|
1099 <dt><i>shellOnly</i></dt> |
|
1100 <dd> |
|
1101 flag indicating only languages supporting an |
|
1102 interactive shell should be returned |
|
1103 </dd> |
|
1104 </dl><dl> |
|
1105 <dt>Returns:</dt> |
|
1106 <dd> |
|
1107 list of supported languages (list of strings) |
|
1108 </dd> |
|
1109 </dl><a NAME="DebugServer.getWatchPointModel" ID="DebugServer.getWatchPointModel"></a> |
|
1110 <h4>DebugServer.getWatchPointModel</h4> |
|
1111 <b>getWatchPointModel</b>(<i></i>) |
|
1112 <p> |
|
1113 Public slot to get a reference to the watch expression model object. |
|
1114 </p><dl> |
|
1115 <dt>Returns:</dt> |
|
1116 <dd> |
|
1117 reference to the watch expression model object (WatchPointModel) |
|
1118 </dd> |
|
1119 </dl><a NAME="DebugServer.isConnected" ID="DebugServer.isConnected"></a> |
|
1120 <h4>DebugServer.isConnected</h4> |
|
1121 <b>isConnected</b>(<i></i>) |
|
1122 <p> |
|
1123 Public method to test, if the debug server is connected to a backend. |
|
1124 </p><dl> |
|
1125 <dt>Returns:</dt> |
|
1126 <dd> |
|
1127 flag indicating a connection (boolean) |
|
1128 </dd> |
|
1129 </dl><a NAME="DebugServer.passiveStartUp" ID="DebugServer.passiveStartUp"></a> |
|
1130 <h4>DebugServer.passiveStartUp</h4> |
|
1131 <b>passiveStartUp</b>(<i>fn, exc</i>) |
|
1132 <p> |
|
1133 Public method to handle a passive debug connection. |
|
1134 </p><dl> |
|
1135 <dt><i>fn</i></dt> |
|
1136 <dd> |
|
1137 filename of the debugged script (string) |
|
1138 </dd><dt><i>exc</i></dt> |
|
1139 <dd> |
|
1140 flag to enable exception reporting of the IDE (boolean) |
|
1141 </dd> |
|
1142 </dl><a NAME="DebugServer.preferencesChanged" ID="DebugServer.preferencesChanged"></a> |
|
1143 <h4>DebugServer.preferencesChanged</h4> |
|
1144 <b>preferencesChanged</b>(<i></i>) |
|
1145 <p> |
|
1146 Public slot to handle the preferencesChanged signal. |
|
1147 </p><a NAME="DebugServer.remoteBanner" ID="DebugServer.remoteBanner"></a> |
|
1148 <h4>DebugServer.remoteBanner</h4> |
|
1149 <b>remoteBanner</b>(<i></i>) |
|
1150 <p> |
|
1151 Public slot to get the banner info of the remote client. |
|
1152 </p><a NAME="DebugServer.remoteBreakpoint" ID="DebugServer.remoteBreakpoint"></a> |
|
1153 <h4>DebugServer.remoteBreakpoint</h4> |
|
1154 <b>remoteBreakpoint</b>(<i>fn, line, set, cond=None, temp=False</i>) |
|
1155 <p> |
|
1156 Public method to set or clear a breakpoint. |
|
1157 </p><dl> |
|
1158 <dt><i>fn</i></dt> |
|
1159 <dd> |
|
1160 filename the breakpoint belongs to (string) |
|
1161 </dd><dt><i>line</i></dt> |
|
1162 <dd> |
|
1163 linenumber of the breakpoint (int) |
|
1164 </dd><dt><i>set</i></dt> |
|
1165 <dd> |
|
1166 flag indicating setting or resetting a breakpoint (boolean) |
|
1167 </dd><dt><i>cond</i></dt> |
|
1168 <dd> |
|
1169 condition of the breakpoint (string) |
|
1170 </dd><dt><i>temp</i></dt> |
|
1171 <dd> |
|
1172 flag indicating a temporary breakpoint (boolean) |
|
1173 </dd> |
|
1174 </dl><a NAME="DebugServer.remoteCapabilities" ID="DebugServer.remoteCapabilities"></a> |
|
1175 <h4>DebugServer.remoteCapabilities</h4> |
|
1176 <b>remoteCapabilities</b>(<i></i>) |
|
1177 <p> |
|
1178 Public slot to get the debug clients capabilities. |
|
1179 </p><a NAME="DebugServer.remoteClientSetFilter" ID="DebugServer.remoteClientSetFilter"></a> |
|
1180 <h4>DebugServer.remoteClientSetFilter</h4> |
|
1181 <b>remoteClientSetFilter</b>(<i>scope, filter</i>) |
|
1182 <p> |
|
1183 Public method to set a variables filter list. |
|
1184 </p><dl> |
|
1185 <dt><i>scope</i></dt> |
|
1186 <dd> |
|
1187 the scope of the variables (0 = local, 1 = global) |
|
1188 </dd><dt><i>filter</i></dt> |
|
1189 <dd> |
|
1190 regexp string for variable names to filter out (string) |
|
1191 </dd> |
|
1192 </dl><a NAME="DebugServer.remoteClientVariable" ID="DebugServer.remoteClientVariable"></a> |
|
1193 <h4>DebugServer.remoteClientVariable</h4> |
|
1194 <b>remoteClientVariable</b>(<i>scope, filter, var, framenr = 0</i>) |
|
1195 <p> |
|
1196 Public method to request the variables of the debugged program. |
|
1197 </p><dl> |
|
1198 <dt><i>scope</i></dt> |
|
1199 <dd> |
|
1200 the scope of the variables (0 = local, 1 = global) |
|
1201 </dd><dt><i>filter</i></dt> |
|
1202 <dd> |
|
1203 list of variable types to filter out (list of int) |
|
1204 </dd><dt><i>var</i></dt> |
|
1205 <dd> |
|
1206 list encoded name of variable to retrieve (string) |
|
1207 </dd><dt><i>framenr</i></dt> |
|
1208 <dd> |
|
1209 framenumber of the variables to retrieve (int) |
|
1210 </dd> |
|
1211 </dl><a NAME="DebugServer.remoteClientVariables" ID="DebugServer.remoteClientVariables"></a> |
|
1212 <h4>DebugServer.remoteClientVariables</h4> |
|
1213 <b>remoteClientVariables</b>(<i>scope, filter, framenr = 0</i>) |
|
1214 <p> |
|
1215 Public method to request the variables of the debugged program. |
|
1216 </p><dl> |
|
1217 <dt><i>scope</i></dt> |
|
1218 <dd> |
|
1219 the scope of the variables (0 = local, 1 = global) |
|
1220 </dd><dt><i>filter</i></dt> |
|
1221 <dd> |
|
1222 list of variable types to filter out (list of int) |
|
1223 </dd><dt><i>framenr</i></dt> |
|
1224 <dd> |
|
1225 framenumber of the variables to retrieve (int) |
|
1226 </dd> |
|
1227 </dl><a NAME="DebugServer.remoteCompletion" ID="DebugServer.remoteCompletion"></a> |
|
1228 <h4>DebugServer.remoteCompletion</h4> |
|
1229 <b>remoteCompletion</b>(<i>text</i>) |
|
1230 <p> |
|
1231 Public slot to get the a list of possible commandline completions |
|
1232 from the remote client. |
|
1233 </p><dl> |
|
1234 <dt><i>text</i></dt> |
|
1235 <dd> |
|
1236 the text to be completed (string) |
|
1237 </dd> |
|
1238 </dl><a NAME="DebugServer.remoteContinue" ID="DebugServer.remoteContinue"></a> |
|
1239 <h4>DebugServer.remoteContinue</h4> |
|
1240 <b>remoteContinue</b>(<i>special = False</i>) |
|
1241 <p> |
|
1242 Public method to continue the debugged program. |
|
1243 </p><dl> |
|
1244 <dt><i>special</i></dt> |
|
1245 <dd> |
|
1246 flag indicating a special continue operation |
|
1247 </dd> |
|
1248 </dl><a NAME="DebugServer.remoteCoverage" ID="DebugServer.remoteCoverage"></a> |
|
1249 <h4>DebugServer.remoteCoverage</h4> |
|
1250 <b>remoteCoverage</b>(<i>fn, argv, wd, env, autoClearShell = True, erase = False, forProject = False, runInConsole = False</i>) |
|
1251 <p> |
|
1252 Public method to load a new program to collect coverage data. |
|
1253 </p><dl> |
|
1254 <dt><i>fn</i></dt> |
|
1255 <dd> |
|
1256 the filename to run (string) |
|
1257 </dd><dt><i>argv</i></dt> |
|
1258 <dd> |
|
1259 the commandline arguments to pass to the program (string) |
|
1260 </dd><dt><i>wd</i></dt> |
|
1261 <dd> |
|
1262 the working directory for the program (string) |
|
1263 </dd><dt><i>env</i></dt> |
|
1264 <dd> |
|
1265 environment settings (string) |
|
1266 </dd><dt><i>autoClearShell=</i></dt> |
|
1267 <dd> |
|
1268 flag indicating, that the interpreter window should |
|
1269 be cleared (boolean) |
|
1270 </dd><dt><i>erase=</i></dt> |
|
1271 <dd> |
|
1272 flag indicating that coverage info should be |
|
1273 cleared first (boolean) |
|
1274 </dd><dt><i>forProject=</i></dt> |
|
1275 <dd> |
|
1276 flag indicating a project related action (boolean) |
|
1277 </dd><dt><i>runInConsole=</i></dt> |
|
1278 <dd> |
|
1279 flag indicating to start the debugger in a |
|
1280 console window (boolean) |
|
1281 </dd> |
|
1282 </dl><a NAME="DebugServer.remoteEnvironment" ID="DebugServer.remoteEnvironment"></a> |
|
1283 <h4>DebugServer.remoteEnvironment</h4> |
|
1284 <b>remoteEnvironment</b>(<i>env</i>) |
|
1285 <p> |
|
1286 Public method to set the environment for a program to debug, run, ... |
|
1287 </p><dl> |
|
1288 <dt><i>env</i></dt> |
|
1289 <dd> |
|
1290 environment settings (string) |
|
1291 </dd> |
|
1292 </dl><a NAME="DebugServer.remoteEval" ID="DebugServer.remoteEval"></a> |
|
1293 <h4>DebugServer.remoteEval</h4> |
|
1294 <b>remoteEval</b>(<i>arg</i>) |
|
1295 <p> |
|
1296 Public method to evaluate arg in the current context of the debugged program. |
|
1297 </p><dl> |
|
1298 <dt><i>arg</i></dt> |
|
1299 <dd> |
|
1300 the arguments to evaluate (string) |
|
1301 </dd> |
|
1302 </dl><a NAME="DebugServer.remoteExec" ID="DebugServer.remoteExec"></a> |
|
1303 <h4>DebugServer.remoteExec</h4> |
|
1304 <b>remoteExec</b>(<i>stmt</i>) |
|
1305 <p> |
|
1306 Public method to execute stmt in the current context of the debugged program. |
|
1307 </p><dl> |
|
1308 <dt><i>stmt</i></dt> |
|
1309 <dd> |
|
1310 statement to execute (string) |
|
1311 </dd> |
|
1312 </dl><a NAME="DebugServer.remoteLoad" ID="DebugServer.remoteLoad"></a> |
|
1313 <h4>DebugServer.remoteLoad</h4> |
|
1314 <b>remoteLoad</b>(<i>fn, argv, wd, env, autoClearShell = True, tracePython = False, autoContinue = True, forProject = False, runInConsole = False, autoFork = False, forkChild = False</i>) |
|
1315 <p> |
|
1316 Public method to load a new program to debug. |
|
1317 </p><dl> |
|
1318 <dt><i>fn</i></dt> |
|
1319 <dd> |
|
1320 the filename to debug (string) |
|
1321 </dd><dt><i>argv</i></dt> |
|
1322 <dd> |
|
1323 the commandline arguments to pass to the program (string) |
|
1324 </dd><dt><i>wd</i></dt> |
|
1325 <dd> |
|
1326 the working directory for the program (string) |
|
1327 </dd><dt><i>env</i></dt> |
|
1328 <dd> |
|
1329 environment settings (string) |
|
1330 </dd><dt><i>autoClearShell=</i></dt> |
|
1331 <dd> |
|
1332 flag indicating, that the interpreter window should |
|
1333 be cleared (boolean) |
|
1334 </dd><dt><i>tracePython=</i></dt> |
|
1335 <dd> |
|
1336 flag indicating if the Python library should be traced |
|
1337 as well (boolean) |
|
1338 </dd><dt><i>autoContinue=</i></dt> |
|
1339 <dd> |
|
1340 flag indicating, that the debugger should not stop |
|
1341 at the first executable line (boolean) |
|
1342 </dd><dt><i>forProject=</i></dt> |
|
1343 <dd> |
|
1344 flag indicating a project related action (boolean) |
|
1345 </dd><dt><i>runInConsole=</i></dt> |
|
1346 <dd> |
|
1347 flag indicating to start the debugger in a |
|
1348 console window (boolean) |
|
1349 </dd><dt><i>autoFork=</i></dt> |
|
1350 <dd> |
|
1351 flag indicating the automatic fork mode (boolean) |
|
1352 </dd><dt><i>forkChild=</i></dt> |
|
1353 <dd> |
|
1354 flag indicating to debug the child after forking (boolean) |
|
1355 </dd> |
|
1356 </dl><a NAME="DebugServer.remoteProfile" ID="DebugServer.remoteProfile"></a> |
|
1357 <h4>DebugServer.remoteProfile</h4> |
|
1358 <b>remoteProfile</b>(<i>fn, argv, wd, env, autoClearShell = True, erase = False, forProject = False, runInConsole = False</i>) |
|
1359 <p> |
|
1360 Public method to load a new program to collect profiling data. |
|
1361 </p><dl> |
|
1362 <dt><i>fn</i></dt> |
|
1363 <dd> |
|
1364 the filename to run (string) |
|
1365 </dd><dt><i>argv</i></dt> |
|
1366 <dd> |
|
1367 the commandline arguments to pass to the program (string) |
|
1368 </dd><dt><i>wd</i></dt> |
|
1369 <dd> |
|
1370 the working directory for the program (string) |
|
1371 </dd><dt><i>env</i></dt> |
|
1372 <dd> |
|
1373 environment settings (string) |
|
1374 </dd><dt><i>autoClearShell=</i></dt> |
|
1375 <dd> |
|
1376 flag indicating, that the interpreter window should |
|
1377 be cleared (boolean) |
|
1378 </dd><dt><i>erase=</i></dt> |
|
1379 <dd> |
|
1380 flag indicating that timing info should be cleared first (boolean) |
|
1381 </dd><dt><i>forProject=</i></dt> |
|
1382 <dd> |
|
1383 flag indicating a project related action (boolean) |
|
1384 </dd><dt><i>runInConsole=</i></dt> |
|
1385 <dd> |
|
1386 flag indicating to start the debugger in a |
|
1387 console window (boolean) |
|
1388 </dd> |
|
1389 </dl><a NAME="DebugServer.remoteRawInput" ID="DebugServer.remoteRawInput"></a> |
|
1390 <h4>DebugServer.remoteRawInput</h4> |
|
1391 <b>remoteRawInput</b>(<i>s</i>) |
|
1392 <p> |
|
1393 Public method to send the raw input to the debugged program. |
|
1394 </p><dl> |
|
1395 <dt><i>s</i></dt> |
|
1396 <dd> |
|
1397 the raw input (string) |
|
1398 </dd> |
|
1399 </dl><a NAME="DebugServer.remoteRun" ID="DebugServer.remoteRun"></a> |
|
1400 <h4>DebugServer.remoteRun</h4> |
|
1401 <b>remoteRun</b>(<i>fn, argv, wd, env, autoClearShell = True, forProject = False, runInConsole = False</i>) |
|
1402 <p> |
|
1403 Public method to load a new program to run. |
|
1404 </p><dl> |
|
1405 <dt><i>fn</i></dt> |
|
1406 <dd> |
|
1407 the filename to run (string) |
|
1408 </dd><dt><i>argv</i></dt> |
|
1409 <dd> |
|
1410 the commandline arguments to pass to the program (string) |
|
1411 </dd><dt><i>wd</i></dt> |
|
1412 <dd> |
|
1413 the working directory for the program (string) |
|
1414 </dd><dt><i>env</i></dt> |
|
1415 <dd> |
|
1416 environment settings (string) |
|
1417 </dd><dt><i>autoClearShell=</i></dt> |
|
1418 <dd> |
|
1419 flag indicating, that the interpreter window should |
|
1420 be cleared (boolean) |
|
1421 </dd><dt><i>forProject=</i></dt> |
|
1422 <dd> |
|
1423 flag indicating a project related action (boolean) |
|
1424 </dd><dt><i>runInConsole=</i></dt> |
|
1425 <dd> |
|
1426 flag indicating to start the debugger in a |
|
1427 console window (boolean) |
|
1428 </dd> |
|
1429 </dl><a NAME="DebugServer.remoteSetThread" ID="DebugServer.remoteSetThread"></a> |
|
1430 <h4>DebugServer.remoteSetThread</h4> |
|
1431 <b>remoteSetThread</b>(<i>tid</i>) |
|
1432 <p> |
|
1433 Public method to request to set the given thread as current thread. |
|
1434 </p><dl> |
|
1435 <dt><i>tid</i></dt> |
|
1436 <dd> |
|
1437 id of the thread (integer) |
|
1438 </dd> |
|
1439 </dl><a NAME="DebugServer.remoteStatement" ID="DebugServer.remoteStatement"></a> |
|
1440 <h4>DebugServer.remoteStatement</h4> |
|
1441 <b>remoteStatement</b>(<i>stmt</i>) |
|
1442 <p> |
|
1443 Public method to execute a Python statement. |
|
1444 </p><dl> |
|
1445 <dt><i>stmt</i></dt> |
|
1446 <dd> |
|
1447 the Python statement to execute (string). It |
|
1448 should not have a trailing newline. |
|
1449 </dd> |
|
1450 </dl><a NAME="DebugServer.remoteStep" ID="DebugServer.remoteStep"></a> |
|
1451 <h4>DebugServer.remoteStep</h4> |
|
1452 <b>remoteStep</b>(<i></i>) |
|
1453 <p> |
|
1454 Public method to single step the debugged program. |
|
1455 </p><a NAME="DebugServer.remoteStepOut" ID="DebugServer.remoteStepOut"></a> |
|
1456 <h4>DebugServer.remoteStepOut</h4> |
|
1457 <b>remoteStepOut</b>(<i></i>) |
|
1458 <p> |
|
1459 Public method to step out the debugged program. |
|
1460 </p><a NAME="DebugServer.remoteStepOver" ID="DebugServer.remoteStepOver"></a> |
|
1461 <h4>DebugServer.remoteStepOver</h4> |
|
1462 <b>remoteStepOver</b>(<i></i>) |
|
1463 <p> |
|
1464 Public method to step over the debugged program. |
|
1465 </p><a NAME="DebugServer.remoteStepQuit" ID="DebugServer.remoteStepQuit"></a> |
|
1466 <h4>DebugServer.remoteStepQuit</h4> |
|
1467 <b>remoteStepQuit</b>(<i></i>) |
|
1468 <p> |
|
1469 Public method to stop the debugged program. |
|
1470 </p><a NAME="DebugServer.remoteThreadList" ID="DebugServer.remoteThreadList"></a> |
|
1471 <h4>DebugServer.remoteThreadList</h4> |
|
1472 <b>remoteThreadList</b>(<i></i>) |
|
1473 <p> |
|
1474 Public method to request the list of threads from the client. |
|
1475 </p><a NAME="DebugServer.remoteUTPrepare" ID="DebugServer.remoteUTPrepare"></a> |
|
1476 <h4>DebugServer.remoteUTPrepare</h4> |
|
1477 <b>remoteUTPrepare</b>(<i>fn, tn, tfn, cov, covname, coverase</i>) |
|
1478 <p> |
|
1479 Public method to prepare a new unittest run. |
|
1480 </p><dl> |
|
1481 <dt><i>fn</i></dt> |
|
1482 <dd> |
|
1483 the filename to load (string) |
|
1484 </dd><dt><i>tn</i></dt> |
|
1485 <dd> |
|
1486 the testname to load (string) |
|
1487 </dd><dt><i>tfn</i></dt> |
|
1488 <dd> |
|
1489 the test function name to load tests from (string) |
|
1490 </dd><dt><i>cov</i></dt> |
|
1491 <dd> |
|
1492 flag indicating collection of coverage data is requested |
|
1493 </dd><dt><i>covname</i></dt> |
|
1494 <dd> |
|
1495 filename to be used to assemble the coverage caches |
|
1496 filename (string) |
|
1497 </dd><dt><i>coverase</i></dt> |
|
1498 <dd> |
|
1499 flag indicating erasure of coverage data is requested (boolean) |
|
1500 </dd> |
|
1501 </dl><a NAME="DebugServer.remoteUTRun" ID="DebugServer.remoteUTRun"></a> |
|
1502 <h4>DebugServer.remoteUTRun</h4> |
|
1503 <b>remoteUTRun</b>(<i></i>) |
|
1504 <p> |
|
1505 Public method to start a unittest run. |
|
1506 </p><a NAME="DebugServer.remoteUTStop" ID="DebugServer.remoteUTStop"></a> |
|
1507 <h4>DebugServer.remoteUTStop</h4> |
|
1508 <b>remoteUTStop</b>(<i></i>) |
|
1509 <p> |
|
1510 public method to stop a unittest run. |
|
1511 </p><a NAME="DebugServer.shutdownServer" ID="DebugServer.shutdownServer"></a> |
|
1512 <h4>DebugServer.shutdownServer</h4> |
|
1513 <b>shutdownServer</b>(<i></i>) |
|
1514 <p> |
|
1515 Public method to cleanly shut down. |
|
1516 </p><p> |
|
1517 It closes our socket and shuts down |
|
1518 the debug client. (Needed on Win OS) |
|
1519 </p><a NAME="DebugServer.startClient" ID="DebugServer.startClient"></a> |
|
1520 <h4>DebugServer.startClient</h4> |
|
1521 <b>startClient</b>(<i>unplanned = True, clType = None, forProject = False, runInConsole = False</i>) |
|
1522 <p> |
|
1523 Public method to start a debug client. |
|
1524 </p><dl> |
|
1525 <dt><i>unplanned=</i></dt> |
|
1526 <dd> |
|
1527 flag indicating that the client has died (boolean) |
|
1528 </dd><dt><i>clType=</i></dt> |
|
1529 <dd> |
|
1530 type of client to be started (string) |
|
1531 </dd><dt><i>forProject=</i></dt> |
|
1532 <dd> |
|
1533 flag indicating a project related action (boolean) |
|
1534 </dd><dt><i>runInConsole=</i></dt> |
|
1535 <dd> |
|
1536 flag indicating to start the debugger in a |
|
1537 console window (boolean) |
|
1538 </dd> |
|
1539 </dl> |
|
1540 <div align="right"><a href="#top">Up</a></div> |
|
1541 <hr /> |
|
1542 </body></html> |