mirror of https://github.com/CrimsonTome/tldr.git
lldb.md: add page (#1444)
parent
dbf437628a
commit
718f4bb0b8
|
@ -0,0 +1,15 @@
|
||||||
|
# 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}}`
|
|
@ -0,0 +1,15 @@
|
||||||
|
# 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}}`
|
Loading…
Reference in New Issue