{"id":16322421,"url":"https://github.com/gaeng2y/lldb-debugger","last_synced_at":"2026-02-26T06:22:34.287Z","repository":{"id":121679043,"uuid":"474030243","full_name":"gaeng2y/LLDB-Debugger","owner":"gaeng2y","description":"iOS 개발을 잘하기 위해, 편하게 버그를 추적하기 위해 LLDB를 이용한 디버깅 방법 공부한 내용","archived":false,"fork":false,"pushed_at":"2022-08-10T02:27:37.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T14:31:57.459Z","etag":null,"topics":["debug","debugger","debugging","ios","lldb"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gaeng2y.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-25T13:56:51.000Z","updated_at":"2022-08-15T16:18:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a4d7b3c-7605-4724-be03-454b905ec285","html_url":"https://github.com/gaeng2y/LLDB-Debugger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gaeng2y/LLDB-Debugger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaeng2y%2FLLDB-Debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaeng2y%2FLLDB-Debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaeng2y%2FLLDB-Debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaeng2y%2FLLDB-Debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaeng2y","download_url":"https://codeload.github.com/gaeng2y/LLDB-Debugger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaeng2y%2FLLDB-Debugger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262343754,"owners_count":23296387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug","debugger","debugging","ios","lldb"],"created_at":"2024-10-10T22:50:51.354Z","updated_at":"2025-10-14T01:16:27.345Z","avatar_url":"https://github.com/gaeng2y.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLDB-Debugger\niOS 개발을 잘하기 위해, 편하게 버그를 추적하기 위해 LLDB를 이용한 디버깅 방법 공부한 내용\n\n- LLDB(Low-Level Debugger)는 **Apple**에서 진행한 Compiler에 필요한 Toolchain 개발 프로젝트다.\n- 각 컴포넌트들의 재사용성을 중시해서, 모듈화가 잘 되어있다는 특징이 있다.\n- 이렇게 모듈화 되어있는 컴포넌트들을 이용해 진행된 주요 서브 프로젝트들로는 LLVM Core, Clang, libc++, **LLDB** 등이 있다.\n- LLDB는 LLVM의 Debugger Component를 개발하는 서브 프로젝트이다.\n- LLVM 프로젝트를 통해 개발된 Clang Expression Parser, LLVM Disassembler 등 Low-Level 컨트롤이 가능한 모듈들로 이루어져 있어, 기계어에 가까운 영역까지 디버깅이 가능하다는 장점이 있다.\n\n## LLDB 명령어 문법\n\n`(lldb) command [subcommand] -option \"this is argument`\n\nCommand, Subcommand, Option, Argument들로 이루어져 있고, 띄어쓰기로 구분한다.\n\n- **Command와 Subcommand**는 LLDB 내 Object의 이름이다.(etc. *breakpoint*, *watchpoint*, *set*, *list* … ) 이들은 모두 계층화되어있어, Command에 따라 사용가능한 Subcommand 종류가 다르다.\n- **Option**의 경우, Command 뒤 어느 곳에든 위치 가능하며, -(hyphen)으로 시작한다.\n- **Argument**에 공백이 포함되는 경우도 있기 때문에, “”로 묶어줄 수 있다.\n\nex)\n\n`(lldb) breakpoint set --file test.c --line 12`\n\nbreakpoint (Command)와 set (Subcommand)을 이용하며\n\n—file option을 통해 test.c 파일 내\n\n—line option을 통해 12번째 라인에\n\n중단점을 set 해준다.\n\n## Help \u0026 Apropos\n\nLLDB에는 수많은 명령어와 해당하는 Subcommand, Option들이 존재한다.\n\n- Help: 해당 문법으로 사용가능한 Subcommand, Option 리스트나 사용법을 보여주는 유용한 명령어\n\n```bash\n# LLDB에서 제공하는 Command가 궁금하다면,\n(lldb) help\n\n# 특정 Command의 Subcommand나, Option이 궁금하다면,\n(lldb) help breakpoint\n(lldb) help breakpoint set\n```\n\n- Apropos: 원하는 기능의 명령어가 있는지 관련 키워드를 통해 알아볼 수 있는 명령어\n\n```bash\n# referent count를 체크할 수 있는 명령어가 있을까? 궁금하다면,\n(lldb) apropos \"reference count\"\n# 결과\n# The following commands may relate to 'reference count':\n#     refcount -- Inspect the reference count data for a Swift object\n```\n\n## [Breakpoint](https://github.com/gaeng2y/LLDB-Debugger/blob/main/Breakpoint/Breakpoint.md)\n## [Stepping](https://github.com/gaeng2y/LLDB-Debugger/blob/main/Stepping/Stepping.md)\n## [Expression](https://github.com/gaeng2y/LLDB-Debugger/blob/main/Expression/Expression.md)\n## [Image](https://github.com/gaeng2y/LLDB-Debugger/blob/main/Image/Image.md)\n## [Alias](https://github.com/gaeng2y/LLDB-Debugger/blob/main/Alias/Alias.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaeng2y%2Flldb-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaeng2y%2Flldb-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaeng2y%2Flldb-debugger/lists"}