I am trying to use lldb for c++ debugging and I want to halt if an exception is thrown, like gdb's catch throw
, and I cannot find an equivalent in the lldb documentation.
Use break set -E c++
to break on all exceptions and break set -F std::range_error
to break on a specific exception.