a
    ø£Be¯j  ã                
   @   sª  d Z ddlZddlZddlZddlZddlZddlmZ ddl	m
Z
 ddlmZ ddlmZ ddlmZ zddlmZ W n ey–   dd	lmZ Y n0 d
dlmZmZmZ z0ddlmZ ddlmZ ddlmZmZ dZ W nR eyò   dZ Y n> e!�y. Z" z$e"j#j$dk�rdZ ne"‚W Y dZ"["n
dZ"["0 0 e%eddƒ�pBej&Z'G dd„ dƒZ(G dd„ dƒZ)G dd„ dƒZ*G dd„ dƒZ+G dd„ dƒZ,G dd„ dƒZ-G dd „ d ƒZ.dS )!z/Debugger implementation for the IPython kernel.é    N)Úget_ipython)Úleading_empty_lines)ÚEvent)ÚQueue)Újsonapi)Újson_default)Údate_defaulté   )Úget_file_nameÚget_tmp_directoryÚget_tmp_hash_seed)Úapi)Úpydevd_frame_utils)ÚSuspendedFramesManagerÚ_FramesTrackerTFZDebuggerInitializationErrorÚ
ROUTING_IDc                   @   s   e Zd ZdZdd„ ZdS )Ú	_FakeCodezFake code class.c                 C   s   || _ || _dS ©úInit.N)Úco_filenameÚco_name)Úselfr   r   © r   úU/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/ipykernel/debugger.pyÚ__init__2   s    z_FakeCode.__init__N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   /   s   r   c                   @   s   e Zd ZdZdd„ ZdS )Ú
_FakeFramezFake frame class.c                 C   s   || _ || _|| _d| _dS r   )Úf_codeÚ	f_globalsÚf_localsÚf_back)r   r!   r"   r#   r   r   r   r   ;   s    z_FakeFrame.__init__Nr   r   r   r   r   r    8   s   r    c                   @   s   e Zd ZdZdd„ ZdS )Ú
_DummyPyDBzFake PyDb class.c                 C   s   ddl m} | ¡ | _dS )r   r   )Ú	PyDevdAPIN)Z_pydevd_bundle.pydevd_apir&   ZVariablePresentationZvariable_presentation)r   r&   r   r   r   r   F   s    z_DummyPyDB.__init__Nr   r   r   r   r   r%   C   s   r%   c                   @   s2   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	d
„ZdS )ÚVariableExplorerzA variable explorer.c                 C   s*   t ƒ | _tƒ | _t| j| jƒ| _d| _dS )zInitialize the explorer.N)r   Úsuspended_frame_managerr%   Zpy_dbr   ÚtrackerÚframe©r   r   r   r   r   P   s    zVariableExplorer.__init__c                 C   s:   t ƒ j}ttdtdƒƒ||ƒ| _| j dt 	| j¡¡ dS )zStart tracking.ú<module>zsys._getframe()Zthread1N)
r   Zuser_nsr    r   r
   r*   r)   Útrackr   Zcreate_frames_list_from_frame)r   Úvarr   r   r   r-   W   s    zVariableExplorer.trackc                 C   s   | j  ¡  dS )zStop tracking.N)r)   Úuntrack_allr+   r   r   r   r/   ]   s    zVariableExplorer.untrack_allNc                 C   s0   |}|st | jƒ}| j |¡}dd„ | ¡ D ƒS )z1Get the child variables for a variable reference.c                 S   s   g | ]}|  ¡ ‘qS r   )Zget_var_data)Ú.0Úxr   r   r   Ú
<listcomp>g   ó    z;VariableExplorer.get_children_variables.<locals>.<listcomp>)Úidr*   r(   Zget_variableÚget_children_variables)r   Zvariable_refZvar_refÚ	variablesr   r   r   r5   a   s
    
z'VariableExplorer.get_children_variables)N)r   r   r   r   r   r-   r/   r5   r   r   r   r   r'   M   s
   r'   c                   @   sH   e Zd ZdZdZdZdZdZdd„ Zdd	„ Z	d
d„ Z
dd„ Zdd„ ZdS )ÚDebugpyMessageQueuezA debugpy message queue.zContent-Length: é   z

