Using the rr debugging tool to debug Postgres
rr is a tool that makes gdb much more useful by supporting recording
and replaying of the program being debugged. I highly recommend trying
rr if you're somebody that regularly uses gdb to debug Postgres. rr
implements a gdbserver under the hood, so it's very easy to start
using once you're already familiar with gdb.
I have written a Wiki page on how to use rr to record and replay
Postgres executions:
--
Peter Geoghegan
On Mon, 6 Apr 2020 10:38:31 -0700
Peter Geoghegan <pg@bowt.ie> wrote:
rr is a tool that makes gdb much more useful by supporting recording
and replaying of the program being debugged. I highly recommend trying
rr if you're somebody that regularly uses gdb to debug Postgres. rr
implements a gdbserver under the hood, so it's very easy to start
using once you're already familiar with gdb.I have written a Wiki page on how to use rr to record and replay
Postgres executions:
Thank you Peter!