Documentation/Source/eric5.DebugClients.Python3.DebugBase.html

changeset 2966
f85f686981ad
parent 2387
2d119e79ab54
child 3018
70924c0bdaf1
equal deleted inserted replaced
2965:d133c7edd88a 2966:f85f686981ad
237 </p><dl> 237 </p><dl>
238 <dt><i>exctype</i></dt> 238 <dt><i>exctype</i></dt>
239 <dd> 239 <dd>
240 type of the exception 240 type of the exception
241 </dd> 241 </dd>
242 </dl><dl>
243 <dt>Returns:</dt>
244 <dd>
245 exception name (string)
246 </dd>
242 </dl><a NAME="DebugBase.__extract_stack" ID="DebugBase.__extract_stack"></a> 247 </dl><a NAME="DebugBase.__extract_stack" ID="DebugBase.__extract_stack"></a>
243 <h4>DebugBase.__extract_stack</h4> 248 <h4>DebugBase.__extract_stack</h4>
244 <b>__extract_stack</b>(<i>exctb</i>) 249 <b>__extract_stack</b>(<i>exctb</i>)
245 <p> 250 <p>
246 Private member to return a list of stack frames. 251 Private member to return a list of stack frames.
349 </dl><dl> 354 </dl><dl>
350 <dt>Returns:</dt> 355 <dt>Returns:</dt>
351 <dd> 356 <dd>
352 local trace function 357 local trace function
353 </dd> 358 </dd>
359 </dl><dl>
360 <dt>Raises <b>bdb.BdbQuit</b>:</dt>
361 <dd>
362 raised to indicate the end of the debug session
363 </dd>
354 </dl><a NAME="DebugBase.dispatch_line" ID="DebugBase.dispatch_line"></a> 364 </dl><a NAME="DebugBase.dispatch_line" ID="DebugBase.dispatch_line"></a>
355 <h4>DebugBase.dispatch_line</h4> 365 <h4>DebugBase.dispatch_line</h4>
356 <b>dispatch_line</b>(<i>frame</i>) 366 <b>dispatch_line</b>(<i>frame</i>)
357 <p> 367 <p>
358 Reimplemented from bdb.py to do some special things. 368 Reimplemented from bdb.py to do some special things.
368 </dl><dl> 378 </dl><dl>
369 <dt>Returns:</dt> 379 <dt>Returns:</dt>
370 <dd> 380 <dd>
371 local trace function 381 local trace function
372 </dd> 382 </dd>
383 </dl><dl>
384 <dt>Raises <b>bdb.BdbQuit</b>:</dt>
385 <dd>
386 raised to indicate the end of the debug session
387 </dd>
373 </dl><a NAME="DebugBase.dispatch_return" ID="DebugBase.dispatch_return"></a> 388 </dl><a NAME="DebugBase.dispatch_return" ID="DebugBase.dispatch_return"></a>
374 <h4>DebugBase.dispatch_return</h4> 389 <h4>DebugBase.dispatch_return</h4>
375 <b>dispatch_return</b>(<i>frame, arg</i>) 390 <b>dispatch_return</b>(<i>frame, arg</i>)
376 <p> 391 <p>
377 Reimplemented from bdb.py to handle passive mode cleanly. 392 Reimplemented from bdb.py to handle passive mode cleanly.
385 </dd> 400 </dd>
386 </dl><dl> 401 </dl><dl>
387 <dt>Returns:</dt> 402 <dt>Returns:</dt>
388 <dd> 403 <dd>
389 local trace function 404 local trace function
405 </dd>
406 </dl><dl>
407 <dt>Raises <b>bdb.BdbQuit</b>:</dt>
408 <dd>
409 raised to indicate the end of the debug session
390 </dd> 410 </dd>
391 </dl><a NAME="DebugBase.fix_frame_filename" ID="DebugBase.fix_frame_filename"></a> 411 </dl><a NAME="DebugBase.fix_frame_filename" ID="DebugBase.fix_frame_filename"></a>
392 <h4>DebugBase.fix_frame_filename</h4> 412 <h4>DebugBase.fix_frame_filename</h4>
393 <b>fix_frame_filename</b>(<i>frame</i>) 413 <b>fix_frame_filename</b>(<i>frame</i>)
394 <p> 414 <p>
407 </p><dl> 427 </p><dl>
408 <dt><i>frame</i></dt> 428 <dt><i>frame</i></dt>
409 <dd> 429 <dd>
410 the frame object 430 the frame object
411 </dd> 431 </dd>
432 </dl><dl>
433 <dt>Returns:</dt>
434 <dd>
435 fixed up file name (string)
436 </dd>
412 </dl><a NAME="DebugBase.getCurrentFrame" ID="DebugBase.getCurrentFrame"></a> 437 </dl><a NAME="DebugBase.getCurrentFrame" ID="DebugBase.getCurrentFrame"></a>
413 <h4>DebugBase.getCurrentFrame</h4> 438 <h4>DebugBase.getCurrentFrame</h4>
414 <b>getCurrentFrame</b>(<i></i>) 439 <b>getCurrentFrame</b>(<i></i>)
415 <p> 440 <p>
416 Public method to return the current frame. 441 Public method to return the current frame.
479 </p><dl> 504 </p><dl>
480 <dt><i>cond</i></dt> 505 <dt><i>cond</i></dt>
481 <dd> 506 <dd>
482 expression of the watch expression to be cleared (string) 507 expression of the watch expression to be cleared (string)
483 </dd> 508 </dd>
509 </dl><dl>
510 <dt>Returns:</dt>
511 <dd>
512 reference to the watch point
513 </dd>
484 </dl><a NAME="DebugBase.go" ID="DebugBase.go"></a> 514 </dl><a NAME="DebugBase.go" ID="DebugBase.go"></a>
485 <h4>DebugBase.go</h4> 515 <h4>DebugBase.go</h4>
486 <b>go</b>(<i>special</i>) 516 <b>go</b>(<i>special</i>)
487 <p> 517 <p>
488 Public method to resume the thread. 518 Public method to resume the thread.
510 Public method used to trace some stuff independent of the debugger 540 Public method used to trace some stuff independent of the debugger
511 trace function. 541 trace function.
512 </p><dl> 542 </p><dl>
513 <dt><i>frame</i></dt> 543 <dt><i>frame</i></dt>
514 <dd> 544 <dd>
515 The current stack frame. 545 current stack frame.
516 </dd><dt><i>event</i></dt> 546 </dd><dt><i>event</i></dt>
517 <dd> 547 <dd>
518 The trace event (string) 548 trace event (string)
519 </dd><dt><i>arg</i></dt> 549 </dd><dt><i>arg</i></dt>
520 <dd> 550 <dd>
521 The arguments 551 arguments
552 </dd>
553 </dl><dl>
554 <dt>Raises <b>RuntimeError</b>:</dt>
555 <dd>
556 raised to indicate too many recursions
522 </dd> 557 </dd>
523 </dl><a NAME="DebugBase.setRecursionDepth" ID="DebugBase.setRecursionDepth"></a> 558 </dl><a NAME="DebugBase.setRecursionDepth" ID="DebugBase.setRecursionDepth"></a>
524 <h4>DebugBase.setRecursionDepth</h4> 559 <h4>DebugBase.setRecursionDepth</h4>
525 <b>setRecursionDepth</b>(<i>frame</i>) 560 <b>setRecursionDepth</b>(<i>frame</i>)
526 <p> 561 <p>

eric ide

mercurial