Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
idlelib
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/idlelib/RemoteDebugger.pyc
mς =5Dc @ s d Z d k Z d k Z d k Z d k Z d Z d a d Z h Z h Z h Z h Z d Z d Z d f d YZ d f d YZ d Z d f d YZ d f d YZ d f d YZ d f d YZ d f d YZ d Z d Z d Z d Z d S( sΞ 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. Ni t idb_adaptert gui_adapterc C s t | } | t | <| S( N( t idt framet fidt frametable( R R ( ( t, /usr/lib/python2.4/idlelib/RemoteDebugger.pyt wrap_frame* s c C sn | d j o d SnV | d } t | t i p t t | } | t | <| d | d | f } | Sd S( s0 replace info[2], a traceback instance, by its IDi i i N( t infot Nonet tracebackt isinstancet typest TracebackTypet AssertionErrorR t traceback_idt tracebacktablet modified_info( R R R R ( ( R t wrap_info/ s t GUIProxyc B s t Z d Z d d Z RS( Nc C s | | _ | | _ d S( N( t connt selft gui_adap_oidt oid( R R R ( ( R t __init__= s c C s5 | i i | i d | t | t | f h d S( Nt interaction( R R t remotecallR t messageR R R R ( R R R R ( ( R R A s ( t __name__t __module__R R R ( ( ( R R ; s t IdbAdapterc B s³ t Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z d Z RS( Nc C s | | _ d S( N( t idbR ( R R ( ( R R J s c C s | i i d S( N( R R t set_step( R ( ( R R O s c C s | i i d S( N( R R t set_quit( R ( ( R R! R s c C s | i i d S( N( R R t set_continue( R ( ( R R"