This repository contains helper scripts for lldb debugging.
Automatically configure processes to not stop on SIGSEGV. Similar to the gdb command handle SIGSEGV noprint
, but the lldb equivalent process handle --stop false SIGSEGV
cannot be executed until a process has been loaded. Hence the need for a helper script.
Add a line similar to this to your ~/.lldbinit
file:
command script import ~/git/lldbscripts/ignore_signals.py
To add other signals to the list, add a line similar to this one in ignore_signals.py:
signals.SetShouldStop(11, False)
The number to use can be found for example in signal.h.