42 (Paris)
LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler.
The purpose of this project is to discover some debugging techniques with LLDB.
- lldb
To customize your lldb prompt, place the .lldbinit
file in the $HOME
dir:
$ cp 00-init/.lldbinit $HOME
Execute the run.sh
script and from the lldb prompt run:
(lldb) command script import 01-usage/init.py
This action will bind the test/source.cpp
file to the lldb debugger.
To load more scripts inside the lldb prompt, re-execute for each file:
(lldb) command script import [path/file.py]
Happy hacking!
For more info, check the official doc.
This work is published under the terms of 42 Unlicense.