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