DebugClients/Python3/DebugBase.py

changeset 826
2e3e2055e715
parent 791
9ec2ac20e54e
child 935
bf9ee1e00bc5
equal deleted inserted replaced
825:9cdec3c5bc07 826:2e3e2055e715
197 @param frame The current stack frame. 197 @param frame The current stack frame.
198 @return local trace function 198 @return local trace function
199 """ 199 """
200 if self.stop_here(frame) or self.break_here(frame): 200 if self.stop_here(frame) or self.break_here(frame):
201 self.user_line(frame) 201 self.user_line(frame)
202 if self.quitting: raise bdb.BdbQuit 202 if self.quitting:
203 raise bdb.BdbQuit
203 return self.trace_dispatch 204 return self.trace_dispatch
204 205
205 def dispatch_return(self, frame, arg): 206 def dispatch_return(self, frame, arg):
206 """ 207 """
207 Reimplemented from bdb.py to handle passive mode cleanly. 208 Reimplemented from bdb.py to handle passive mode cleanly.
224 @param arg The arguments 225 @param arg The arguments
225 @return local trace function 226 @return local trace function
226 """ 227 """
227 if not self.__skip_it(frame): 228 if not self.__skip_it(frame):
228 self.user_exception(frame, arg) 229 self.user_exception(frame, arg)
229 if self.quitting: raise bdb.BdbQuit 230 if self.quitting:
231 raise bdb.BdbQuit
230 return self.trace_dispatch 232 return self.trace_dispatch
231 233
232 def set_trace(self, frame = None): 234 def set_trace(self, frame = None):
233 """ 235 """
234 Overridden method of bdb.py to do some special setup. 236 Overridden method of bdb.py to do some special setup.

eric ide

mercurial