gecko-dev/build/.lldbinit.in
Jamie Nicol 49e398ebff Bug 1897179 - Update GeckoView native debugging docs with new symbols search dir. r=geckoview-reviewers,nalexander,ohall
The location of the built libraries was changed by bug 1459764.

Additionally update the search paths in the .lldbinit file that gets
put in the objdir during build.

Differential Revision: https://phabricator.services.mozilla.com/D210667
2024-05-17 10:36:48 +00:00

20 lines
902 B
Plaintext

# This must be the first Python variable set in this file
script ignore__see_bug_1605268 = True
#filter substitution
script topsrcdir = "@topsrcdir@"; lldb.debugger.HandleCommand("command source -s true '%s'" % os.path.join(topsrcdir, ".lldbinit"))
#ifdef MOZ_WIDGET_ANDROID
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@/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
# These are specific paths encoded into Mozilla's automation outputs.
settings append target.source-map /builds/worker/workspace/build/src/obj-firefox @topobjdir@
settings append target.source-map /builds/worker/workspace/build/src @topsrcdir@
#endif