There are two different tutorials, depending on whether you want to use gdb or lldb; only one is required. Pick the one that works best in your environment (lldb is preferred, but that does not work in the Ubuntu VirtualBox image). The source code provided is the same.