Back to index

python3.2  3.2.2
Public Member Functions | Private Member Functions | Private Attributes
idlelib.RemoteDebugger.FrameProxy Class Reference

List of all members.

Public Member Functions

def __init__
def __getattr__

Private Member Functions

def _get_f_code
def _get_f_globals
def _get_f_locals
def _get_dict_proxy

Private Attributes

 _conn
 _fid
 _oid
 _dictcache

Detailed Description

Definition at line 202 of file RemoteDebugger.py.


Constructor & Destructor Documentation

def idlelib.RemoteDebugger.FrameProxy.__init__ (   self,
  conn,
  fid 
)

Definition at line 204 of file RemoteDebugger.py.

00204 
00205     def __init__(self, conn, fid):
00206         self._conn = conn
00207         self._fid = fid
00208         self._oid = "idb_adapter"
00209         self._dictcache = {}

Here is the caller graph for this function:


Member Function Documentation

Definition at line 210 of file RemoteDebugger.py.

00210 
00211     def __getattr__(self, name):
00212         if name[:1] == "_":
00213             raise AttributeError(name)
00214         if name == "f_code":
00215             return self._get_f_code()
00216         if name == "f_globals":
00217             return self._get_f_globals()
00218         if name == "f_locals":
00219             return self._get_f_locals()
00220         return self._conn.remotecall(self._oid, "frame_attr",
00221                                      (self._fid, name), {})

Here is the call graph for this function:

def idlelib.RemoteDebugger.FrameProxy._get_dict_proxy (   self,
  did 
) [private]

Definition at line 236 of file RemoteDebugger.py.

00236 
00237     def _get_dict_proxy(self, did):
00238         if did in self._dictcache:
00239             return self._dictcache[did]
00240         dp = DictProxy(self._conn, self._oid, did)
00241         self._dictcache[did] = dp
00242         return dp
00243 

Here is the caller graph for this function:

Definition at line 222 of file RemoteDebugger.py.

00222 
00223     def _get_f_code(self):
00224         cid = self._conn.remotecall(self._oid, "frame_code", (self._fid,), {})
00225         return CodeProxy(self._conn, self._oid, cid)

Here is the caller graph for this function:

Definition at line 226 of file RemoteDebugger.py.

00226 
00227     def _get_f_globals(self):
00228         did = self._conn.remotecall(self._oid, "frame_globals",
00229                                     (self._fid,), {})
00230         return self._get_dict_proxy(did)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 231 of file RemoteDebugger.py.

00231 
00232     def _get_f_locals(self):
00233         did = self._conn.remotecall(self._oid, "frame_locals",
00234                                     (self._fid,), {})
00235         return self._get_dict_proxy(did)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 205 of file RemoteDebugger.py.

Definition at line 208 of file RemoteDebugger.py.

Definition at line 206 of file RemoteDebugger.py.

Definition at line 207 of file RemoteDebugger.py.


The documentation for this class was generated from the following file: