dash/contrib/auto_gdb/dash_dbg.sh

7 lines
216 B
Bash
Raw Normal View History

#!/bin/bash
# use testnet settings, if you need mainnet, use ~/.dashcore/dashd.pid file instead
2020-07-29 15:24:36 +02:00
export LC_ALL=C
dash_pid=$(<~/.dashcore/testnet3/dashd.pid)
sudo gdb -batch -ex "source debug.gdb" dashd ${dash_pid}