342 Private method to extract the exception name given the exception |
342 Private method to extract the exception name given the exception |
343 type object. |
343 type object. |
344 </p> |
344 </p> |
345 <dl> |
345 <dl> |
346 |
346 |
347 <dt><i>exctype</i></dt> |
347 <dt><i>exctype</i> (type)</dt> |
348 <dd> |
348 <dd> |
349 type of the exception |
349 type of the exception |
350 </dd> |
350 </dd> |
351 </dl> |
351 </dl> |
352 <dl> |
352 <dl> |
353 <dt>Return:</dt> |
353 <dt>Return:</dt> |
354 <dd> |
354 <dd> |
355 exception name (string) |
355 exception name |
|
356 </dd> |
|
357 </dl> |
|
358 <dl> |
|
359 <dt>Return Type:</dt> |
|
360 <dd> |
|
361 str |
356 </dd> |
362 </dd> |
357 </dl> |
363 </dl> |
358 <a NAME="DebugBase.__extractSystemExitMessage" ID="DebugBase.__extractSystemExitMessage"></a> |
364 <a NAME="DebugBase.__extractSystemExitMessage" ID="DebugBase.__extractSystemExitMessage"></a> |
359 <h4>DebugBase.__extractSystemExitMessage</h4> |
365 <h4>DebugBase.__extractSystemExitMessage</h4> |
360 <b>__extractSystemExitMessage</b>(<i>excinfo</i>) |
366 <b>__extractSystemExitMessage</b>(<i>excinfo</i>) |
388 <p> |
394 <p> |
389 Private member to return a list of stack frames. |
395 Private member to return a list of stack frames. |
390 </p> |
396 </p> |
391 <dl> |
397 <dl> |
392 |
398 |
393 <dt><i>exctb</i></dt> |
399 <dt><i>exctb</i> (traceback)</dt> |
394 <dd> |
400 <dd> |
395 exception traceback |
401 exception traceback |
396 </dd> |
402 </dd> |
397 </dl> |
403 </dl> |
398 <dl> |
404 <dl> |
399 <dt>Return:</dt> |
405 <dt>Return:</dt> |
400 <dd> |
406 <dd> |
401 list of stack frames |
407 list of stack frames |
|
408 </dd> |
|
409 </dl> |
|
410 <dl> |
|
411 <dt>Return Type:</dt> |
|
412 <dd> |
|
413 list of frame |
402 </dd> |
414 </dd> |
403 </dl> |
415 </dl> |
404 <a NAME="DebugBase.__sendCallTrace" ID="DebugBase.__sendCallTrace"></a> |
416 <a NAME="DebugBase.__sendCallTrace" ID="DebugBase.__sendCallTrace"></a> |
405 <h4>DebugBase.__sendCallTrace</h4> |
417 <h4>DebugBase.__sendCallTrace</h4> |
406 <b>__sendCallTrace</b>(<i>event, fromFrame, toFrame</i>) |
418 <b>__sendCallTrace</b>(<i>event, fromFrame, toFrame</i>) |
606 Public method to return the locals dictionary of the current frame |
618 Public method to return the locals dictionary of the current frame |
607 or a frame below. |
619 or a frame below. |
608 </p> |
620 </p> |
609 <dl> |
621 <dl> |
610 |
622 |
611 <dt><i>frmnr</i></dt> |
623 <dt><i>frmnr</i> (int)</dt> |
612 <dd> |
624 <dd> |
613 distance of frame to get locals dictionary of. 0 is |
625 distance of frame to get locals dictionary of. 0 is |
614 the current frame (int) |
626 the current frame |
615 </dd> |
627 </dd> |
616 </dl> |
628 </dl> |
617 <dl> |
629 <dl> |
618 <dt>Return:</dt> |
630 <dt>Return:</dt> |
619 <dd> |
631 <dd> |
620 locals dictionary of the frame |
632 locals dictionary of the frame |
|
633 </dd> |
|
634 </dl> |
|
635 <dl> |
|
636 <dt>Return Type:</dt> |
|
637 <dd> |
|
638 dict |
621 </dd> |
639 </dd> |
622 </dl> |
640 </dl> |
623 <a NAME="DebugBase.getStack" ID="DebugBase.getStack"></a> |
641 <a NAME="DebugBase.getStack" ID="DebugBase.getStack"></a> |
624 <h4>DebugBase.getStack</h4> |
642 <h4>DebugBase.getStack</h4> |
625 <b>getStack</b>(<i>frame=None, applyTrace=False</i>) |
643 <b>getStack</b>(<i>frame=None, applyTrace=False</i>) |
890 <p> |
908 <p> |
891 Public method to perform a step operation in this thread. |
909 Public method to perform a step operation in this thread. |
892 </p> |
910 </p> |
893 <dl> |
911 <dl> |
894 |
912 |
895 <dt><i>traceMode</i></dt> |
913 <dt><i>traceMode</i> (bool)</dt> |
896 <dd> |
914 <dd> |
897 If it is True, then the step is a step into, |
915 If it is True, then the step is a step into, |
898 otherwise it is a step over. |
916 otherwise it is a step over. |
899 </dd> |
917 </dd> |
900 </dl> |
918 </dl> |
943 Public method to store the locals into the frame, so an access to |
961 Public method to store the locals into the frame, so an access to |
944 frame.f_locals returns the last data. |
962 frame.f_locals returns the last data. |
945 </p> |
963 </p> |
946 <dl> |
964 <dl> |
947 |
965 |
948 <dt><i>frmnr</i></dt> |
966 <dt><i>frmnr</i> (int)</dt> |
949 <dd> |
967 <dd> |
950 distance of frame to store locals dictionary to. 0 is |
968 distance of frame to store locals dictionary to. 0 is |
951 the current frame (int) |
969 the current frame |
952 </dd> |
970 </dd> |
953 </dl> |
971 </dl> |
954 <a NAME="DebugBase.tracePythonLibs" ID="DebugBase.tracePythonLibs"></a> |
972 <a NAME="DebugBase.tracePythonLibs" ID="DebugBase.tracePythonLibs"></a> |
955 <h4>DebugBase.tracePythonLibs</h4> |
973 <h4>DebugBase.tracePythonLibs</h4> |
956 <b>tracePythonLibs</b>(<i>enable</i>) |
974 <b>tracePythonLibs</b>(<i>enable</i>) |