unignore_module Remove a module from the list of modules to skip when navigating frames. This will allow the debugger to step into frames from the specified module. Usage: unignore_module threading # Stop ignoring threading module frames
(self, arg)
| 1344 | self.skip.add(module_name) |
| 1345 | |
| 1346 | def do_unignore_module(self, arg): |
| 1347 | """unignore_module <module_name> |
| 1348 | |
| 1349 | Remove a module from the list of modules to skip when navigating frames. |
| 1350 | This will allow the debugger to step into frames from the specified module. |
| 1351 | |
| 1352 | Usage: |
| 1353 | unignore_module threading # Stop ignoring threading module frames |
| 1354 | unignore_module asyncio.\\* # Remove asyncio.* pattern |
| 1355 | unignore_module # List currently ignored modules |
| 1356 | """ |
| 1357 | |
| 1358 | if self.skip is None: |
| 1359 | self.skip = set() |
| 1360 | |
| 1361 | module_name = arg.strip() |
| 1362 | |
| 1363 | if not module_name: |
| 1364 | self._show_ignored_modules() |
| 1365 | return |
| 1366 | |
| 1367 | try: |
| 1368 | self.skip.remove(module_name) |
| 1369 | except KeyError: |
| 1370 | print(f"Module {module_name} is not currently ignored") |
| 1371 | self._show_ignored_modules() |
| 1372 | |
| 1373 | def do_context(self, context: str): |
| 1374 | """context number_of_lines |
nothing calls this directly
no test coverage detected