| Server IP : 121.121.20.254 / Your IP : 216.73.216.70 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python315/Lib/idlelib/__pycache__/ |
Upload File : |
R
>lqj_T c � � Q s ] PHs] PHs] QH3 ] QHGsGs ] QHGs ] QH$G
s
] QH,Gs Q Q\O 2 sQ sQ s Q
Q2 s Q Q
\
2 s Q Q2 s\Q6X c ] QHTGs \ Q]P
Q5 P! P! )a� Debug user code with a GUI interface to a subclass of bdb.Bdb.
The Idb instance 'idb' and Debugger instance 'gui' need references to each
other or to an rpc proxy for each other.
If IDLE is started with '-n', so that user code and idb both run in the
IDLE process, Debugger is called without an idb. Debugger.__init__
calls Idb with its incomplete self. Idb.__init__ stores gui and gui
then stores idb.
If IDLE is started normally, so that user code executes in a separate
process, debugger_r.start_remote_debugger is called, executing in the
IDLE process. It calls 'start the debugger' in the remote process,
which calls Idb with a gui proxy. Then Debugger is called in the IDLE
for more.
)�*)�Frame� Scrollbar)�macosx)�ScrolledList)�ListedToplevelc �D ` `� \ sQ s]s nQsU 1Q ksQ sQ sQsUs U 9s
! )�Idbz6Supply user_line and user_exception functions for Bdb.c �2 :� Vm [ RU _ 2 P! �N)�gui�super�__init__)�selfr � __class__s &&��%C:\Python315\\Lib\idlelib\debugger.pyr
�Idb.__init__ s �� ���
���� c � � [ U2 % c U O 2 P! [ U2 o U O O V!2 P! [
c P! h 9 h)z]Handle a user stopping or breaking at a line.
Convert frame to a string and send it to gui.
)�_in_rpc_code�set_step�_frame2messager �interaction�TclError)r �frame�messages && r � user_line�
Idb.user_line$ sN � �
�����M�M�O�� ��'�� ��H�H� � ��0��� �� �s �A � A�A�Ac � � [ U2 % c U O 2 P! [ U2 oU O O V1U2 P! )z)Handle an the occurrence of an exception.)r r r r r )r r �exc_infor s &&& r �user_exception�Idb.user_exception2 s7 � ������M�M�O�� ��'�������W�X�6r )r )�__name__�
__module__�__qualname__�__firstlineno__�__doc__r
r r �__static_attributes__�__classdictcell__�
__classcell__)r �
__classdict__s @@r r r s �� � �<���7� 7r r c �� � U O O O Q2 % c P ! U O oUe P
! UO O oQU7 c
QU7 c P
! [ U2 ! )z)Determine if debugger is within RPC code.zrpc.py�idlelib�debugger)�f_code�co_filename�count�f_backr )r �
prev_frame� prev_names & r r r : sb � ��|�|���%�%�h�/�/���\�\�
�����%�%�1�1� �� �!�j�I�&=� ��J�'�'r c �� � U O oUO oU O o[ O O U2 oU QU 0oUO Q6w c U QUO Q0oU! )z"Return a message string for frame.�:�?�: z())r- r. �f_lineno�os�path�basename�co_name)r �code�filename�linenor: r s & r r r I sj � ��<�<�D����H�
�^�^�F��w�w����)�H��
�!�F�8�$�G��|�|�s���I�R����~�R�0���Nr c �� ` � \ sQ s]Us n QsPsPsPsPsPs Ps
PsQQ ksQ s
QQ ksQ sQQ ksQ sQ sQ sQ
sQ sQ sQ
sQ sQ sQ sQ sQ sQ sQQ ksQ sQ s Q s!Q s"Qs#U s$P! )�Debuggerz�The debugger interface.
This class handles the drawing of the debugger window and
the interactions with the underlying debugger session.
c � � Ue [ U 2 oVm V m PU m U O 2 P
U m ] U m P! )z�Instantiate and draw a debugger window.
:param pyshell: An instance of the PyShell Window
:type pyshell: :class:`idlelib.pyshell.PyShell`
:param idb: An instance of the IDLE debugger (optional)
:type idb: :class:`idlelib.debugger.Idb`
)r �pyshell�idbr �make_gui�interacting�
nesting_level)r rB rC s &&&r r
�Debugger.__init__c s<