summaryrefslogtreecommitdiff
path: root/Documentation/building
diff options
context:
space:
mode:
authorSantiago Fernandez Madero <safern@microsoft.com>2017-10-11 14:45:47 -0700
committerGitHub <noreply@github.com>2017-10-11 14:45:47 -0700
commit845d89c94eade2d1c9aed5c6fc8d2270214fbcc2 (patch)
tree9993f049a85cae037d809df5fa14067319943b37 /Documentation/building
parent2f37c02dfa3b649d4d7322724c95ab08cb12cb6f (diff)
downloadcoreclr-845d89c94eade2d1c9aed5c6fc8d2270214fbcc2.tar.gz
coreclr-845d89c94eade2d1c9aed5c6fc8d2270214fbcc2.tar.bz2
coreclr-845d89c94eade2d1c9aed5c6fc8d2270214fbcc2.zip
Add instructions on how to install lldb 3.9 for core dumps
Diffstat (limited to 'Documentation/building')
-rw-r--r--Documentation/building/debugging-instructions.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/building/debugging-instructions.md b/Documentation/building/debugging-instructions.md
index 03e80f68e2..838a15b383 100644
--- a/Documentation/building/debugging-instructions.md
+++ b/Documentation/building/debugging-instructions.md
@@ -138,7 +138,13 @@ It is also possible to debug .NET Core crash dumps using lldb and SOS. In order
- Download the matching Jenkins archive onto your repro machine.
- Check out the coreclr and corefx repositories at the appropriate commit and re-build the necessary portions.
- You can also download the matching "symbols" nuget package from myget.org. There is a "Download Symbols" button in the myget UI for this purpose.
-- lldb version 3.9. The SOS plugin (i.e. libsosplugin.so) provided is now built for lldb 3.9.
+- lldb version 3.9. The SOS plugin (i.e. libsosplugin.so) provided is now built for lldb 3.9. In order to install lldb 3.9 just run the following commands:
+```
+~$ echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.9 main" | sudo tee /etc/apt/sources.list.d/llvm.list
+~$ wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
+~$ sudo apt-get update
+~$ sudo apt-get install lldb-3.9
+```
Once you have everything listed above, you are ready to start debugging. You need to specify an extra parameter to lldb in order for it to correctly resolve the symbols for libcoreclr.so. Use a command like this: