403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/idlelib/__pycache__/debugger_r.cpython-315.pyc
R
>lqj�0c�.�Qs]PHs]PHs]QHGs]sQrQs-s-s	-s
-sQsQs
QQ2sQQ	2sQ
sQQ2sQ
Q2sQQ2sQQ2sQQ2sQsQsQsQs\Q6Xc]QHlGs\Q]P
Q5P!P!)a�Support for remote Python debugging.

Some ASCII art to describe the structure:

       IN PYTHON SUBPROCESS          #             IN IDLE PROCESS
                                     #
                                     #        oid='gui_adapter'
                 +----------+        #       +------------+          +-----+
                 | GUIProxy |--remote#call-->| GUIAdapter |--calls-->| GUI |
+-----+--calls-->+----------+        #       +------------+          +-----+
| Idb |                               #                             /
+-----+<-calls--+------------+         #      +----------+<--calls-/
                | IdbAdapter |<--remote#call--| IdbProxy |
                +------------+         #      +----------+
                oid='idb_adapter'      #

The purpose of the Proxy and Adapter classes is to translate certain
arguments and return values that cannot be transported through the RPC
barrier, in particular frame and traceback objects.

)�debugger�idb_adapter�gui_adapterc�0�[U2oU[U$U!�N)�id�
frametable)�frame�fids& �'C:\Python315\\Lib\idlelib\debugger_r.py�
wrap_framer(s��
�U�)�C��J�s�O��J�c��UeP!U]*o[U[O2%fPg[U2oU[U$U]*U]*U1oU!)z0replace info[2], a traceback instance, by its ID)�
isinstance�types�
TracebackTyper�tracebacktable)�info�	traceback�traceback_id�
modified_infos&   r
�	wrap_infor-sY���|����G�	��)�U�%8�%8�9�9�9�9��)�}��'0��|�$��a��$�q�'�<�8�
��rc�2`�\sQs]9snQsQQksQsUsP!)�GUIProxyc� �VmV mP!r��conn�oid)�selfr�gui_adap_oids&&&r
�__init__�GUIProxy.__init__;s���	��rc	��UOOUOQU[U2[	U21-2P!)�interaction)r�
remotecallrrr)r�messagerrs&&&&r
r"�GUIProxy.interaction?s4��	
�	�	���T�X�X�}�%�z�%�'8�)�D�/�J��	!rrr��__name__�
__module__�__qualname__�__firstlineno__rr"�__static_attributes__�__classdictcell__��
__classdict__s@r
rr9s���� �!�!rrc�`�\sQs]FsnQsQsQsQsQsQs	Qs
QsQ	sQ
s
QsQsQ
sQsQsQsQsQsQsQsQsUsP!)�
IdbAdapterc��VmP!r��idb)rr3s&&r
r�IdbAdapter.__init__Hs���rc�<�UOO2P!r)r3�set_step�rs&r
r6�IdbAdapter.set_stepM��������rc�<�UOO2P!r)r3�set_quitr7s&r
r;�IdbAdapter.set_quitPr9rc�<�UOO2P!r)r3�set_continuer7s&r
r>�IdbAdapter.set_continueSs�������rc�X�[U*oUOOU2P!r)rr3�set_next�rr	rs&& r
rA�IdbAdapter.set_nextVs���3��������%� rc�X�[U*oUOOU2P!r)rr3�
set_returnrBs&& r
rE�IdbAdapter.set_returnZs���3��������E�"rc���[U*oUePoL
[U*oUOOV42vqVSTTt,tFDvqx[	U2U1MJ	oooVV1!ttoohr)rrr3�	get_stackr)	rr	�tbidr�tb�stack�i�frame2�ks	&&&      r
rH�IdbAdapter.get_stack^sb���3����<��B���%�B��8�8�%�%�e�0���:?�@�%�Y�V�*�V�$�a�(�%��@��x���As�A$c�Z�]PHoUOOVO2P!)�)�__main__r3�run�__dict__)r�cmdrRs&& r
rS�IdbAdapter.runhs��������S�+�+�,rc�>�UOOV2oU!r)r3�	set_break�r�filename�lineno�msgs&&& r
rX�IdbAdapter.set_breakls���h�h� � ��2���
rc�>�UOOV2oU!r)r3�clear_breakrYs&&& r
r_�IdbAdapter.clear_breakps���h�h�"�"�8�4���
rc�>�UOOU2oU!r)r3�clear_all_file_breaks�rrZr\s&& r
rb� IdbAdapter.clear_all_file_breaksts���h�h�,�,�X�6���
rc�4�[U*o[V22!r)r�getattr)rr	�namers&&& r
�
frame_attr�IdbAdapter.frame_attrzs���3����u�#�#rc�b�[U*oUOo[U2oU[U$U!r)r�	f_globalsr�	dicttable)rr	r�gdict�dids&&   r
�
frame_globals�IdbAdapter.frame_globals~s+���3���������i���	�#���
rc�b�[U*oUOo[U2oU[U$U!r)r�f_localsrrl)rr	r�ldictrns&&   r
�frame_locals�IdbAdapter.frame_locals�s+���3���������i���	�#���
rc�b�[U*oUOo[U2oU[U$U!r)r�f_coder�	codetable)rr	r�code�cids&&   r
�
frame_code�IdbAdapter.frame_code�s+���3����|�|����h���	�#���
rc�6�[U*oUO!r)rx�co_name�rrzrys&& r
�	code_name�IdbAdapter.code_name�s����~���|�|�rc�6�[U*oUO!r)rx�co_filenamers&& r
�
code_filename�IdbAdapter.code_filename�s����~�����rc��[Q2g)z"dict_keys not public or pickleable)�NotImplementedError�rrns&&r
�	dict_keys�IdbAdapter.dict_keys�s��!�"F�G�Grc�L�[[U*O22!r)�listrl�keysr�s&&r
�dict_keys_list�IdbAdapter.dict_keys_list�s���I�c�N�'�'�)�*�*rc�X�[U*U*o[OU2!r)rl�reprlib�repr)rrn�key�values&&& r
�	dict_item�IdbAdapter.dict_item�s���#��s�#���|�|�E�"�"rr2)r'r(r)r*rr6r;r>rArErHrSrXr_rbrhrortr{r�r�r�r�r�r+r,r-s@r
r0r0Fso�����
�� �!�#��-����$����� �H�+�#�#rr0c��[V2o[OU2o[U2oUO	[
U2[
!)adStart the debugger and its RPC link in the Python subprocess

Start the subprocess side of the split debugger and set up that side of the
RPC link by instantiating the GUIProxy, Idb debugger, and IdbAdapter
objects and linking them together.  Register the IdbAdapter with the
RPCServer to handle RPC requests from the split debugger GUI via the
IdbProxy.

)rr�Idbr0�register�idb_adap_oid)�
rpchandlerr�	gui_proxyr3�idb_adaps&&   r
�start_debuggerr��s;����2�I�
�,�,�y�
!�C��#��H�����h�/��rc�F`�\sQs]�snQsQsQsQsQsQs	Qs
UsP!)�
FrameProxyc�<�VmV mQUm-UmP!)r)�_conn�_fid�_oid�
_dictcache)rrr	s&&&r
r�FrameProxy.__init__�s���
��	�!��	���rc�(�UQ*Q6Xc[U2gUQ6XcUO2!UQ6XcUO2!UQ6XcUO2!UOOUOQUOU1-2!):N�N�_rwrkrrrh)�AttributeError�_get_f_code�_get_f_globals�
_get_f_localsr�r#r�r��rrgs&&r
�__getattr__�FrameProxy.__getattr__�s�����8�s�?� ��&�&��8���#�#�%�%��;���&�&�(�(��:���%�%�'�'��z�z�$�$�T�Y�Y��&*�i�i��%6��<�	<rc��UOOUOQUO1-2o[	UOUOU2!)r{)r�r#r�r��	CodeProxy)rrzs& r
r��FrameProxy._get_f_code�s=���j�j�#�#�D�I�I�|�d�i�i�\�2�N������T�Y�Y��4�4rc��UOOUOQUO1-2oUO	U2!)ro�r�r#r�r��_get_dict_proxyr�s& r
r��FrameProxy._get_f_globals�s:���j�j�#�#�D�I�I��%)�Y�Y�L�"�6���#�#�C�(�(rc��UOOUOQUO1-2oUO	U2!)rtr�r�s& r
r��FrameProxy._get_f_locals�s:���j�j�#�#�D�I�I�~�%)�Y�Y�L�"�6���#�#�C�(�(rc��VO7cUOU*![UOUOU2oV OU$U!r)r��	DictProxyr�r�)rrn�dps&& r
r��FrameProxy._get_dict_proxy�sB���/�/�!��?�?�3�'�'�
�t�z�z�4�9�9�c�
2��!������	r)r�r�r�r�)r'r(r)r*rr�r�r�r�r�r+r,r-s@r
r�r��s(�����
<�5�)�
)�
�rr�c�.`�\sQs]�snQsQsQsUsP!)r�c�,�VmV mV0mP!r)r�r��_cid)rrrrzs&&&&r
r�CodeProxy.__init__�����
��	��	rc���UQ6Xc4UOOUOQUO1-2!UQ6Xc4UOOUOQUO1-2!P!)r~r�r�r�)r�r#r�r�r�s&&r
r��CodeProxy.__getattr__�sk���9���:�:�(�(����K�*.�)�)��r�;�
;��=� ��:�:�(�(����O�*.�)�)��r�;�
;�!r)r�r�r�)r'r(r)r*rr�r+r,r-s@r
r�r��s�����
;�;rr�c�:`�\sQsQsnQsQsQsQsQsUs	P!)r��c�,�VmV mV0mP!r)r�r��_did)rrrrns&&&&r
r�DictProxy.__init__r�rc�j�UOOUOQUO1-2!)r��r�r#r�r�r7s&r
r��DictProxy.keyss.���z�z�$�$�T�Y�Y�%5��	�	�|�R�I�	Irc�l�UOOUOQUOU1-2!)r�r�)rr�s&&r
�__getitem__�DictProxy.__getitem__s/���z�z�$�$�T�Y�Y��&*�i�i��%5�r�;�	;rc��[U2gr)r�r�s&&r
r��DictProxy.__getattr__s
���T�"�"r)r�r�r�)
r'r(r)r*rr�r�r�r+r,r-s@r
r�r�s�����I�;�#�#rr�c�.`�\sQsQsnQsQsQsUsP!)�
GUIAdapter�c� �VmV mP!r�r�gui)rrr�s&&&r
r�GUIAdapter.__init__s���	��rc�l�[UOU2oUOOVU2P!r)r�rr�r")rr$r	rrs&&&& r
r"�GUIAdapter.interactions&���4�9�9�c�*�������W�]�;rr�r&r-s@r
r�r�s�����<�<rr�c�j`�\sQsQsnQsQsQsQsQsQs	Qs
Q	sQ
sQs
QsQ
sQsUsP!)�IdbProxy�$c�,�V0mVmV mP!r)rr�shell)rrr�rs&&&&r
r�IdbProxy.__init__&s�����	��
rc�V�UOOUOVU2oU!r)rr#r)r�
methodname�args�kwargsr�s""*, r
�call�
IdbProxy.call+s#���	�	�$�$�T�X�X�z��H���rc��UOOUOQU1-2oV0OOmP!)rS)r�
asyncqueuerr��interp�
active_seq)rrU�locals�seqs&&& r
rS�IdbProxy.run1s2���i�i�"�"�4�8�8�U�S�F�B�?��'*�
�
���$rc	��UOQUOU2vq4STTt,tFDvqV[UOU2U1MJ	oooV41!ttooh)rH)r�r�r�r)rrrIrKrLr	rNs&&&    r
rH�IdbProxy.get_stack6sM���9�9�[�%�*�*�d�;���?D�E�u�V�S�*�T�Y�Y��,�a�0�u��E��x���Fs�%Ac�*�UOQ2P!)r>�r�r7s&r
r>�IdbProxy.set_continue<s���	�	�.�!rc�*�UOQ2P!)r6r�r7s&r
r6�IdbProxy.set_step?����	�	�*�rc�@�UOQUO2P!)rA�r�r��rrs&&r
rA�IdbProxy.set_nextBs���	�	�*�e�j�j�)rc�@�UOQUO2P!)rEr�r�s&&r
rE�IdbProxy.set_returnEs���	�	�,��
�
�+rc�*�UOQ2P!)r;r�r7s&r
r;�IdbProxy.set_quitHr�rc�,�UOQV2oU!)rXr�rYs&&& r
rX�IdbProxy.set_breakKs���i�i��X�6���
rc�,�UOQV2oU!)r_r�rYs&&& r
r_�IdbProxy.clear_breakOs���i�i�
�x�8���
rc�,�UOQU2oU!)rbr�rcs&& r
rb�IdbProxy.clear_all_file_breaksSs���i�i�/��:���
r)rrr�)r'r(r)r*rr�rSrHr>r6rArEr;rXr_rbr+r,r-s@r
r�r�$sF�����
�+�
�"��*�,�����rr�c���UOQQ[1-2r[V[2o[O
V2o[
V2oUO[U2U!)a=Start the subprocess debugger, initialize the debugger GUI and RPC link

Request the RPCServer start the Python subprocess debugger and link.  Set
up the Idle side of the split debugger by instantiating the IdbProxy,
debugger GUI, and debugger GUIAdapter objects and linking them together.

Register the GUIAdapter with the RPCClient to handle debugger GUI
interaction requests coming from the subprocess debugger via the GUIProxy.

The IdbAdapter will pass execution and environment requests coming from the
Idle debugger GUI to the subprocess debugger via the IdbProxy.

�exec�start_the_debugger)r#rr�r�r�Debuggerr�r�)�rpcclt�pyshell�	idb_proxyr��gui_adaps&&   r
�start_remote_debuggerrWsY�� �$�$�V�-A�$0�?�B�8�L���,�7�I�
�
�
�G�
/�C��&�&�H�
�O�O�L�(�+��Jrc�H�[U2UO[2P!)aIShut down subprocess debugger and Idle side of debugger RPC link

Request that the RPCServer shut down the subprocess debugger and link.
Unregister the GUIAdapter, which will cause a GC on the Idle process
debugger and RPC link objects.  (The second reference to the debugger GUI
is deleted in pyshell.close_remote_debugger().)

)�close_subprocess_debugger�
unregisterr�rs&r
�close_remote_debuggerros���f�%�
���l�#rc�:�UOQQ[1-2P!)r�stop_the_debugger)r#r�rs&r
rr{s��
���f�1�L�?�B�Grc�^�UOQQ[1-2oU[6XfPQ2gP!)rrz Idb restarted with different oid)r#rr�)r�idb_adap_oid_rets& r
�restart_subprocess_debuggerr~s3���(�(��1E�*6��"�>���|�+�O�-O�O�+rrR)�mainz!idlelib.idle_test.test_debugger_r)�	verbosity�exit)�__doc__r�r�idlelibr�	debuggingr�rrrlrxrrrrr0r�r�r�r�r�r�rrrrr'�unittestr�rr
�<module>rs����*���
�	������
��	��	����

�!�!�e#�e#�T�,'�'�T
;�
;� #�#�0	<�	<�1�1�f�0
$�H�P��z����	,���F�r

Youez - 2016 - github.com/yon3zu
LinuXploit