in shim/shim.py [0:0]
def _add_debug_arguments(parser: argparse.ArgumentParser) -> None:
debug_arguments = parser.add_argument_group("Debugging arguments")
debug_arguments.add_argument(
"--verbosity",
type=int,
default=1,
metavar="[1-5]",
help="The logging verbosity.",
)
debug_arguments.add_argument(
"--gdb", action="store_true", help="Run the analyzer inside gdb."
)
debug_arguments.add_argument(
"--lldb", action="store_true", help="Run the analyzer inside lldb."
)
debug_arguments.add_argument(
"--log-method",
action="append",
metavar="PATTERN",
help="Enable logging for the given methods.",
)
debug_arguments.add_argument(
"--dump-class-hierarchies",
action="store_true",
help="Dump the class hierarchies in `class_hierarchies.json`.",
)
debug_arguments.add_argument(
"--dump-overrides",
action="store_true",
help="Dump the override graph in `overrides.json`.",
)
debug_arguments.add_argument(
"--dump-call-graph",
action="store_true",
help="Dump the call graph in `call_graph.json`.",
)
debug_arguments.add_argument(
"--dump-dependencies",
action="store_true",
help="Dump the dependency graph in `dependencies.json`.",
)
debug_arguments.add_argument(
"--dump-methods",
action="store_true",
help="Dump a list of the method signatures in `methods.json`.",
)