Debian Codegraph @

3rdparty/catch2/extras/gdbinit

raw
1 #
2 # This file provides a way to skip stepping into Catch code when debugging with gdb.
3 #
4 # With the gdb "skip" command you can tell gdb to skip files or functions during debugging.
5 # see https://xaizek.github.io/2016-05-26/skipping-standard-library-in-gdb/ for an example
6 #
7 # Basically the following line tells gdb to skip all functions containing the
8 # regexp "Catch", which matches the complete Catch namespace.
9 # If you want to skip just some parts of the Catch code you can modify the
10 # regexp accordingly.
11 #
12 # If you want to permanently skip stepping into Catch code copy the following
13 # line into your ~/.gdbinit file
14 #
15
16 skip -rfu Catch