170 reportAllExceptions=False, |
170 reportAllExceptions=False, |
171 ): |
171 ): |
172 """ |
172 """ |
173 Public method to load a new program to debug. |
173 Public method to load a new program to debug. |
174 |
174 |
175 @param fn the filename to debug |
175 @param fn filename to debug |
176 @type str |
176 @type str |
177 @param argv the commandline arguments to pass to the program |
177 @param argv list of command line arguments to pass to the program |
178 @type str |
178 @type list of str |
179 @param wd the working directory for the program |
179 @param wd working directory for the program |
180 @type str |
180 @type str |
181 @param traceInterpreter flag indicating if the interpreter library |
181 @param traceInterpreter flag indicating if the interpreter library |
182 should be traced as well |
182 should be traced as well |
183 @type bool |
183 @type bool |
184 @param autoContinue flag indicating, that the debugger should not |
184 @param autoContinue flag indicating, that the debugger should not |
195 |
195 |
196 def remoteRun(self, fn, argv, wd): |
196 def remoteRun(self, fn, argv, wd): |
197 """ |
197 """ |
198 Public method to load a new program to run. |
198 Public method to load a new program to run. |
199 |
199 |
200 @param fn the filename to run |
200 @param fn filename to run |
201 @type str |
201 @type str |
202 @param argv the commandline arguments to pass to the program |
202 @param argv list of command line arguments to pass to the program |
203 @type str |
203 @type list of str |
204 @param wd the working directory for the program |
204 @param wd working directory for the program |
205 @type str |
205 @type str |
206 """ |
206 """ |
207 return |
207 return |
208 |
208 |
209 def remoteCoverage(self, fn, argv, wd, erase=False): |
209 def remoteCoverage(self, fn, argv, wd, erase=False): |
210 """ |
210 """ |
211 Public method to load a new program to collect coverage data. |
211 Public method to load a new program to collect coverage data. |
212 |
212 |
213 @param fn the filename to run |
213 @param fn filename to run |
214 @type str |
214 @type str |
215 @param argv the commandline arguments to pass to the program |
215 @param argv list of command line arguments to pass to the program |
216 @type str |
216 @type list of str |
217 @param wd the working directory for the program |
217 @param wd working directory for the program |
218 @type str |
218 @type str |
219 @param erase flag indicating that coverage info should be |
219 @param erase flag indicating that coverage info should be |
220 cleared first |
220 cleared first |
221 @type bool |
221 @type bool |
222 """ |
222 """ |
224 |
224 |
225 def remoteProfile(self, fn, argv, wd, erase=False): |
225 def remoteProfile(self, fn, argv, wd, erase=False): |
226 """ |
226 """ |
227 Public method to load a new program to collect profiling data. |
227 Public method to load a new program to collect profiling data. |
228 |
228 |
229 @param fn the filename to run |
229 @param fn filename to run |
230 @type str |
230 @type str |
231 @param argv the commandline arguments to pass to the program |
231 @param argv list of command line arguments to pass to the program |
232 @type str |
232 @type list of str |
233 @param wd the working directory for the program |
233 @param wd working directory for the program |
234 @type str |
234 @type str |
235 @param erase flag indicating that timing info should be cleared |
235 @param erase flag indicating that timing info should be cleared |
236 first |
236 first |
237 @type bool |
237 @type bool |
238 """ |
238 """ |
302 Public method to continue the debugged program to the given line |
302 Public method to continue the debugged program to the given line |
303 or until returning from the current frame. |
303 or until returning from the current frame. |
304 |
304 |
305 @param debuggerId ID of the debugger backend |
305 @param debuggerId ID of the debugger backend |
306 @type str |
306 @type str |
307 @param line the new line, where execution should be continued to |
307 @param line new line, where execution should be continued to |
308 @type int |
308 @type int |
309 """ |
309 """ |
310 return |
310 return |
311 |
311 |
312 def remoteMoveIP(self, debuggerId, line): |
312 def remoteMoveIP(self, debuggerId, line): |
313 """ |
313 """ |
314 Public method to move the instruction pointer to a different line. |
314 Public method to move the instruction pointer to a different line. |
315 |
315 |
316 @param debuggerId ID of the debugger backend |
316 @param debuggerId ID of the debugger backend |
317 @type str |
317 @type str |
318 @param line the new line, where execution should be continued |
318 @param line new line, where execution should be continued |
319 @type int |
319 @type int |
320 """ |
320 """ |
321 return |
321 return |
322 |
322 |
323 def remoteBreakpoint( |
323 def remoteBreakpoint( |
328 |
328 |
329 @param debuggerId ID of the debugger backend |
329 @param debuggerId ID of the debugger backend |
330 @type str |
330 @type str |
331 @param fn filename the breakpoint belongs to |
331 @param fn filename the breakpoint belongs to |
332 @type str |
332 @type str |
333 @param line linenumber of the breakpoint |
333 @param line line number of the breakpoint |
334 @type int |
334 @type int |
335 @param setBreakpoint flag indicating setting or resetting a breakpoint |
335 @param setBreakpoint flag indicating setting or resetting a breakpoint |
336 @type bool |
336 @type bool |
337 @param cond condition of the breakpoint |
337 @param cond condition of the breakpoint |
338 @type str |
338 @type str |
459 """ |
459 """ |
460 Public method to request the variables of the debugged program. |
460 Public method to request the variables of the debugged program. |
461 |
461 |
462 @param debuggerId ID of the debugger backend |
462 @param debuggerId ID of the debugger backend |
463 @type str |
463 @type str |
464 @param scope the scope of the variables (0 = local, 1 = global) |
464 @param scope scope of the variables (0 = local, 1 = global) |
465 @type int |
465 @type int |
466 @param filterList list of variable types to filter out |
466 @param filterList list of variable types to filter out |
467 @type list of str |
467 @type list of str |
468 @param framenr framenumber of the variables to retrieve |
468 @param framenr framenumber of the variables to retrieve |
469 @type int |
469 @type int |
480 """ |
480 """ |
481 Public method to request the variables of the debugged program. |
481 Public method to request the variables of the debugged program. |
482 |
482 |
483 @param debuggerId ID of the debugger backend |
483 @param debuggerId ID of the debugger backend |
484 @type str |
484 @type str |
485 @param scope the scope of the variables (0 = local, 1 = global) |
485 @param scope scope of the variables (0 = local, 1 = global) |
486 @type int |
486 @type int |
487 @param filterList list of variable types to filter out |
487 @param filterList list of variable types to filter out |
488 @type list of str |
488 @type list of str |
489 @param var list encoded name of variable to retrieve |
489 @param var list encoded name of variable to retrieve |
490 @type list of str |
490 @type list of str |
510 """ |
510 """ |
511 Public method to set a variables filter list. |
511 Public method to set a variables filter list. |
512 |
512 |
513 @param debuggerId ID of the debugger backend |
513 @param debuggerId ID of the debugger backend |
514 @type str |
514 @type str |
515 @param scope the scope of the variables (0 = local, 1 = global) |
515 @param scope scope of the variables (0 = local, 1 = global) |
516 @type int |
516 @type int |
517 @param filterStr regexp string for variable names to filter out |
517 @param filterStr regexp string for variable names to filter out |
518 @type str |
518 @type str |
519 """ |
519 """ |
520 return |
520 return |