(self, dbg, exc)
| 251 | self.func = func |
| 252 | |
| 253 | def trigger(self, dbg, exc): |
| 254 | thread = dbg.current_thread |
| 255 | format_dict = {"dbg": dbg, "exc": exc, "proc": dbg.current_process, "thread": thread, "ctx": thread.context} |
| 256 | if self.func: |
| 257 | format_dict.update(self.func(**format_dict)) |
| 258 | print(self.format.format(**format_dict)) |
no test coverage detected