1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/lldb.md

17 lines
310 B
Markdown
Raw Normal View History

2017-08-14 08:11:57 -07:00
# lldb
> The LLVM Low-Level Debugger.
> More information: <https://lldb.llvm.org>.
2017-08-14 08:11:57 -07:00
- Debug an executable:
`lldb {{executable}}`
- Attach `lldb` to a running process with a given PID:
2017-08-14 08:11:57 -07:00
`lldb -p {{pid}}`
- Wait for a new process to launch with a given name, and attach to it:
2017-08-14 08:11:57 -07:00
`lldb -w -n {{process_name}}`