tldr/pages/osx/lldb.md

16 lines
261 B
Markdown
Raw Normal View History

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