summaryrefslogtreecommitdiff
path: root/chromium/docs/lldbinit.md
blob: 7dc4e7e20b343e0cb677d103a72298d6f8f291df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Usage of tools/lldb/lldbinit.py

Usage of Chromium's [lldbinit.py](../tools/lldb/lldbinit.py) is recommended when
debugging with lldb. This is necessary for source-level debugging when
`strip_absolute_paths_from_debug_symbols` is enabled [this is the default].

To use, add the following to your `~/.lldbinit`

```
# So that lldbinit.py takes precedence.
script sys.path[:0] = ['<.../path/to/chromium/src/tools/lldb>']
script import lldbinit
```