335 </dl><dl> |
335 </dl><dl> |
336 <dt>Returns:</dt> |
336 <dt>Returns:</dt> |
337 <dd> |
337 <dd> |
338 local trace function |
338 local trace function |
339 </dd> |
339 </dd> |
|
340 </dl><dl> |
|
341 <dt>Raises <b>bdb.BdbQuit</b>:</dt> |
|
342 <dd> |
|
343 raised to indicate the end of the debug session |
|
344 </dd> |
340 </dl><a NAME="DebugBase.dispatch_line" ID="DebugBase.dispatch_line"></a> |
345 </dl><a NAME="DebugBase.dispatch_line" ID="DebugBase.dispatch_line"></a> |
341 <h4>DebugBase.dispatch_line</h4> |
346 <h4>DebugBase.dispatch_line</h4> |
342 <b>dispatch_line</b>(<i>frame</i>) |
347 <b>dispatch_line</b>(<i>frame</i>) |
343 <p> |
348 <p> |
344 Reimplemented from bdb.py to do some special things. |
349 Reimplemented from bdb.py to do some special things. |
354 </dl><dl> |
359 </dl><dl> |
355 <dt>Returns:</dt> |
360 <dt>Returns:</dt> |
356 <dd> |
361 <dd> |
357 local trace function |
362 local trace function |
358 </dd> |
363 </dd> |
|
364 </dl><dl> |
|
365 <dt>Raises <b>bdb.BdbQuit</b>:</dt> |
|
366 <dd> |
|
367 raised to indicate the end of the debug session |
|
368 </dd> |
359 </dl><a NAME="DebugBase.dispatch_return" ID="DebugBase.dispatch_return"></a> |
369 </dl><a NAME="DebugBase.dispatch_return" ID="DebugBase.dispatch_return"></a> |
360 <h4>DebugBase.dispatch_return</h4> |
370 <h4>DebugBase.dispatch_return</h4> |
361 <b>dispatch_return</b>(<i>frame, arg</i>) |
371 <b>dispatch_return</b>(<i>frame, arg</i>) |
362 <p> |
372 <p> |
363 Reimplemented from bdb.py to handle passive mode cleanly. |
373 Reimplemented from bdb.py to handle passive mode cleanly. |
393 </p><dl> |
408 </p><dl> |
394 <dt><i>frame</i></dt> |
409 <dt><i>frame</i></dt> |
395 <dd> |
410 <dd> |
396 the frame object |
411 the frame object |
397 </dd> |
412 </dd> |
|
413 </dl><dl> |
|
414 <dt>Returns:</dt> |
|
415 <dd> |
|
416 fixed up file name (string) |
|
417 </dd> |
398 </dl><a NAME="DebugBase.getCurrentFrame" ID="DebugBase.getCurrentFrame"></a> |
418 </dl><a NAME="DebugBase.getCurrentFrame" ID="DebugBase.getCurrentFrame"></a> |
399 <h4>DebugBase.getCurrentFrame</h4> |
419 <h4>DebugBase.getCurrentFrame</h4> |
400 <b>getCurrentFrame</b>(<i></i>) |
420 <b>getCurrentFrame</b>(<i></i>) |
401 <p> |
421 <p> |
402 Public method to return the current frame. |
422 Public method to return the current frame. |
445 Because eric5 supports only one breakpoint per line, this overwritten |
465 Because eric5 supports only one breakpoint per line, this overwritten |
446 method will return this one and only breakpoint. |
466 method will return this one and only breakpoint. |
447 </p><dl> |
467 </p><dl> |
448 <dt><i>filename</i></dt> |
468 <dt><i>filename</i></dt> |
449 <dd> |
469 <dd> |
450 the filename of the bp to retrieve (string) |
470 filename of the bp to retrieve (string) |
451 </dd><dt><i>ineno</i></dt> |
471 </dd><dt><i>lineno</i></dt> |
452 <dd> |
472 <dd> |
453 the linenumber of the bp to retrieve (integer) |
473 linenumber of the bp to retrieve (integer) |
454 </dd> |
474 </dd> |
455 </dl><dl> |
475 </dl><dl> |
456 <dt>Returns:</dt> |
476 <dt>Returns:</dt> |
457 <dd> |
477 <dd> |
458 breakpoint or None, if there is no bp |
478 breakpoint or None, if there is no bp |
465 </p><dl> |
485 </p><dl> |
466 <dt><i>cond</i></dt> |
486 <dt><i>cond</i></dt> |
467 <dd> |
487 <dd> |
468 expression of the watch expression to be cleared (string) |
488 expression of the watch expression to be cleared (string) |
469 </dd> |
489 </dd> |
|
490 </dl><dl> |
|
491 <dt>Returns:</dt> |
|
492 <dd> |
|
493 reference to the watch point |
|
494 </dd> |
470 </dl><a NAME="DebugBase.go" ID="DebugBase.go"></a> |
495 </dl><a NAME="DebugBase.go" ID="DebugBase.go"></a> |
471 <h4>DebugBase.go</h4> |
496 <h4>DebugBase.go</h4> |
472 <b>go</b>(<i>special</i>) |
497 <b>go</b>(<i>special</i>) |
473 <p> |
498 <p> |
474 Public method to resume the thread. |
499 Public method to resume the thread. |
496 Public method used to trace some stuff independent of the debugger |
521 Public method used to trace some stuff independent of the debugger |
497 trace function. |
522 trace function. |
498 </p><dl> |
523 </p><dl> |
499 <dt><i>frame</i></dt> |
524 <dt><i>frame</i></dt> |
500 <dd> |
525 <dd> |
501 The current stack frame. |
526 current stack frame. |
502 </dd><dt><i>event</i></dt> |
527 </dd><dt><i>event</i></dt> |
503 <dd> |
528 <dd> |
504 The trace event (string) |
529 trace event (string) |
505 </dd><dt><i>arg</i></dt> |
530 </dd><dt><i>arg</i></dt> |
506 <dd> |
531 <dd> |
507 The arguments |
532 arguments |
|
533 </dd> |
|
534 </dl><dl> |
|
535 <dt>Raises <b>RuntimeError</b>:</dt> |
|
536 <dd> |
|
537 raised to indicate too many recursions |
508 </dd> |
538 </dd> |
509 </dl><a NAME="DebugBase.setRecursionDepth" ID="DebugBase.setRecursionDepth"></a> |
539 </dl><a NAME="DebugBase.setRecursionDepth" ID="DebugBase.setRecursionDepth"></a> |
510 <h4>DebugBase.setRecursionDepth</h4> |
540 <h4>DebugBase.setRecursionDepth</h4> |
511 <b>setRecursionDepth</b>(<i>frame</i>) |
541 <b>setRecursionDepth</b>(<i>frame</i>) |
512 <p> |
542 <p> |