(fpath: pathlib.Path)
| 9401 | |
| 9402 | def load_extra_plugins(self) -> int: |
| 9403 | def load_plugin(fpath: pathlib.Path) -> bool: |
| 9404 | try: |
| 9405 | dbg(f"Loading '{fpath}'") |
| 9406 | gdb.execute(f"source {fpath}") |
| 9407 | except Exception as e: |
| 9408 | warn(f"Exception while loading {fpath}: {str(e)}") |
| 9409 | return False |
| 9410 | return True |
| 9411 | |
| 9412 | nb_added = -1 |
| 9413 | start_time = time.perf_counter() |