tldr/pages/common/lldb.md

17 lines
310 B
Markdown
Raw Permalink Normal View History

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