tldr/pages/linux/lldb.md

16 lines
265 B
Markdown
Raw Normal View History

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