é   c                 C   s&   d| _ |  ¡  || _tƒ | _|| _dS )zInit the queue.Ú N)Ú
tcp_bufferÚ_reset_tcp_posÚevent_callbackr   Úmessage_queueÚlog)r   r=   r?   r   r   r   r   r   s
    zDebugpyMessageQueue.__init__c                 C   s   d| _ d| _d| _d| _d S )Néÿÿÿÿr   )Ú
header_posÚseparator_posÚmessage_sizeÚmessage_posr+   r   r   r   r<   z   s    z"DebugpyMessageQueue._reset_tcp_posc                 C   s‚   | j  d¡ t tjttjf t |¡¡}|d dkrZ| j  d¡ | j  |¡ |  	|¡ n$| j  d¡ | j  |¡ | j
 |¡ d S )NzQUEUE - _put_message:ÚtypeÚeventzQUEUE - received event:zQUEUE - put message:)r?   ÚdebugÚtÚcastÚDictÚstrÚAnyr   Úloadsr=   r>   Ú
put_nowait)r   Zraw_msgÚmsgr   r   r   Ú_put_message€   s    z DebugpyMessageQueue._put_messagec                 C   s˜  |  j |7  _ | j d¡ | jdkr4| j  tj¡| _| jdkrBdS | j d| j¡ | jdkrz| jtj }| j  tj	|¡| _| jdkrˆdS | j d| j¡ | j
dkrÒ| jtj }| jtj | _
t| j || j… ƒ| _| j d| j
¡ | j d| j¡ t| j ƒ| j
 | jk �rdS |  | j | j
| j
| j … ¡ t| j ƒ| j
 | jk�rb| j d¡ d	| _ |  ¡  dS | j | j
| j d… | _ | j d
| j ¡ |  ¡  qdS )zPut a tcp frame in the queue.zQUEUE - received framer@   NzQUEUE - found header at pos %iz!QUEUE - found separator at pos %izQUEUE - found message at pos %izQUEUE - message size is %izQUEUE - resetting tcp_bufferr:   zQUEUE - slicing tcp_buffer: %s)r;   r?   rG   rA   Úfindr7   ÚHEADERrB   ÚHEADER_LENGTHÚ	SEPARATORrD   ÚSEPARATOR_LENGTHÚintrC   ÚlenrP   r<   )r   r*   ÚhintZsize_posr   r   r   Úput_tcp_frameŒ   s@    




ÿz!DebugpyMessageQueue.put_tcp_framec                 Ã   s   | j  ¡ I dH S )zGet a message from the queue.N)r>   Úgetr+   r   r   r   Úget_message»   s    zDebugpyMessageQueue.get_messageN)r   r   r   r   rR   rS   rT   rU   r   r<   rP   rY   r[   r   r   r   r   r7   j   s   /r7   c                   @   sh   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ Zdd„ ZdS )ÚDebugpyClientzA client for debugpy.c                 C   sL   || _ || _|| _t| j| j ƒ| _d| _d| _d| _d| _	t
ƒ | _d| _dS )zInitialize the client.ú	127.0.0.1r@   NT)r?   Údebugpy_streamr=   r7   Ú_forward_eventr>   Údebugpy_hostÚdebugpy_portÚ
routing_idÚwait_for_attachr   Ú
init_eventÚinit_event_seq)r   r?   r^   r=   r   r   r   r   Ã   s    zDebugpyClient.__init__c                 C   s    |   ¡ \}}d| d t|ƒ S )Nútcp://ú:)Úget_host_portrK   )r   ÚhostÚportr   r   r   Ú_get_endpointÐ   s    zDebugpyClient._get_endpointc                 C   s.   |d dkr | j  ¡  |d | _|  |¡ d S )NrF   ZinitializedÚseq)rd   Úsetre   r=   ©r   rO   r   r   r   r_   Ô   s    

