|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/lib64/python2.4/idlelib/ |
Upload File : |
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/lib64/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"