332 if event == 'call': |
332 if event == 'call': |
333 if ( |
333 if ( |
334 self.stop_here(frame) or |
334 self.stop_here(frame) or |
335 self.__checkBreakInFrame(frame) or |
335 self.__checkBreakInFrame(frame) or |
336 Watch.watches != [] |
336 Watch.watches != [] |
337 ): |
337 ) or ( |
338 return self.trace_dispatch |
|
339 elif ( |
|
340 self.stopframe and |
338 self.stopframe and |
341 frame.f_code.co_flags & GENERATOR_AND_COROUTINE_FLAGS |
339 frame.f_code.co_flags & GENERATOR_AND_COROUTINE_FLAGS |
342 ): |
340 ): |
343 return self.trace_dispatch |
341 return self.trace_dispatch |
344 else: |
342 else: |