zDebugpyClient._forward_eventc                 C   s’   | j d u r| jj t¡| _ tj|tddd�}tt	|ƒƒ}t
j| t
j  d¡}||7 }| j d¡ | j | j ¡ | j |¡ | j | j |f¡ d S )NF)ÚdefaultÚensure_asciiÚ	allow_nanÚasciizDEBUGPYCLIENT:)rb   r^   ÚsocketÚ
getsockoptr   r   Údumpsr   rK   rW   r7   rR   rT   Úencoder?   rG   Zsend_multipart)r   rO   ÚcontentÚcontent_lengthÚbufr   r   r   Ú_send_requestÚ   s"    
üÿzDebugpyClient._send_requestc                 Ã   s   | j  ¡ I d H S ©N)r>   r[   r+   r   r   r   Ú_wait_for_responseí   s    z DebugpyClient._wait_for_responsec                 Ã   sP   | j  ¡ I d H  dt| jƒd ddœ}|  |¡ |  ¡ I d H  |  ¡ I d H }|S )NÚrequestr	   ÚconfigurationDone)rE   rl   Úcommand)rd   ÚwaitrV   re   rz   r|   )r   r~   Z
attach_repr   r   r   Ú_handle_init_sequenceó   s    ý
z#DebugpyClient._handle_init_sequencec                 C   sn   | j dkrb| jj}| d| j ¡ | tj¡ d¡| _	| 
| j	¡ | j	 d¡}| j	|d d… | _ | j| j fS )zGet the host debugpy port.r@   rf   úutf-8rg   r	   N)ra   r^   rs   Zbind_to_random_portr`   rt   ÚzmqZLAST_ENDPOINTÚdecodeÚendpointZunbindÚrfind)r   rs   Úindexr   r   r   rh     s    
zDebugpyClient.get_host_portc                 C   s&   | j j |  ¡ ¡ | j j t¡| _dS )zConnect to the tcp socket.N)r^   rs   Úconnectrk   rt   r   rb   r+   r   r   r   Úconnect_tcp_socket  s    z DebugpyClient.connect_tcp_socketc                 C   s0   | j j |  ¡ ¡ d| _tƒ | _d| _d| _dS )zDisconnect from the tcp socket.Nr@   T)	r^   rs   Ú
disconnectrk   rb   r   rd   re   rc   r+   r   r   r   Údisconnect_tcp_socket  s
    z#DebugpyClient.disconnect_tcp_socketc                 C   s   | j  |¡ dS )zReceive a dap frame.N)r>   rY   )r   r*   r   r   r   Úreceive_dap_frame  s    zDebugpyClient.receive_dap_framec                 Ã   sb   |   |¡ | jr4|d dkr4|  ¡ I dH }d| _|S |  ¡ I dH }| j d¡ | j |¡ |S dS )zSend a dap request.r   ÚattachNFzDEBUGPYCLIENT - returning:)rz   rc   r�   r|   r?   rG   )r   rO   Úrepr   r   r   Úsend_dap_request"  s    
zDebugpyClient.send_dap_requestN)r   r   r   r   r   rk   r_   rz   r|   r�   rh   r‰   r‹   rŒ   r�   r   r   r   r   r\   À   s   r\   c                   @   sÞ   e Zd ZdZg d¢Zg d¢Zd4dd„Zdd„ Zd	d
„ Zdd„ Z	dd„ Z
dd„ Zedd„ ƒZdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd „ Zd!d"„ Zd#d$„ Zd%d&„ Zd'd(„ Zd)d*„ Zd+d,„ Zd-d.„ Zd/d0„ Zd1d2„ Zd3S )5ÚDebuggerzThe debugger class.)ÚdumpCellÚsetBreakpointsÚsourceÚ
stackTracer6   r�   r~   )Ú	debugInfoÚinspectVariablesÚrichInspectVariablesÚmodulesÚcopyToGlobalsTc                 C   s¸   || _ t||| jƒ| _|| _|| _d| _|| _|| _t	ƒ | _
i | _tjD ]}t| |ƒ| j|< qHi | _tjD ]}t| |ƒ| j|< qji | _tƒ | _d| _i | _d| _d| _d| _tƒ | _dS )zInitialize the debugger.Fr]   r   N)r?   r\   Ú_handle_eventÚdebugpy_clientÚshell_socketÚsessionÚ
is_startedr=   Újust_my_coder   Ústopped_queueÚstarted_debug_handlersr�   Ústarted_debug_msg_typesÚgetattrÚstatic_debug_handlersÚstatic_debug_msg_typesÚbreakpoint_listrm   Ústopped_threadsÚdebugpy_initializedÚ_removed_cleanupr`   ra   r…   r'   Úvariable_explorer)r   r?   r^   r=   rœ   r�   rŸ   Úmsg_typer   r   r   r   G  s,    

