diff --git a/build/.lldbinit.in b/build/.lldbinit.in index bf43fe9cffc9..b9d22930c9b0 100644 --- a/build/.lldbinit.in +++ b/build/.lldbinit.in @@ -8,9 +8,7 @@ script topsrcdir = "@topsrcdir@"; lldb.debugger.HandleCommand("command source -s settings set symbols.enable-external-lookup true # This is where libxul.so and libmozglue.so are produced in full builds. -settings append target.exec-search-paths @topobjdir@/toolkit/library/build -settings append target.exec-search-paths @topobjdir@/mozglue/build -settings append target.exec-search-paths @topobjdir@/security +settings append target.exec-search-paths @topobjdir@/dist/bin # This is where artifact builds unpacks "crashreporter-symbols-full" uncompressed ELF debug symbols. settings append target.debug-file-search-paths @topobjdir@/dist/crashreporter-symbols diff --git a/mobile/android/docs/geckoview/contributor/native-debugging.rst b/mobile/android/docs/geckoview/contributor/native-debugging.rst index 774fe35cceb4..c745e4eddccc 100644 --- a/mobile/android/docs/geckoview/contributor/native-debugging.rst +++ b/mobile/android/docs/geckoview/contributor/native-debugging.rst @@ -64,15 +64,12 @@ exist) and add the following lines. The first line tells LLDB to enable inline breakpoints - Android Studio will need this if you want to use visual breakpoints. -The remaining lines tell LLDB where to go to find the symbols for -debugging. +The next line tells LLDB where to go to find the symbols for debugging. .. code:: bash settings set target.inline-breakpoint-strategy always - settings append target.exec-search-paths /objdir-android-opt/toolkit/library/build - settings append target.exec-search-paths /objdir-android-opt/mozglue/build - settings append target.exec-search-paths /objdir-android-opt/security + settings append target.exec-search-paths /objdir-android-opt/dist/bin Set up Android Studio to perform native debugging. ================================================== @@ -89,8 +86,8 @@ Set up Android Studio to perform native debugging. that configures Gecko and child processes in order to attach debuggers at the correct times. 4. Under ``Symbol Directories``, add a new path pointing to - ``/objdir-android-opt/toolkit/library/build``, the same path - that you entered into your ``.lldbinit`` file. + ``/objdir-android-opt/dist/bin``, the same path that you + entered into your ``.lldbinit`` file. 5. Select ``Apply`` and ``OK`` to close the window. Debug Native code in Android Studio