Invoke user function and return trace function for opcode event. If the debugger stops on the current opcode, invoke self.user_opcode(). Raise BdbQuit if self.quitting is set. Return self.trace_dispatch to continue tracing in this scope. Opcode event will always trig
(self, frame, arg)
| 401 | return self.trace_dispatch |
| 402 | |
| 403 | def dispatch_opcode(self, frame, arg): |
| 404 | """Invoke user function and return trace function for opcode event. |
| 405 | If the debugger stops on the current opcode, invoke |
| 406 | self.user_opcode(). Raise BdbQuit if self.quitting is set. |
| 407 | Return self.trace_dispatch to continue tracing in this scope. |
| 408 | |
| 409 | Opcode event will always trigger the user callback. For now the only |
| 410 | opcode event is from an inline set_trace() and we want to stop there |
| 411 | unconditionally. |
| 412 | """ |
| 413 | self.user_opcode(frame) |
| 414 | self.restart_events() |
| 415 | if self.quitting: raise BdbQuit |
| 416 | return self.trace_dispatch |
| 417 | |
| 418 | # Normally derived classes don't override the following |
| 419 | # methods, but they may if they want to redefine the |
no test coverage detected