a „oeVã@shdZddlZddlZddlmZmZmZddlm Z m Z m Z Gdd„dej ej ƒZ Gdd „d ejƒZdS) z/ A module for managing the AXDebug I*Contexts éNé)ÚadbÚaxdebugÚgateways)Ú_wrapÚ _wrap_removeÚtracec@s\eZdZejjejjZejjejjZdd„Zdd„Z dd„Z dd„Z d d „Z d d „Z d S)ÚDebugCodeContextcCs4||_||_||_d|_||_tj |¡||_dS)Nr) Ú debugSiteÚoffsetÚlengthÚbreakPointStateÚlinenorr Ú__init__Ú codeContainer)ÚselfZlineNoZcharPosÚlenrr ©rú=C:\Program Files\Certbot\pkgs\win32comext\axdebug\contexts.pyrs zDebugCodeContext.__init__cCs d|_dS©N)r ©rrrrÚ_Close#szDebugCodeContext._ClosecCs2|jdur"|j |jj|j|j¡St|tjƒSdSr) r ZGetDocumentContextFromPositionrZ sourceContextr r rrZIID_IDebugDocumentContextrrrrÚGetDocumentContext&s  ÿz#DebugCodeContext.GetDocumentContextcCs||_t |||j¡dSr)r rZOnSetBreakPointr)rZbpsrrrÚ SetBreakPoint0szDebugCodeContext.SetBreakPointcCs|jjSr)rZ debugDocumentrrrrÚ GetDocument5szDebugCodeContext.GetDocumentcCstt|gƒtjƒSr)rÚEnumDebugCodeContextsrZIID_IEnumDebugCodeContextsrrrrÚEnumCodeContexts8sz!DebugCodeContext.EnumCodeContextsN)Ú__name__Ú __module__Ú __qualname__rr Z_public_methods_ÚDebugDocumentContextZ_com_interfaces_rrrrrrrrrrr sÿÿÿÿ  r c@seZdZdd„ZdS)rcCs t|tjƒSr)rrZIID_IDebugCodeContext)rÚobjrrrr=szEnumDebugCodeContexts._wrapN)rrrrrrrrr<sr)Ú__doc__Z pythoncomZwin32com.server.utilZwin32comÚrrrÚutilrrrr r rrrrrÚs /