zDebugger.__init__c                 C   s˜   |d dkrH|d d r(| j  |¡ d S | j |d d ¡ |  |¡ nL|d dkrŠ|d d rjtƒ | _n| j |d d ¡ |  |¡ n
|  |¡ d S )NrF   ÚstoppedÚbodyZallThreadsStoppedZthreadIdÚ	continuedZallThreadsContinued)r    rN   r§   Úaddr=   rm   Úremovern   r   r   r   rš   h  s    
zDebugger._handle_eventc                 Ã   s   | j  |¡I d H S r{   )r›   r�   rn   r   r   r   Ú_forward_messagez  s    zDebugger._forward_messagec                    s8   ‡ fdd„|D ƒ}|d d|d d|d d|idœ}|S )	Nc                    s   g | ]}ˆ   |d  ¡r|‘qS ©Úname©Úaccept_variable©r0   r.   r+   r   r   r2   ~  r3   z6Debugger._build_variables_response.<locals>.<listcomp>rl   ÚresponseTr   r6   )rl   rE   Úrequest_seqÚsuccessr   r­   r   )r   r}   r6   Zvar_listÚreplyr   r+   r   Ú_build_variables_response}  s    úz"Debugger._build_variables_responsec                 C   s   g d¢}||vS )N)ZIPythonHistorySavingThreadzThread-2zThread-3zThread-4r   )r   Zthread_nameÚforbid_listr   r   r   Ú_accept_stopped_thread‰  s    zDebugger._accept_stopped_threadc                 Ã   sr   | j  ¡ I dH }|d d dddœ}|  |¡I dH }|d d D ]"}|  |d ¡r@| j |d	 ¡ q@|  |¡ dS )
zHandle a stopped event.Nrl   r	   r}   Úthreads)rl   rE   r   r­   r³   r4   )r    rZ   r±   r½   r§   r¯   r=   )r   rF   ÚreqrŽ   Úthreadr   r   r   Úhandle_stopped_event�  s    zDebugger.handle_stopped_eventc                 C   s   | j S r{   )r›   r+   r   r   r   Ú
tcp_client›  s    zDebugger.tcp_clientc           
   	   C   sØ   | j sœtƒ }tj |¡s"t |¡ | j ¡ \}}d}|d| d | d 7 }|ddœ}| j 	| j
d|d| j
 t¡¡ | jj| j
d	d
�\}}|d d dk| _ tƒ jj}t|v rÈ| t¡}	| |	¡| j|	< | j ¡  | j S )zStart the debugger.zimport debugpy;zdebugpy.listen(("z",z))T)ÚcodeZsilentZexecute_requestNr   )Úmoderw   ÚstatusÚok)r¨   r   ÚosÚpathÚexistsÚmakedirsr›   rh   r�   Úsendrœ   rt   r   Úrecvr   Úinput_transformer_managerÚcleanup_transformsr   r‡   Úpopr©   r‰   )
r   Ztmp_dirri   rj   rÃ   rw   ÚidentrO   rÎ   r‡   r   r   r   ÚstartŸ  s.    


û


zDebugger.startc                 C   s@   | j  ¡  tƒ jj}t| jƒD ]}| j |¡}| ||¡ qdS )zStop the debugger.N)	r›   r‹   r   rÍ   rÎ   Úsortedr©   rÏ   Úinsert)r   rÎ   r‡   Úfuncr   r   r   Ústop½  s
    

zDebugger.stopc                 Ã   sl   |d d }t |ƒ}t|ddd��}| |¡ W d  ƒ n1 sB0    Y  d|d d	|d
 d|idœ}|S )zHandle a dump cell message.Ú	argumentsrÃ   Úwr‚   ©ÚencodingNr·   rl   Tr   Z
sourcePath©rE   r¸   r¹   r   r­   )r
   ÚopenÚwrite)r   ÚmessagerÃ   Ú	file_nameÚfrº   r   r   r   r‘   Ç  s    (ûzDebugger.dumpCellc                 Ã   sb   |d d d }|d d | j |< |  |¡I dH }d|v r^|d r^dd„ |d	 d D ƒ| j |< |S )
z!Handle a set breakpoints message.rÖ   r“   rÈ   ÚbreakpointsNr¹   c                 S   s   g | ]}d |d  i‘qS )Úliner   )r0   Ú
breakpointr   r   r   r2   à  s   ÿz+Debugger.setBreakpoints.<locals>.<listcomp>r­   )r¦   r±   )r   rÝ   r“   Zmessage_responser   r   r   r’   Ø  s    
þzDebugger.setBreakpointsc                 Ã   s’   d|d |d dœ}|d d d }t j |¡rvt|dd	��(}d
|d< d| ¡ i|d< W d  ƒ qŽ1 sj0    Y  nd|d< d|d< i |d< |S )zHandle a source message.r·   rl   r   )rE   r¸   r   rÖ   r“   rÈ   r‚   rØ   Tr¹   rw   r­   NFzsource unavailablerÝ   )rÇ   rÈ   ÚisfilerÛ   Úread)r   rÝ   rº   Úsource_pathrß   r   r   r   r“   æ  s    0zDebugger.sourcec                 Ã   s|   |   |¡I dH }zT|d d }t|ƒtdd„ tt|ƒdƒD ƒƒ }|d d d|d … |d d< W n tyv   Y n0 |S )zHandle a stack trace message.Nr­   ZstackFramesc                 s   s*   | ]"\}}|d  dkr|dkr|V  qdS )r³   r,   r	   Nr   )r0   ÚiÚvr   r   r   Ú	<genexpr>  s   z&Debugger.stackTrace.<locals>.<genexpr>r	   )r±   rW   ÚnextÚ	enumerateÚreversedÚStopIteration)r   rÝ   rº   Zsf_listZ
module_idxr   r   r   r”   õ  s    
ÿ
$zDebugger.stackTracec                 C   s>   g d¢}||v}|o$t t d|¡ƒ }|o8|dd… dk}|S )zAccept a variable by name.)r   r   Ú__package__Ú
__loader__Ú__spec__Ú__annotations__Ú__builtins__Ú__builtin__Z__display__r   ZdebugpyÚexitÚquitÚInZOutZ_ohZ_dhÚ_Ú__Ú___z^_\dr   é   Z_i)ÚboolÚreÚsearch)r   Zvariable_namer¼   Zcondr   r   r   rµ     s
    zDebugger.accept_variablec                 ƒ   s`   i }ˆ j s*ˆ j |d d ¡}ˆ  ||¡S ˆ  |¡I dH }‡ fdd„|d d D ƒ|d d< |S )zHandle a variables message.rÖ   ZvariablesReferenceNc                    s   g | ]}ˆ   |d  ¡r|‘qS r²   r´   r¶   r+   r   r   r2   3  s   z&Debugger.variables.<locals>.<listcomp>r­   r6   )r§   rª   r5   r»   r±   )r   rÝ   rº   r6   r   r+   r   r6   (  s    
ÿ

ÿzDebugger.variablesc                 Ã   sP   | j  ¡ \}}||dœ|d d< d|d d< | js@dg|d d< |  |¡I dH S )	zHandle an attach message.)ri   rj   rÖ   rˆ   TZ	logToFileZDebugStdLibZdebugOptionsN)r›   rh   rŸ   r±   )r   rÝ   ri   rj   r   r   r   r�   8  s    zDebugger.attachc                 Ã   s    |d d|d d|d dœ}|S )z$Handle a configuration done message.rl   r·   Tr   )rl   rE   r¸   r¹   r   r   )r   rÝ   rº   r   r   r   r~   E  s    ûzDebugger.configurationDonec                 Ã   sl   g }| j  ¡ D ]\}}| ||dœ¡ qd|d d|d | jdtƒ tƒ tj d|t| j	ƒddgd	œ	d
œ}|S )zHandle a debug info message.)r“   rà   r·   rl   Tr   ZMurmur2ú.pyzPython Exceptions)	Z	isStartedZ
hashMethodZhashSeedZtmpFilePrefixZtmpFileSuffixrà   ZstoppedThreadsZrichRenderingZexceptionPathsrÚ   )
r¦   ÚitemsÚappendrž   r   r   rÇ   ÚsepÚlistr§   )r   rÝ   r¦   ÚkeyÚvaluerº   r   r   r   r•   P  s&    
÷ûzDebugger.debugInfoc                 Ã   s2   | j  ¡  tƒ | _ | j  ¡  | j  ¡ }|  ||¡S )z$Handle an insepct variables message.)rª   r/   r'   r-   r5   r»   )r   rÝ   r6   r   r   r   r–   h  s
    


zDebugger.inspectVariablesc              	   ƒ   s>  d|d d|d dœ}|d d }t  |¡}|sZi i dœ|d	< |d
ksN|dkrVd|d< |S i ‰ i }| js¦tƒ  ||i¡| }| dd¡dkr¤| di ¡‰ | di ¡}nhd|› d�}|d d }|d }	|  dd|	d ||ddœdœ¡I dH }|d �rt|d	 d i i ƒ\‰ }ˆ ‡ fdd„| ¡ D ƒdœ}
|
|d	< d|d< |S ) z(Handle a rich inspect variables message.r·   rl   Fr   )rE   Zsequence_seqr¹   r   rÖ   ZvariableName)ÚdataÚmetadatar­   zspecial variableszfunction variablesTr¹   rÅ   ÚerrorrÆ   r  r  z'get_ipython().display_formatter.format(ú)ÚframeIdr}   Úevaluater	   Ú	clipboard)Ú
expressionr  Úcontext©rE   r   rl   rÖ   NÚresultc                    s   i | ]\}}|ˆ v r||“qS r   r   )r0   Úkrç   ©Z	repr_datar   r   Ú
<dictcomp>   r3   z1Debugger.richInspectVariables.<locals>.<dictcomp>)	rK   Úisidentifierr§   r   Zuser_expressionsrZ   r±   Úevalrþ   )r   rÝ   rº   Úvar_nameZ
valid_nameZrepr_metadatar  rÃ   Zframe_idrl   r­   r   r  r   r—   s  sJ    ü

üÿ

þzDebugger.richInspectVariablesc              	   Ã   s^   |d d }|d d }|d d }d|› d�}|d }|   dd	|d
 |||dœdœ¡I d H S )NrÖ   ZdstVariableNameZsrcVariableNameZ
srcFrameIdzglobals()['z']rl   r}   ZsetExpressionr	   )r  r  r  r  )r±   )r   rÝ   Zdst_var_nameZsrc_var_nameZsrc_frame_idr  rl   r   r   r   r™   §  s    ýüÿzDebugger.copyToGlobalsc           
      Ã   s’   t tj ¡ ƒ}| dd¡}| dt|ƒ¡}g }t||ƒD ]B}|| }tt|ddƒddƒ}|r8| d¡r8| 	||j
|dœ¡ q8d	|t|ƒd
œi}	|	S )zHandle a modules message.ÚstartModuler   ÚmoduleCountrï   NÚoriginrý   )r4   r³   rÈ   r­   )r˜   ZtotalModules)r  Úsysr˜   ÚvaluesrZ   rW   Úranger£   Úendswithrÿ   r   )
r   rÝ   r˜   r  r  Zmodsræ   ÚmoduleÚfilenamerº   r   r   r   r˜   »  s    zDebugger.modulesc                 Ã   sø   i }|d dkrV| j r$| j d¡ n2|  ¡ | _ | j rB| j d¡ nd|d dddd	œ}| j |d d
¡}|d
ur€||ƒI d
H }n@| j rÀ| j |d d
¡}|d
ur°||ƒI d
H }n|  |¡I d
H }|d dkrô|  ¡  i | _	t
ƒ | _d| _ | j d¡ |S )zProcess a request.r   Z
initializez The debugger has already startedzThe debugger has startedrl   é   Fr·   )r   r¸   rl   r¹   rE   NrŠ   zThe debugger has stopped)rž   r?   ÚinforÑ   r¤   rZ   r¡   r±   rÕ   r¦   rm   r§   )r   rÝ   rº   Úhandlerr   r   r   Úprocess_requestÊ  s8    
ûzDebugger.process_requestN)T)r   r   r   r   r¢   r¥   r   rš   r±   r»   r½   rÁ   ÚpropertyrÂ   rÑ   rÕ   r‘   r’   r“   r”   rµ   r6   r�   r~   r•   r–   r—   r™   r˜   r!  r   r   r   r   r�   0  s8   	 ÿ
!

4r�   )/r   rÇ   rû   r  ÚtypingrH   rƒ   ZIPython.core.getipythonr   ZIPython.core.inputtransformer2r   Ztornado.locksr   Ztornado.queuesr   Z	zmq.utilsr   Zjupyter_client.jsonutilr   ÚImportErrorr   Úcompilerr
   r   r   Zdebugpy.serverr   Z_pydevd_bundler   Z&_pydevd_bundle.pydevd_suspended_framesr   r   Z_is_debugpy_availableÚ	ExceptionÚeÚ	__class__r   r£   ZIDENTITYr   r   r    r%   r'   r7   r\   r�   r   r   r   r   Ú<module>   sD   	
Vp