def METHOD_NAME(self, print_values=1):
    """gdb command ~= 'info locals'"""
    assert isinstance(print_values, int) and print_values in (0, 1, 2)
    cmd = f'-stack-list-variables {print_values}'
    self._run_command(cmd, expect=r'\^done,.*\r\n')