From 718f4bb0b8a1bd2cf32dd0c6ce8d05643ad58ab1 Mon Sep 17 00:00:00 2001 From: Kevin Ushey Date: Mon, 14 Aug 2017 08:11:57 -0700 Subject: [PATCH] lldb.md: add page (#1444) --- pages/linux/lldb.md | 15 +++++++++++++++ pages/osx/lldb.md | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 pages/linux/lldb.md create mode 100644 pages/osx/lldb.md diff --git a/pages/linux/lldb.md b/pages/linux/lldb.md new file mode 100644 index 000000000..ba448455d --- /dev/null +++ b/pages/linux/lldb.md @@ -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}}` diff --git a/pages/osx/lldb.md b/pages/osx/lldb.md new file mode 100644 index 000000000..ba448455d --- /dev/null +++ b/pages/osx/lldb.md @@ -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}}`