117 |
117 |
118 @param env environment settings (dictionary) |
118 @param env environment settings (dictionary) |
119 """ |
119 """ |
120 return |
120 return |
121 |
121 |
122 def remoteLoad(self, fn, argv, wd, traceInterpreter=False, autoContinue=True, |
122 def remoteLoad(self, fn, argv, wd, traceInterpreter=False, |
123 autoFork=False, forkChild=False): |
123 autoContinue=True, autoFork=False, forkChild=False): |
124 """ |
124 """ |
125 Public method to load a new program to debug. |
125 Public method to load a new program to debug. |
126 |
126 |
127 @param fn the filename to debug (string) |
127 @param fn the filename to debug (string) |
128 @param argv the commandline arguments to pass to the program (string) |
128 @param argv the commandline arguments to pass to the program (string) |
129 @param wd the working directory for the program (string) |
129 @param wd the working directory for the program (string) |
130 @keyparam traceInterpreter flag indicating if the interpreter library should be |
130 @keyparam traceInterpreter flag indicating if the interpreter library |
131 traced as well (boolean) |
131 should be traced as well (boolean) |
132 @keyparam autoContinue flag indicating, that the debugger should not stop |
132 @keyparam autoContinue flag indicating, that the debugger should not |
133 at the first executable line (boolean) |
133 stop at the first executable line (boolean) |
134 @keyparam autoFork flag indicating the automatic fork mode (boolean) |
134 @keyparam autoFork flag indicating the automatic fork mode (boolean) |
135 @keyparam forkChild flag indicating to debug the child after forking (boolean) |
135 @keyparam forkChild flag indicating to debug the child after forking |
|
136 (boolean) |
136 """ |
137 """ |
137 return |
138 return |
138 |
139 |
139 def remoteRun(self, fn, argv, wd, autoFork=False, forkChild=False): |
140 def remoteRun(self, fn, argv, wd, autoFork=False, forkChild=False): |
140 """ |
141 """ |
142 |
143 |
143 @param fn the filename to run (string) |
144 @param fn the filename to run (string) |
144 @param argv the commandline arguments to pass to the program (string) |
145 @param argv the commandline arguments to pass to the program (string) |
145 @param wd the working directory for the program (string) |
146 @param wd the working directory for the program (string) |
146 @keyparam autoFork flag indicating the automatic fork mode (boolean) |
147 @keyparam autoFork flag indicating the automatic fork mode (boolean) |
147 @keyparam forkChild flag indicating to debug the child after forking (boolean) |
148 @keyparam forkChild flag indicating to debug the child after forking |
|
149 (boolean) |
148 """ |
150 """ |
149 return |
151 return |
150 |
152 |
151 def remoteCoverage(self, fn, argv, wd, erase=False): |
153 def remoteCoverage(self, fn, argv, wd, erase=False): |
152 """ |
154 """ |
165 Public method to load a new program to collect profiling data. |
167 Public method to load a new program to collect profiling data. |
166 |
168 |
167 @param fn the filename to run (string) |
169 @param fn the filename to run (string) |
168 @param argv the commandline arguments to pass to the program (string) |
170 @param argv the commandline arguments to pass to the program (string) |
169 @param wd the working directory for the program (string) |
171 @param wd the working directory for the program (string) |
170 @keyparam erase flag indicating that timing info should be cleared first (boolean) |
172 @keyparam erase flag indicating that timing info should be cleared |
|
173 first (boolean) |
171 """ |
174 """ |
172 return |
175 return |
173 |
176 |
174 def remoteStatement(self, stmt): |
177 def remoteStatement(self, stmt): |
175 """ |
178 """ |
229 """ |
232 """ |
230 Public method to enable or disable a breakpoint. |
233 Public method to enable or disable a breakpoint. |
231 |
234 |
232 @param fn filename the breakpoint belongs to (string) |
235 @param fn filename the breakpoint belongs to (string) |
233 @param line linenumber of the breakpoint (int) |
236 @param line linenumber of the breakpoint (int) |
234 @param enable flag indicating enabling or disabling a breakpoint (boolean) |
237 @param enable flag indicating enabling or disabling a breakpoint |
|
238 (boolean) |
235 """ |
239 """ |
236 return |
240 return |
237 |
241 |
238 def remoteBreakpointIgnore(self, fn, line, count): |
242 def remoteBreakpointIgnore(self, fn, line, count): |
239 """ |
243 """ |
248 def remoteWatchpoint(self, cond, set, temp=False): |
252 def remoteWatchpoint(self, cond, set, temp=False): |
249 """ |
253 """ |
250 Public method to set or clear a watch expression. |
254 Public method to set or clear a watch expression. |
251 |
255 |
252 @param cond expression of the watch expression (string) |
256 @param cond expression of the watch expression (string) |
253 @param set flag indicating setting or resetting a watch expression (boolean) |
257 @param set flag indicating setting or resetting a watch expression |
|
258 (boolean) |
254 @param temp flag indicating a temporary watch expression (boolean) |
259 @param temp flag indicating a temporary watch expression (boolean) |
255 """ |
260 """ |
256 return |
261 return |
257 |
262 |
258 def remoteWatchpointEnable(self, cond, enable): |
263 def remoteWatchpointEnable(self, cond, enable): |
259 """ |
264 """ |
260 Public method to enable or disable a watch expression. |
265 Public method to enable or disable a watch expression. |
261 |
266 |
262 @param cond expression of the watch expression (string) |
267 @param cond expression of the watch expression (string) |
263 @param enable flag indicating enabling or disabling a watch expression (boolean) |
268 @param enable flag indicating enabling or disabling a watch |
|
269 expression (boolean) |
264 """ |
270 """ |
265 return |
271 return |
266 |
272 |
267 def remoteWatchpointIgnore(self, cond, count): |
273 def remoteWatchpointIgnore(self, cond, count): |
268 """ |
274 """ |
269 Public method to ignore a watch expression the next couple of occurrences. |
275 Public method to ignore a watch expression the next couple of |
|
276 occurrences. |
270 |
277 |
271 @param cond expression of the watch expression (string) |
278 @param cond expression of the watch expression (string) |
272 @param count number of occurrences to ignore (int) |
279 @param count number of occurrences to ignore (int) |
273 """ |
280 """ |
274 return |
281 return |
333 """ |
340 """ |
334 return |
341 return |
335 |
342 |
336 def remoteEval(self, arg): |
343 def remoteEval(self, arg): |
337 """ |
344 """ |
338 Public method to evaluate arg in the current context of the debugged program. |
345 Public method to evaluate arg in the current context of the debugged |
|
346 program. |
339 |
347 |
340 @param arg the arguments to evaluate (string) |
348 @param arg the arguments to evaluate (string) |
341 """ |
349 """ |
342 return |
350 return |
343 |
351 |
344 def remoteExec(self, stmt): |
352 def remoteExec(self, stmt): |
345 """ |
353 """ |
346 Public method to execute stmt in the current context of the debugged program. |
354 Public method to execute stmt in the current context of the debugged |
|
355 program. |
347 |
356 |
348 @param stmt statement to execute (string) |
357 @param stmt statement to execute (string) |
349 """ |
358 """ |
350 return |
359 return |
351 |
360 |
377 |
386 |
378 @param fn the filename to load (string) |
387 @param fn the filename to load (string) |
379 @param tn the testname to load (string) |
388 @param tn the testname to load (string) |
380 @param tfn the test function name to load tests from (string) |
389 @param tfn the test function name to load tests from (string) |
381 @param failed list of failed test, if only failed test should be run |
390 @param failed list of failed test, if only failed test should be run |
382 (list of strings) |
391 (list of strings) |
383 @param cov flag indicating collection of coverage data is requested (boolean) |
392 @param cov flag indicating collection of coverage data is requested |
|
393 (boolean) |
384 @param covname filename to be used to assemble the coverage caches |
394 @param covname filename to be used to assemble the coverage caches |
385 filename (string) |
395 filename (string) |
386 @param coverase flag indicating erasure of coverage data is requested (boolean) |
396 @param coverase flag indicating erasure of coverage data is requested |
|
397 (boolean) |
387 """ |
398 """ |
388 return |
399 return |
389 |
400 |
390 def remoteUTRun(self): |
401 def remoteUTRun(self): |
391 """ |
402 """ |