198 @param frame The current stack frame. |
198 @param frame The current stack frame. |
199 @return local trace function |
199 @return local trace function |
200 """ |
200 """ |
201 if self.stop_here(frame) or self.break_here(frame): |
201 if self.stop_here(frame) or self.break_here(frame): |
202 self.user_line(frame) |
202 self.user_line(frame) |
203 if self.quitting: raise bdb.BdbQuit |
203 if self.quitting: |
|
204 raise bdb.BdbQuit |
204 return self.trace_dispatch |
205 return self.trace_dispatch |
205 |
206 |
206 def dispatch_return(self, frame, arg): |
207 def dispatch_return(self, frame, arg): |
207 """ |
208 """ |
208 Reimplemented from bdb.py to handle passive mode cleanly. |
209 Reimplemented from bdb.py to handle passive mode cleanly. |
225 @param arg The arguments |
226 @param arg The arguments |
226 @return local trace function |
227 @return local trace function |
227 """ |
228 """ |
228 if not self.__skip_it(frame): |
229 if not self.__skip_it(frame): |
229 self.user_exception(frame, arg) |
230 self.user_exception(frame, arg) |
230 if self.quitting: raise bdb.BdbQuit |
231 if self.quitting: |
|
232 raise bdb.BdbQuit |
231 return self.trace_dispatch |
233 return self.trace_dispatch |
232 |
234 |
233 def set_trace(self, frame = None): |
235 def set_trace(self, frame = None): |
234 """ |
236 """ |
235 Overridden method of bdb.py to do some special setup. |
237 Overridden method of bdb.py to do some special setup. |