mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 01:03:30 +01:00
3dd523bdf5
The commands provided have to be executed in the current gdb/lldb session or copied into the users ~/.gdbinit ~/.lldbinit files to permanently skip debugging Catch code. Fixes #904
16 lines
624 B
Plaintext
16 lines
624 B
Plaintext
#
|
|
# This file provides a way to skip stepping into Catch code when debugging with lldb.
|
|
#
|
|
# With the setting "target.process.thread.step-avoid-regexp" you can tell lldb
|
|
# to skip functions matching the regexp
|
|
#
|
|
# Basically the following line tells lldb to skip all functions containing the
|
|
# regexp "Catch", which matches the complete Catch namespace.
|
|
# If you want to skip just some parts of the Catch code you can modify the
|
|
# regexp accordingly.
|
|
#
|
|
# If you want to permanently skip stepping into Catch code copy the following
|
|
# line into your ~/.lldbinit file
|
|
#
|
|
|
|
settings set target.process.thread.step-avoid-regexp Catch |