Back to index

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

List of all members.

Public Member Functions

def __init__
def set_step
def set_quit
def set_continue
def set_next
def set_return
def get_stack
def run
def set_break
def clear_break
def clear_all_file_breaks
def frame_attr
def frame_globals
def frame_locals
def frame_code
def code_name
def code_filename
def dict_keys

Public Attributes

 idb

Detailed Description

Definition at line 71 of file RemoteDebugger.py.


Constructor & Destructor Documentation

def idlelib.RemoteDebugger.IdbAdapter.__init__ (   self,
  idb 
)

Definition at line 73 of file RemoteDebugger.py.

00073 
00074     def __init__(self, idb):
00075         self.idb = idb

Here is the caller graph for this function:


Member Function Documentation

Definition at line 117 of file RemoteDebugger.py.

00117 
00118     def clear_all_file_breaks(self, filename):
00119         msg = self.idb.clear_all_file_breaks(filename)
00120         return msg

def idlelib.RemoteDebugger.IdbAdapter.clear_break (   self,
  filename,
  lineno 
)

Definition at line 113 of file RemoteDebugger.py.

00113 
00114     def clear_break(self, filename, lineno):
00115         msg = self.idb.clear_break(filename, lineno)
00116         return msg

Definition at line 154 of file RemoteDebugger.py.

00154 
00155     def code_filename(self, cid):
00156         code = codetable[cid]
00157         return code.co_filename

Definition at line 150 of file RemoteDebugger.py.

00150 
00151     def code_name(self, cid):
00152         code = codetable[cid]
00153         return code.co_name

Definition at line 160 of file RemoteDebugger.py.

00160 
00161     def dict_keys(self, did):
        raise NotImplemented("dict_keys not public or pickleable")
def idlelib.RemoteDebugger.IdbAdapter.frame_attr (   self,
  fid,
  name 
)

Definition at line 123 of file RemoteDebugger.py.

00123 
00124     def frame_attr(self, fid, name):
00125         frame = frametable[fid]
00126         return getattr(frame, name)

Here is the call graph for this function:

Definition at line 141 of file RemoteDebugger.py.

00141 
00142     def frame_code(self, fid):
00143         frame = frametable[fid]
00144         code = frame.f_code
00145         cid = id(code)
00146         codetable[cid] = code
00147         return cid

Definition at line 127 of file RemoteDebugger.py.

00127 
00128     def frame_globals(self, fid):
00129         frame = frametable[fid]
00130         dict = frame.f_globals
00131         did = id(dict)
00132         dicttable[did] = dict
00133         return did

Definition at line 134 of file RemoteDebugger.py.

00134 
00135     def frame_locals(self, fid):
00136         frame = frametable[fid]
00137         dict = frame.f_locals
00138         did = id(dict)
00139         dicttable[did] = dict
00140         return did

def idlelib.RemoteDebugger.IdbAdapter.get_stack (   self,
  fid,
  tbid 
)

Definition at line 95 of file RemoteDebugger.py.

00095 
00096     def get_stack(self, fid, tbid):
00097         frame = frametable[fid]
00098         if tbid is None:
00099             tb = None
00100         else:
00101             tb = tracebacktable[tbid]
00102         stack, i = self.idb.get_stack(frame, tb)
00103         stack = [(wrap_frame(frame), k) for frame, k in stack]
00104         return stack, i

Here is the call graph for this function:

def idlelib.RemoteDebugger.IdbAdapter.run (   self,
  cmd 
)

Definition at line 105 of file RemoteDebugger.py.

00105 
00106     def run(self, cmd):
00107         import __main__
00108         self.idb.run(cmd, __main__.__dict__)

Here is the caller graph for this function:

def idlelib.RemoteDebugger.IdbAdapter.set_break (   self,
  filename,
  lineno 
)

Definition at line 109 of file RemoteDebugger.py.

00109 
00110     def set_break(self, filename, lineno):
00111         msg = self.idb.set_break(filename, lineno)
00112         return msg

Definition at line 84 of file RemoteDebugger.py.

00084 
00085     def set_continue(self):
00086         self.idb.set_continue()

def idlelib.RemoteDebugger.IdbAdapter.set_next (   self,
  fid 
)

Definition at line 87 of file RemoteDebugger.py.

00087 
00088     def set_next(self, fid):
00089         frame = frametable[fid]
00090         self.idb.set_next(frame)

Definition at line 81 of file RemoteDebugger.py.

00081 
00082     def set_quit(self):
00083         self.idb.set_quit()

Definition at line 91 of file RemoteDebugger.py.

00091 
00092     def set_return(self, fid):
00093         frame = frametable[fid]
00094         self.idb.set_return(frame)

Definition at line 78 of file RemoteDebugger.py.

00078 
00079     def set_step(self):
00080         self.idb.set_step()


Member Data Documentation

Definition at line 74 of file RemoteDebugger.py.


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