
    
hM                         S r SSKJrJrJr  SSKJr   " S S\R                  \R                  5      r " S S\R                  5      r	g)	z,A module for managing the AXDebug I*Contexts   )adbaxdebuggateways)_wrapc                       \ rS rSr\R
                  R                  \R                  R                  -   r\R
                  R                  \R                  R                  -   rS r	S r
S rS rS rS rSrg	)
DebugCodeContext	   c                     XPl         X l        X0l        SU l        Xl        [
        R                  R                  U 5        X@l        g )N    )		debugSiteoffsetlengthbreakPointStatelinenor   r   __init__codeContainer)selflineNocharPoslenr   r   s         oC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\win32comext/axdebug/contexts.pyr   DebugCodeContext.__init__   s8    " !!**40*    c                     S U l         g N)r   r   s    r   _CloseDebugCodeContext._Close   s	    r   c                     U R                   bE  U R                   R                  U R                  R                  U R                  U R
                  5      $ [        U [        R                  5      $ r   )	r   GetDocumentContextFromPositionr   sourceContextr   r   r   r   IID_IDebugDocumentContextr   s    r   GetDocumentContext#DebugCodeContext.GetDocumentContext"   sS    >>%>>@@""00$++t{{ 
 w@@AAr   c                 R    Xl         [        R                  " XU R                  5        g r   )r   r   OnSetBreakPointr   )r   bpss     r   SetBreakPointDebugCodeContext.SetBreakPoint,   s    "Dt{{3r   c                 .    U R                   R                  $ r   )r   debugDocumentr   s    r   GetDocumentDebugCodeContext.GetDocument1   s    !!///r   c                 J    [        [        U /5      [        R                  5      $ r   )r   EnumDebugCodeContextsr   IID_IEnumDebugCodeContextsr   s    r   EnumCodeContexts!DebugCodeContext.EnumCodeContexts4   s    *D62G4V4VWWr   )r   r   r   r   r   r   N)__name__
__module____qualname____firstlineno__r   r   _public_methods_DebugDocumentContext_com_interfaces_r   r   r#   r(   r,   r1   __static_attributes__ r   r   r   r   	   sv    
 	!!22

'
'
8
8	9 
 	!!22

'
'
8
8	9 
+B4
0Xr   r   c                       \ rS rSrS rSrg)r/   8   c                 6    [        U[        R                  5      $ r   )r   r   IID_IDebugCodeContext)r   objs     r   r   EnumDebugCodeContexts._wrap9   s    S'7788r   r;   N)r3   r4   r5   r6   r   r:   r;   r   r   r/   r/   8   s    9r   r/   N)
__doc__ r   r   r   utilr   r   r8   r/   r;   r   r   <module>rE      sB    2 $ $ ,Xx00(2O2O ,X^9H:: 9r   