src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugBase.html

branch
eric7
changeset 10417
c6011e501282
parent 10259
b51dfacef37f
child 10423
299802979277
equal deleted inserted replaced
10416:5d807e997391 10417:c6011e501282
235 <p> 235 <p>
236 Constructor 236 Constructor
237 </p> 237 </p>
238 <dl> 238 <dl>
239 239
240 <dt><i>dbgClient</i></dt> 240 <dt><i>dbgClient</i> (DebugClient)</dt>
241 <dd> 241 <dd>
242 the owning client 242 the owning client
243 </dd> 243 </dd>
244 </dl> 244 </dl>
245 <a NAME="DebugBase.__checkBreakInFrame" ID="DebugBase.__checkBreakInFrame"></a> 245 <a NAME="DebugBase.__checkBreakInFrame" ID="DebugBase.__checkBreakInFrame"></a>
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>)
655 <p> 673 <p>
656 It resumes the thread stopping only at breakpoints or exceptions. 674 It resumes the thread stopping only at breakpoints or exceptions.
657 </p> 675 </p>
658 <dl> 676 <dl>
659 677
660 <dt><i>special</i></dt> 678 <dt><i>special</i> (bool)</dt>
661 <dd> 679 <dd>
662 flag indicating a special continue operation 680 flag indicating a special continue operation
663 </dd> 681 </dd>
664 </dl> 682 </dl>
665 <a NAME="DebugBase.move_instruction_pointer" ID="DebugBase.move_instruction_pointer"></a> 683 <a NAME="DebugBase.move_instruction_pointer" ID="DebugBase.move_instruction_pointer"></a>
779 <p> 797 <p>
780 Public method to determine the current recursion depth. 798 Public method to determine the current recursion depth.
781 </p> 799 </p>
782 <dl> 800 <dl>
783 801
784 <dt><i>frame</i></dt> 802 <dt><i>frame</i> (frame object)</dt>
785 <dd> 803 <dd>
786 The current stack frame. 804 The current stack frame.
787 </dd> 805 </dd>
788 </dl> 806 </dl>
789 <a NAME="DebugBase.set_continue" ID="DebugBase.set_continue"></a> 807 <a NAME="DebugBase.set_continue" ID="DebugBase.set_continue"></a>
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>)
1037 Public method reimplemented to handle the program about to execute a 1055 Public method reimplemented to handle the program about to execute a
1038 particular line. 1056 particular line.
1039 </p> 1057 </p>
1040 <dl> 1058 <dl>
1041 1059
1042 <dt><i>frame</i></dt> 1060 <dt><i>frame</i> (frame object)</dt>
1043 <dd> 1061 <dd>
1044 the frame object 1062 reference to the frame object
1045 </dd> 1063 </dd>
1046 </dl> 1064 </dl>
1047 <div align="right"><a href="#top">Up</a></div> 1065 <div align="right"><a href="#top">Up</a></div>
1048 <hr /> 1066 <hr />
1049 <hr /> 1067 <hr />
1054 <p> 1072 <p>
1055 Module function used for debugging the debug client. 1073 Module function used for debugging the debug client.
1056 </p> 1074 </p>
1057 <dl> 1075 <dl>
1058 1076
1059 <dt><i>s</i></dt> 1077 <dt><i>s</i> (str)</dt>
1060 <dd> 1078 <dd>
1061 data to be printed 1079 data to be printed
1062 </dd> 1080 </dd>
1063 </dl> 1081 </dl>
1064 <div align="right"><a href="#top">Up</a></div> 1082 <div align="right"><a href="#top">Up</a></div>
1071 <p> 1089 <p>
1072 Module function to set the recursion limit. 1090 Module function to set the recursion limit.
1073 </p> 1091 </p>
1074 <dl> 1092 <dl>
1075 1093
1076 <dt><i>limit</i></dt> 1094 <dt><i>limit</i> (int)</dt>
1077 <dd> 1095 <dd>
1078 recursion limit (integer) 1096 recursion limit
1079 </dd> 1097 </dd>
1080 </dl> 1098 </dl>
1081 <div align="right"><a href="#top">Up</a></div> 1099 <div align="right"><a href="#top">Up</a></div>
1082 <hr /> 1100 <hr />
1083 </body></html> 1101 </body></html>

eric ide

mercurial